From: David D. K. <ddk...@ki...> - 2005-07-05 12:00:16
|
I'm not sure if Ant is supported as the build mechanism anymore. Use Maven instead. http://maven.apache.org/ http://htmlunit.sourceforge.net/buildingFromCvs.html Dave On Jul 5, 2005, at 2:32 AM, Gael Harbonnier wrote: > Hi, > > I downloaded the lastest version from CVS and I try to compile it > with ant. > I've got 4 errors. I use jdk 1.4.2_08 and ant 1.6.3 can you help me ? > > Gael > > > > Buildfile: build.xml > > clean: > [delete] Deleting directory C:\Documents and Settings\GHARBONNIER > \Mes documen > ts\workspace\htmlunitCVS\ant-target > > maketarget: > [mkdir] Created dir: C:\Documents and Settings\GHARBONNIER\Mes > documents\wor > kspace\htmlunitCVS\ant-target\classes > [mkdir] Created dir: C:\Documents and Settings\GHARBONNIER\Mes > documents\wor > kspace\htmlunitCVS\ant-target\test-classes > > compile: > [javac] Compiling 210 source files to C:\Documents and Settings > \GHARBONNIER\ > Mes documents\workspace\htmlunitCVS\ant-target\classes > [javac] C:\Documents and Settings\GHARBONNIER\Mes documents > \workspace\htmlun > itCVS\src\java\com\gargoylesoftware\htmlunit\javascript > \ElementArray.java:288: e > xception org.jaxen.saxpath.SAXPathException is never thrown in body > of correspon > ding try statement > [javac] catch (final SAXPathException e) { > [javac] ^ > [javac] C:\Documents and Settings\GHARBONNIER\Mes documents > \workspace\htmlun > itCVS\src\java\com\gargoylesoftware\htmlunit\javascript > \ElementArray.java:285: u > nreported exception org.saxpath.SAXPathException; must be caught or > declared to > be thrown > [javac] final XPath xpathName = > currentArray.xpath_.getNavigator > ().parseXPath(xpathExpr); > [javac] > ^ > [javac] C:\Documents and Settings\GHARBONNIER\Mes documents > \workspace\htmlun > itCVS\src\java\com\gargoylesoftware\htmlunit\javascript > \ElementArray.java:358: e > xception org.jaxen.saxpath.SAXPathException is never thrown in body > of correspon > ding try statement > [javac] catch (final SAXPathException e) { > [javac] ^ > [javac] C:\Documents and Settings\GHARBONNIER\Mes documents > \workspace\htmlun > itCVS\src\java\com\gargoylesoftware\htmlunit\javascript > \ElementArray.java:356: u > nreported exception org.saxpath.SAXPathException; must be caught or > declared to > be thrown > [javac] array.init(node_, xpath_.getNavigator > ().parseXPath(newXP > athExpr)); > > [javac] > ^ > [javac] 4 errors > > BUILD FAILED > C:\Documents and Settings\GHARBONNIER\Mes documents\workspace > \htmlunitCVS\build. > xml:58: Compile failed; see the compiler error output for details. > > Total time: 10 seconds > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Htmlunit-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlunit-user > |