Project

General

Profile

Bug #5115

enable system properties setting by updating kepler.sh or kepler.bat

Added by jianwu jianwu almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
build system
Target version:
Start date:
07/30/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5115

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.

History

#1 Updated by jianwu jianwu almost 9 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".

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 5115

Also available in: Atom PDF