ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Burton <bi...@progress.com>
Subject Re: DO NOT REPLY [Bug 15473] New: - Use of nested jvmargs not explicit
Date Wed, 18 Dec 2002 06:20:28 GMT
I can't connect to bugzilla to update.

See below ...

bugzilla@apache.org wrote:
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15473>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
> INSERTED IN THE BUG DATABASE.
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15473
> 
> Use of nested jvmargs not explicit
> 
>            Summary: Use of nested jvmargs not explicit
>            Product: Ant
>            Version: 1.4.1
>           Platform: Sun
>         OS/Version: Other
>             Status: NEW
>           Severity: Major
>           Priority: Other
>          Component: Documentation
>         AssignedTo: ant-dev@jakarta.apache.org
>         ReportedBy: eric.armstrong@sun.com
> 
> 
> In the ant <java> task, I need to specify the equivalent of
> the command line arguments
>   -Dhttp.proxyHost=webcache.sfbay.sun.com          \
>   -Dhttp.proxyPort=8080                            \
> 
> I've tried 
>    <jvmarg value="-Dhttp.proxyHost=webcache.sfbay.sun.com,
>                   -Dhttp.proxyPort=8080" />
> and
>    <jvmarg value="Dhttp.proxyHost=webcache.sfbay.sun.com,
>                   Dhttp.proxyPort=8080" />
> 
> Neither seems to work, and the manual is quiet on the subject.

Not entirely quiet.  "Use nested <sysproperty> elements to specify 
system properties required by the class. "

Maybe the documentation for the <sysproperty> could stand same 
clarification.  This same question came up a few days ago so it would 
appear there's room for improvement.

Below is a modified description.  I added the second sentence which 
hopefully clarifies this:

Use nested <sysproperty> elements to specify system properties required 
by the class.  Each element is equivalent to specifying a -D command 
line option to the VM.  These properties will be made available to the 
VM during the execution of the class (either ANT's VM or the forked VM). 
  The attributes for this element are the same as for environment variables.

-Bill


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message