I would like to create the properties file during the app installation. I used the following code, and it was working good but I have other issue. As far as I understand by default the properties file path location is relative i.e. same location as the java launcher 'execname.properties'. My problem looks like if I used the below code then the properties file location hard-coded in launcher, as in <file> property i.e. full path, so I cannot move my binary to other folder as it still search properties file in old location.
What is a best way to create properties during the the app installation but to keep the property file path /location be relative?
Please sign in to leave a comment.