Raised as Jelly issue 9 on http://jira.werken.com
--
dIon Gillard, Multitask Consulting
Work:      http://www.multitask.com.au
Developers: http://adslgateway.multitask.com.au/developers


Aslak Helles�y <[EMAIL PROTECTED]> wrote on 02/10/2002 11:26:33 AM:

> I forgot to mention I'm using Maven from CVS today.
> 
> Aslak
> 
> > -----Original Message-----
> > From: Aslak Helles�y [mailto:[EMAIL PROTECTED]]
> > Sent: 2. oktober 2002 02:09
> > To: [EMAIL PROTECTED]
> > Subject: Maven ignoring custom ant task's sub-elements
> >
> >
> > Hi!
> >
> > I have written a custom Ant task that I'd like to invoke from Maven.
> > The task has a nested element implemented as a addDtdParser(DTD
> > dtd) method.
> > When I try to invoke the task from a Maven goal, the nested elements 
isn't
> > recognised, and therefore,
> > the addDtdParser() method is never executed.
> >
> > I have even tried to put bogus sub elements under <xgg> like
> > <bogus/>, but I
> > don't even get an error message.
> >
> > The task itself executes (verified with som logging statements in
> > XggTask.execute().
> >
> > Any clues?
> >
> >    <goal name="xdoclet:xgg">
> >       <taskdef
> >          name="xgg"
> >          classname="xgg.ant.XggTask"
> >       >
> >          <classpath>
> >             <pathelement
> > path="${maven.repo.local}/xgg/jars/xgg-1.0-alpha-dev.jar"/>
> >          </classpath>
> >       </taskdef>
> >
> >       <xgg>
> >          <dtdParser/>
> >       </xgg>
> >    </goal>
> >
> > Thanks,
> > Aslak
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-maven-user-
> [EMAIL PROTECTED]>
> 


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

Reply via email to