From: Gael H. <gae...@ho...> - 2005-07-05 07:33:03
|
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 |