Re: Bundling Ant Tasks

KM <[email protected]> Fri, 19 Aug 2022 12:04:28 +0000 (UTC)
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <[email protected]>
You should be able to set the properties in the calling ant script or in yo=
ur environment file using variables.=C2=A0 Unfortunately it's been a while =
since I used Ant and can't remember exactly.=C2=A0 =C2=A0If they are values=
 that don't change set them directly, otherwise the env variables or proper=
ties in a file.=C2=A0

dependencies can be hard coded as well, from the Ant script calling the new=
 task defs.

KM

On Friday, August 19, 2022 at 01:40:19 AM EDT, Hiran Chaudhuri <hiran.chaud=
[email protected]> wrote:=20





Hello there.

I successfully created several custom Ant Tasks myself, thanks to the
fine documentation in https://ant.apache.org/manual/developlist.html

Now when I want to use these tasks, I always have to use taskdef
elements in all my scripts and always remember exact dependencies
(classpath) or the class names of the tasks.

From other libraries I have seen there are things like property or XML
files bundled with the tasks that can host such information - but they
seem to be an undocumented feature?

How would I apply them correctly?

Hiran


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]