Ant example has been tested with Ant 1.7 via command line. I'm not sure if and what issues would arise with other versions, either command line or embedded.
I would suggest you run it first with command line ant and then work your way to other running environments. Ultimately, all is required to construct the appropriate classpath. If you run the build.xml setup target the jars will be copied to target/lib. If you point your classpath to that directory you should be fine. Cheers On 09/09/2010 18:19, Victor Moura wrote: > Hi Mauro, > > I got the examples from the svn, but when executing the build.xml I'm > getting the following error: > > ...src\examples\trader\build.xml:9: Problem: failed to create task or > type antlib:org.apache.maven.artifact.ant:pom > where line 9 is: "<artifact:pom id="pom" file="pom.xml" />" > > Now... I don't have Ant installed, but I added the > maven-ant-tasks-2.1.1.jar to the Eclipse Ant folder... > Should it work? > > On Thu, Sep 9, 2010 at 7:57 AM, Mauro Talevi <[email protected]> > wrote: >> Hi Victor, >> >> the trader Ant example has a fully functional Ant build. Maven is >> only used to pull the dependencies into target/lib. >> >> Cheers >> >> On 08/09/2010 16:24, Victor Moura wrote: >>> Hi, >>> >>> I'm currently using JBehave 2.5.9 >>> Is there any documentation or preferably an example of an Ant script >>> for running scenarios? >>> I only found an example on Ant and Maven together in the Trader example. >>> >>> I don't have much expertise in ant and every code available would be >>> very helpful. >>> >>> Thanks >>> >> >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> >> > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
