I am writing a maven plugin (a cactus maven plugin actually). I should have mentioned that...
Thanks -Vincent > -----Original Message----- > From: James Strachan [mailto:[EMAIL PROTECTED]] > 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" <[EMAIL PROTECTED]> > To: "'Jakarta Commons Developers List'" <[EMAIL PROTECTED]> > 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:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > __________________________________________________ > > 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- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:commons-dev- > [EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
