Hi Ed,
It should be fairly easy to implement use of environment variables
in compiler and vm arguments.
I'll put this on my list of things to do and try to get to it
soon.
- Paul
Ed Soniat writes:
> Paul:
>
> Here is my attempt at carifying my request.
>
> This is what the class path variable looks like (note the environment
> variable PRJ_HOME. This will work for all the branches.
>
> '(jde-global-classpath (quote ("${PRJ_HOME}/classes"
> "${PRJ_HOME}/lib/activation.jar" "${PRJ_HOME}/lib/antlr-runtime.jar"
> "${PRJ_HOME}/lib/wbsf.jar" "${PRJ_HOME}/lib/dom4j.jar"
> "${PRJ_HOME}/lib/EXML.jar" "${PRJ_HOME}/lib/jaas.jar"
> "${PRJ_HOME}/lib/java40.jar" "${PRJ_HOME}/lib/java-getopt-1.0.8.jar"
> "${PRJ_HOME}/lib/jce1_2-do.jar" "${PRJ_HOME}/lib/jdom.jar"
> "${PRJ_HOME}/lib/jms.jar" "${PRJ_HOME}/lib/jndi.jar"
> "${PRJ_HOME}/lib/js.jar" "${PRJ_HOME}/lib/jsse.jar"
> "${PRJ_HOME}/lib/junit.jar" "${PRJ_HOME}/lib/log4j.jar"
> "${PRJ_HOME}/lib/mail.jar" "${PRJ_HOME}/lib/mysql.jar"
> "${PRJ_HOME}/lib/pop3.jar" "${PRJ_HOME}/lib/securitystub.jar"
> "${PRJ_HOME}/lib/servlet.jar" "${PRJ_HOME}/lib/smqclient.jar"
> "${PRJ_HOME}/lib/smtp.jar" "${PRJ_HOME}/lib/soap.jar"
> "${PRJ_HOME}/lib/werken.xpath.jar" "${PRJ_HOME}/lib/xalan.jar"
> "${PRJ_HOME}/lib/xalan2.jar" "${PRJ_HOME}/lib/xerces.jar"
> "${PRJ_HOME}/lib/xmisoap.jar" "${PRJ_HOME}/lib/xtags.jar"
> "${PRJ_HOME}/lib/tweb.zip ")))
>
> In each branch I have to have a prj.el with one of these. When I start
> a new branch I have to create this.
> Some times it is best to delete a branch and start over (checkout from
> CVS) and this file must be preserved.
>
> '(jde-run-option-vm-args (quote ("-Xdebug" "-Dprj.database.local=true"
> "-Dprj.resources=file:/home/esoniat/myco/dev-trunk/prjglobal/http/"
> "-Djava.security.policy=/home/esoniat/myco/dev-trunk/prjglobal/security/
> policy.all" "-Dprj.home=/home/esoniat/myco/dev-trunk/prjglobal"
> "-Dlog4j.configuration=file:/home/esoniat/myco/dev-trunk/prjglobal/http/
> resources/log/PrjLoggerConfig.xml"
> "-Djava.security.auth.login.config=file:/home/esoniat/myco/dev-trunk/prj
> global/http/resources/login/login.config"
> "-Djava.rmi.server.codebase=file:/home/esoniat/myco/dev-trunk/prjglobal/
> classes/" "-Dprj.logFile="
> "-Djess.scripts.url=file:/home/esoniat/myco/dev-trunk/prjglobal/http/res
> ources/opQualifier/scripts/" "-Xms64m" "-Xmx256m"
> "-Dprj.salesfloor.local" "-Dprj.auth.local")))
>
> If it could use the environment variable as above and look like this
> with PRJ_HOME, this would not be necessary.
>
> '(jde-run-option-vm-args (quote ("-Xdebug" "-Dprj.database.local=true"
> "-Dprj.resources=file:${PRJ_HOME}/prjglobal/http/"
> "-Djava.security.policy=${PRJ_HOME}/prjglobal/security/policy.all"
> "-Dprj.home=${PRJ_HOME}/prjglobal"
> "-Dlog4j.configuration=file:${PRJ_HOME}/prjglobal/http/resources/log/Prj
> LoggerConfig.xml"
> "-Djava.security.auth.login.config=file:${PRJ_HOME}/prjglobal/http/resou
> rces/login/login.config"
> "-Djava.rmi.server.codebase=file:${PRJ_HOME}/prjglobal/classes/"
> "-Dprj.logFile="
> "-Djess.scripts.url=file:${PRJ_HOME}/prjglobal/http/resources/opQualifie
> r/scripts/" "-Xms64m" "-Xmx256m" "-Dprj.salesfloor.local"
> "-Dprj.auth.local")))
>
>
> This goes for the other options as well like the jde-db-option-vm-args
> and probably others (most) as well.
>
> If this isnt' clear I will be more than willing to try again or even
> call
> Ed Soniat
>