Lammeki Diengdoh said...Hi Tim,
My properties file is as follows
I can't form jython code to connect or work only on either of the application at one point of time.
Need your expertise in this regard.
I would have two separate properties files. They are independent. I see no reason to combine them.
Lammeki Diengdoh said...Two properties files is getting my job done easily.
But the requirement is to have only one properties file. Because I'm required to have a standard/generic jython code that uses only one property file.
In that case I would probably use a YAML file for the properties and read the values into Python doing something like this.
Anonymous said...Hi Tim,
Just want to share. I workaround something like this.
Created a sh wrapper script.
Read the property, cut the desired section into a temporary file. Read the tmp file as the property file instead.
./start_stop_wrapper.sh stop domain1
./start_stop_wrapper.sh stop domain2
./start_stop_wrapper.sh start domain1
./start_stop_wrapper.sh start domain2
DO NOT ask technical questions here! They will be deleted!
These comments should relate to the contents of a specific article. Constructive criticism is good. Advertising and offensive comments are bad and will be deleted!
If you post personal information (name, email address etc.) you are agreeing to them being stored and displayed. Feel free to remain anonymous.