Menu

Problem with property file

Help
2008-08-22
2013-05-20
  • Jeremic Zoran

    Jeremic Zoran - 2008-08-22

    Hi,

    I'm using FatJar from eclipse to create jar file that is used by PHP application that resides on the same PC. Jar file has property file inside. It works fine, but I need to make Web application users option to change settings in property file.

    I believe that there are two possible solution. To use existing property file and change it. But I don't know if it is possible to change archive content without repacking it.
    The other solution is to put property file somewhere outside of the archive and provide access to it both from Web application and Jar file. In this way I'm not sure how to access this file if it resides outside of the archive.

    Can you help me about this?
    Zoran

     
    • Ferenc Hechler

      Ferenc Hechler - 2008-08-23

      Hello Zoran,
      it is not possible to write back properties to the JAR while it is opened.
      feri

       

Log in to post a comment.