Bug #5115
closedenable system properties setting by updating kepler.sh or kepler.bat
0%
Description
Originally reported by Chris Weed by asking how to launch kepler 2.0 with proxy settings(http://mercury.nceas.ucsb.edu/kepler/pipermail/kepler-users/2010-July/002269.html)
After digging a while, I found that all property setting by updating kepler.sh or kepler.bat can not take affect. From org.kepler.build.Run class, you can see it started another JVM to start org.kepler.Kepler class without accepting properties from org.kepler.build.runner.Kepler class. I think it is why the properties Chris set works for org.kepler.Kepler, but not org.kepler.build.runner.Kepler.
Updated by jianwu jianwu over 14 years ago
It is fixed at version 25216. Now users can set properties by updating kepler.sh or kepler.bat by adding '-DProperty1=Value1' after runner.Kepler class. An example is java -classpath build-area\lib\ant.jar;kepler.jar org.kepler.build.runner.Kepler -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 "-Dhttp.nonProxyHosts=host1|host2" "%1" "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9".