commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: [Jelly] Running custom Ant task problem
Date Mon, 07 Oct 2002 14:20:25 GMT
I am writing a maven plugin (a cactus maven plugin actually). I should
have mentioned that...

Thanks
-Vincent

> -----Original Message-----
> From: James Strachan [mailto:james_strachan@yahoo.co.uk]
> Sent: 07 October 2002 15:14
> To: Jakarta Commons Developers List
> Subject: Re: [Jelly] Running custom Ant task problem
> 
> Just so I can get a handle on what you're doing, are you starting with
> Maven, Jelly or Ant? The stack trace looks mostly Ant. Are you running
a
> Jelly script from (say the command line) which then includes another
Jelly
> script that then tries to create a custom Ant task?
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> ----- Original Message -----
> From: "Vincent Massol" <vmassol@octo.com>
> To: "'Jakarta Commons Developers List'"
<commons-dev@jakarta.apache.org>
> Sent: Monday, October 07, 2002 3:04 PM
> Subject: [Jelly] Running custom Ant task problem
> 
> 
> > Hi,
> >
> > I would like to run an Ant custom task in Jelly but there are some
> > problems. I get:
> >
> >     [runservertests] [ERROR] java.io.FileNotFoundException:
> > E:\Vma\Projets\Encours\junitbook\junitbo
> > ok\chapter09\build.xml (The system cannot find the file specified)
> >     [runservertests] [ERROR]    at
> > org.apache.tools.ant.helper.ProjectHelperImpl.parse(ProjectHelper
> > Impl.java:178)
> >     [runservertests] [ERROR]    at
> > org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper
> > .java:117)
> >     [runservertests] [ERROR]    at
> > org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:353)
> >     [runservertests] [ERROR]    at
> > org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:
> > 143)
> >     [runservertests] [ERROR]    at
> > org.apache.cactus.ant.StartServerHelper.run(Unknown Source)
> >
> > The runservertests Ant task uses the Ant callTarget() method. It
seems
> > that Ant then calls configureProject() and tries to initialize and
fails
> > when it does not find a build.xml file ...
> >
> > My jelly script is:
> >
> >   <taskdef name="runservertests"
> >     classname="org.apache.cactus.ant.RunServerTestsTask">
> >     <classpath>
> >       <pathelement
> > location="${plugin.getDependencyPath('cactus:cactus-ant')}"/>
> >     </classpath>
> >   </taskdef>
> >
> >     <runservertests testURL="... "
> >       startTarget="cactus:tomcat-4x-start"
> >       stopTarget="cactus:tomcat-4x-stop"
> >       testTarget="cactus:test"/>
> >
> > One last piece of information: I'm calling the runservertests task
from
> > an imported jelly script (i.e. the main jelly script imports another
> > script). Would that be an issue?
> >
> > Thanks
> > -Vincent
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:commons-dev-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:commons-dev-help@jakarta.apache.org>
> >
> 
> __________________________________________________
> 
> Do You Yahoo!?
> 
> Everything you'll ever need on one web page
> 
> from News and Sport to Email and Music Charts
> 
> http://uk.my.yahoo.com
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:commons-dev-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-dev-
> help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message