You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by LAMY Olivier <LA...@accor-hotels.com> on 2003/06/23 14:34:08 UTC

Using taskdef

Hi all,
I would like to use something as :

<project default="java:jar"
xmlns:j="jelly:core"
xmlns:ant="jelly:ant">
<!-- task definition tomcat -->
<ant:taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask"/>

But the class org.apache.catalina.ant.DeployTask is not fund .
How to do this ?
Adding a dependency ?
But the catalina-ant.jat does not exist in the maven repository ?
Olivier

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Using taskdef

Posted by dion gillard <di...@multitask.com.au>.
LAMY Olivier wrote:

> Hi all,
> I would like to use something as :
> 
> <project default="java:jar"
> xmlns:j="jelly:core"
> xmlns:ant="jelly:ant">
> <!-- task definition tomcat -->
> <ant:taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask"/>
> 
> But the class org.apache.catalina.ant.DeployTask is not fund .
> How to do this ?
> Adding a dependency ?
Yes. with the classloader property set to root.

> But the catalina-ant.jat does not exist in the maven repository ?
You have a local repository for just that sort of scenario.

-- 
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/
Work:      http://www.multitask.com.au



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org