ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wascally Wabbit" <>
Subject Re: Has anyone written an ant task by extending Task
Date Wed, 24 Sep 2003 05:50:47 GMT
Try "getProject().setNewProperty(THEPROPERTY,THEVALUE);"
where THEPROPERTY is the property's name and THEVALUE
is the property's value. This sets a write-once, read-many
project property (which is what you usually want).

- The Wabbit

----- Original Message -----
From: "Malik, Yousuff M" <>
Date: Tue, 23 Sep 2003 16:58:48 -0500
To: "Ant Users List" <>
Subject: Has anyone written an ant task by extending  Task

> I am trying to write a custom ant task by extending Task. 
> My task needs to read a string, parse it and save the value in a property.
> I have completed the reading string and the parsing part. I don't know how to set the
value in a property. Can anyone please help me  with this

Sign-up for your own personalized E-mail at has over 400,000 jobs. Be smarter about your job search

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message