You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Raja Nagendra Kumar <Na...@tejasoft.com> on 2009/04/02 16:26:51 UTC
Project Specific Classpath to customise ant
Hi,
Is there a way to tell core ant to looking into project specific class path
, in case one is definable (with the project xml defination i.e in build.xml
file rather than ant -lib or environment classpath etc) for some of the
custom classes which ant supports by way of properties.
e.g each project could provide its own class to hook to the excution by way
of setting a project specific class to the property ant.executor.class
The probable approach may exist already are:
1. Some thing like if I define a ant propertly say ant.project.cp=xyz etc.
2. for every customisable class, is there a way to tell ant the path it
should look for
<executor class="xyz.class">
<classpath value="project jars etc"
</executor>
Some think like the way we define the jars for taskdef.
Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
--
View this message in context: http://www.nabble.com/Project-Specific-Classpath-to-customise-ant-tp22849190p22849190.html
Sent from the Ant - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
AW: Project Specific Classpath to customise ant
Posted by Ja...@rzf.fin-nrw.de.
> Is there a way to tell core ant to looking into project
> specific class path
> , in case one is definable (with the project xml defination
> i.e in build.xml
> file rather than ant -lib or environment classpath etc) for
> some of the
> custom classes which ant supports by way of properties.
>
> e.g each project could provide its own class to hook to the
> excution by way
> of setting a project specific class to the property ant.executor.class
>
> The probable approach may exist already are:
>
> 1. Some thing like if I define a ant propertly say
> ant.project.cp=xyz etc.
> 2. for every customisable class, is there a way to tell ant
> the path it
> should look for
> <executor class="xyz.class">
> <classpath value="project jars etc"
> </executor>
>
> Some thing like the way we define the jars for taskdef.
No. The executor must be present before the build can be started -
running
the build is the executors job ;)
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org