You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Nau, Michael" <Mi...@pyxis.com> on 2003/01/20 23:26:17 UTC
I don't see a classpath parameter for the mail task - is there a way for
me to add activation.jar and mail.jar to a classpath so I can use the
mail task without having to copy the files to my ant/lib dir?
In our build environment we have everything we might need in a central
repository that our component ant scripts use to run. So for example,
all our custom tasks are packaged into a custom-tasks.jar file. Then if
a component's ant scripts needs any of these tasks it specifies that it
depends on custom-tasks.jar and it is pulled down whenever those tasks
are used. The idea being that any component can be built/manipulated
without having to install anything special (other than ant and the jdk.
I would like to do something similar for the ant task, but without it
supporting a separate classpath - I'm not sure how?
Any ideas?
Thanks,
Mike.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re:
Posted by Frot <fr...@lycos.at>.
Does this do the trick ??
<path id="classpath">
<fileset dir="MY_VERY_SPECIAL_NON_CLASSPATH_PATH_HERE/lib">
<include name="**/*.jar"/>
</fileset>
</path>
Fred
*********** REPLY SEPARATOR ***********
On 20/01/2003 at 14:26 Nau, Michael wrote:
>I don't see a classpath parameter for the mail task - is there a way for
>me to add activation.jar and mail.jar to a classpath so I can use the
>mail task without having to copy the files to my ant/lib dir?
>
>In our build environment we have everything we might need in a central
>repository that our component ant scripts use to run. So for example,
>all our custom tasks are packaged into a custom-tasks.jar file. Then if
>a component's ant scripts needs any of these tasks it specifies that it
>depends on custom-tasks.jar and it is pulled down whenever those tasks
>are used. The idea being that any component can be built/manipulated
>without having to install anything special (other than ant and the jdk
>
>I would like to do something similar for the ant task, but without it
>supporting a separate classpath - I'm not sure how?
>
>Any ideas?
>
>Thanks,
>Mike
>
>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>