thanks, but my problem is not the call itself.
The ant target of build.xml is successfully launched.
Problem is that my custom task which is loaded inside the ant goal, cannot be 
found. Although the corresponding class is in both ant/lib and maven/lib.

Anymore idea?



Am Mittwoch, 23. Februar 2005 20:37 schrieb Anne-Simone:
> I am successfully using a custom ant task in my build, but I don't use
> an ant build.xml.  I have <ant:taskdef name="foo" ...> directly in my
> maven goal.  I can then use <ant:foo ... > just as I would in an ant
> build.xml.
>
>
> On Wed, 23 Feb 2005 16:57:42 +0100, Marc Lustig
>
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I'm having some trouble running an ant-task which launches a
> > custom-ant-task (class).
> >
> > In my maven.xml I have specified the ant-call:
> > <ant:ant dir="${basedir}" antfile="build.xml" target="mytarget" />
> >
> > I'm getting error message stating that the custom ant-task could not be
> > found. This class is in a jar that is placed in both ant/lib and
> > maven/lib!
> >
> > running 'ant mytarget' works smoothly!
> >
> > Anybody having an idea why the jar is not being loaded when the target is
> > launched from maven?
> >
> > Regards
> >         Marc
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 

Mit freundlichen Grüßen aus Mainz

Information Desire Software GmbH
Marc Lustig

----------------------------------------------------------------
Information Desire, Hersteller von "Projectile", der webbasierten
Projektmanagementlösung für Dienstleister

[ TEL: 0 61 31 / 6 27 68 - 0 ] [ FAX: 0 61 31 / 6 27 68 - 68 ]
[ WWW:   www.infodesire.com ]
[ EMAIL: [EMAIL PROTECTED] ]
----------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to