You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Nico Seessle <Ni...@epost.de> on 2001/01/20 21:12:57 UTC

[Bug 495] - Put properties in the System properties

Submitter wishes to have access to all properties from a script. Script.java
only adds properties to the script-context if the name is a valid
java-identifier. Is this a requirement of BSF? If yes the bug should be
closed since putting all properties in System.properties doesn't seem to be
a good solution. If no we may change it :-)

Nico



Re: [Bug 495] - Put properties in the System properties

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Nico,

Since the project object is available (if named) to the script, the
properties can be fetched by name from the project object, so no need to
push into System.properties. I'm closing to that effect.

Conor

----- Original Message -----
From: "Nico Seessle" <Ni...@epost.de>
To: <an...@jakarta.apache.org>
Sent: Sunday, January 21, 2001 7:12 AM
Subject: [Bug 495] - Put properties in the System properties


> Submitter wishes to have access to all properties from a script.
Script.java
> only adds properties to the script-context if the name is a valid
> java-identifier. Is this a requirement of BSF? If yes the bug should be
> closed since putting all properties in System.properties doesn't seem to
be
> a good solution. If no we may change it :-)
>
> Nico
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ant-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: ant-dev-help@jakarta.apache.org
>
>