ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21047] - allow to pass definitions to <script> as nested parameter elements or "inheritall" attribute for properties
Date Tue, 24 Jun 2003 16:00:24 GMT
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=21047>.
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=21047

allow to pass definitions to <script> as nested parameter elements or "inheritall" attribute
for properties

hauser@acm.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|allow to pass definitions to|allow to pass definitions to
                   |<script> as nested parameter|<script> as nested parameter
                   |elements                    |elements or "inheritall"
                   |                            |attribute for properties



------- Additional Comments From hauser@acm.org  2003-06-24 16:00 -------
also, if <script language="jpython" ...

it would be great if it were possible to access properties defined in ant (via
build.xml or -D on the command line) from inside the (jpython) script somehow.

Unfortunately, I couldn't get the below to work.
build.xml:
<<
   <property name="jython.sys.path.lib"
	location="${TestMakerDir}/lib/jython/Lib" />
>>
and the test.a python script:
<<from java.lang import System
jython_syspath_ant = System.getProperty( "jython.sys.path.lib")>>

the property was emtpy/'None'.

For this case an "inheritall" attribute as in
http://ant.apache.org/manual/CoreTasks/antcall.html might be sufficient?

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


Mime
View raw message