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] New: - allow to pass definitions to <script> as nested parameter elements
Date Tue, 24 Jun 2003 14:29:10 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

           Summary: allow to pass definitions to <script> as nested
                    parameter elements
           Product: Ant
           Version: 1.5.3
          Platform: Other
               URL: http://ant.apache.org/manual/OptionalTasks/script.html
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: hauser@acm.org


As per http://fries.pushtotest.com/pipermail/users/2003-June/000772.html, I am
running a jython script out of an ant file.
This works fine as long as I don't to add the statement

import os

to the python script.

The same script works fine when called from the command line with the following
definition:
java.exe -Dpython.home=.\lib\jython ...

It would be great to be able to set evironment variables etc. similarly to the 
<env key="PYTHON_HOME" value="${TestMakerDir/lib/jython}"/ >
as per http://ant.apache.org/manual/CoreTasks/exec.html also for the <script> tag.

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


Mime
View raw message