Hey All,
I wanted to go over my Pointers for configuring same Konakart binary for different environments,
Currently it's required that everything be put into the classes folder and then you have a build or something for each environment.
Here is what we did?
For All, Environment Specific Properties Add the following to tomcat classpath startup on each environment
add a folder containing konakart.properties,konakartadmin.properties, etc.
add a folder containing environment non-specific items CustomValidation.properties,Message.properties etc
(not yet fully verfied)
For the BirtViewer
change web.xml for the viewer servlet
to
<param-value>konakartadmin.properties</param-value>
in the, konakart.rptlibrary use
Where ENV_KONAKART is passed as a -D variable on tomcat startup
var dbPropsFile = "C:/Program Files/" +
java.lang.System.getProperty("ENV_KONAKART") +
"/webapps/konakartadmin/WEB-INF/classes/konakartadmin.properties"