ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Struck <>
Subject script task
Date Tue, 02 Jan 2001 09:22:14 GMT

we are able to use the <script> task at last again.
but could somebody tell me which objects I am able to access from script ?

I've seen, that it's possible to access the project object, but what is
about environments,
properties and so on ?!

is it possible to check variables with <script>, instead of this construct:

 <target name="" unless="">
     <fail message="Error: Missing property" />

 <target name="check_customer.project" unless="customer.project">
    <fail message="Error: Missing property customer.project" />

 <target name="check_customer.psi" unless="customer.psi">
    <fail message="Error: Missing property customer.psi" />

 <target name="create" depends=", check_customer.project,

View raw message