Sorry for the incomplete message. Pls see the javadocs for more. All
are fully commented.
Here are the sources again...
John
-----Original Message-----
From: John.D.Casey [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 3:19 PM
To: ant-user
Subject: RE: Re: random task(s) ;)
AskUser: prompt user for input during build...
AdminAnswerFiles: handles caching of answer files for the above...
AnswerFileManager: cache manager for use with the above...
Ant2: support for ant batching, reverse-propagation of child
environment to parent, etc. (Adapted from original Ant task)...
I copied all the original source into here, so it wouldn't depend
on the Ant task, in case some of the Ant task's
functionality went away in future releases...
IfTask: calls targets dynamically, based on whether a property's value
passes a conditional test (like == somevalue)...
RegexFilter: Just realized this is alot like the JakartaOROMatcher
(probably)...it does regex substitution on properties...
UnsetProperty: pretty straightforward...
JarsProperty: creates a string (for setting to a property value) that
is in path representation, out of a fileset...
Pwd: like the unix command, it returns the directory in which the
current ant file resides...
I realize some of these seem to duplicate other tasks' behaviors, but
one of two things happened to make me develop these:
1. There was no documentation in the user's guide for the other task
(the one this seems to sort of duplicate)
2. The existing task was missing what I felt to be essential options.
Have fun,
John
-----Original Message-----
From: Douglas.Wong [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 3:04 PM
To: ant-user
Subject: Re: random task(s) ;)
Do you have a description of what they do...
John.D.Casey@mail.
sprint.com To:
[EMAIL PROTECTED]
cc:
03/30/01 11:50 AM Subject: random
task(s) ;)
Please respond to
ant-user
I have written several tasks to take care of some of the more unusual
requirements our project requires. I figure someone else may have some
interest in these.
If you can use them, and think they are general-purpose enough, please
let me know, and I'll talk to the guys in ant-dev to see about adding
some of them...
Enjoy.
John
(See attached file: AdminAnswerFiles.java)(See attached file:
AnswerFileManager.java)(See attached file: AskUser.java)(See attached
file:
Ant2.java)(See attached file: IfTask.java)(See attached file:
JarsProperty.java)(See attached file: UnsetProperty.java)(See attached
file: RegexFilter.java)(See attached file: Pwd.java)
AdminAnswerFiles.java
AnswerFileManager.java
Ant2.java
AskUser.java
Pwd.java
JarsProperty.java
IfTask.java
RegexFilter.java
UnsetProperty.java