The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,160 other followers

Archive for July 6th, 2009

Batch file for modifying .properties file in JAR Java ARrchive file

Posted by jpluimers on 2009/07/06

I needed to quickly edit one .properties file in multiple versions of the same JAR file.

So I write the batch-file below, that presumes

  • you have 7-zip installed in the default directory on your system.
  • the batch-file is in the same directory as the .JAR file

The batch file uses the original JAR file SEALS_Server.jar, creates a new JAR file SEALS_Server-logging.jar that contains the file logging.properties having one line with the setting level = INFO.

Read the rest of this entry »

Posted in CommandLine, Development, Java, Software Development | Leave a Comment »

 
%d bloggers like this: