Hi,
I want to know if it is possible to get an ant script to reference 2 different .properties files at once, and if so, how to accomplish this.
Assume that the properties contained within the two .properties files are mutually exclusive, i.e. the same property will not appear twice.
Thanks!
...
To jog everyone's memory, Java has these files with an extension of ".properties", which are basically an ASCII text file full of key-value pairs. The framework has some really easy ways to suck that file into (essentially) a fancy hashmap.
The two big advantages (as I see it) being extreme ease of both hand-editing and reading/writing....
Hi,
I created a .properties file that contains a few simple key = value pairs.
I tried it out from a sample c++ console application, using imported java classes, and I was able to access it, no problem.
Now, I am trying to use it in the same way, from a C++ dll, which is being called by another (unmanaged) c++ project.
For some reason...
Is it possible to modify a .properties file in Tomcat, that is to add properties to it, instead of just reading them?
...
I'm trying to figure out how a rather large Java project works by stepping through it in the debugger on my Windows machine, but for it to get past its initialization routines all the values in multiple .properties files must be correct. Many of these .properties files include lines like:
program.root=file://@program.root.dir@
It woul...