ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wascally Wabbit" <wascallywab...@earthling.net>
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" <Yousuff.M.Malik@erac.com>
Date: Tue, 23 Sep 2003 16:58:48 -0500
To: "Ant Users List" <user@ant.apache.org>
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
> 
[snip]...

-- 
__________________________________________________________
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers


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


Mime
View raw message