6 messages in com.canoo.lists.webtestRe: [Webtest] Building Webtest fails
FromSent OnAttachments
Tomi Mäkinen16 Jan 2008 04:11 
Marc Guillemot16 Jan 2008 04:23 
Tomi Mäkinen18 Jan 2008 02:53 
Robert Bodziony18 Jan 2008 03:57 
Marc Guillemot18 Jan 2008 04:11 
Robert Bodziony18 Jan 2008 05:15 
Subject:Re: [Webtest] Building Webtest fails
From:Robert Bodziony (robe@gmail.com)
Date:01/18/2008 03:57:58 AM
List:com.canoo.lists.webtest

at linux ive got the same issue with latests build robert

2008/1/18, Tomi Mäkinen <tomp@gmail.com>:

Hi,

When i try to build Webtest using webtest.bat, error appears end of build/log/webtest.console.log.xml and it looks like this:

<![CDATA[E:\webtest\webtest\selftests\tests\build.xml:31: The following error occurred while executing this line: java.io.FileNotFoundException: E:\webtest\webtest\selftests\config\WebTest.dtd (The system cannot find the file specified) at org.apache.tools.ant.ProjectHelper.addLocationToBuildException( ProjectHelper.java:539) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:336) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java :275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute (Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java :1216) at org.apache.tools.ant.Project.executeTarget(Project.java :1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets( DefaultExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.Main.runBuild(Main.java :668) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) Caused by: java.io.FileNotFoundException : E:\webtest\webtest\selftests\config\WebTest.dtd (The system cannot find the file specified) at org.apache.tools.ant.helper.ProjectHelper2.parse( ProjectHelper2.java:243) at org.apache.tools.ant.helper.ProjectHelper2.parse ( ProjectHelper2.java:140) at org.apache.tools.ant.ProjectHelper.configureProject( ProjectHelper.java:91) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:334) ... 12 more Caused by: java.io.FileNotFoundException : E:\webtest\webtest\selftests\config\WebTest.dtd (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect( FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream ( FileURLConnection.java:161) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity (Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.startPE(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.skipSeparator(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls (Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse (Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.tools.ant.helper.ProjectHelper2.parse( ProjectHelper2.java:217) ... 15 more --- Nested Exception --- java.io.FileNotFoundException: E:\webtest\webtest\selftests\config\WebTest.dtd (The system cannot find the file specified) at org.apache.tools.ant.helper.ProjectHelper2.parse( ProjectHelper2.java:243) at org.apache.tools.ant.helper.ProjectHelper2.parse( ProjectHelper2.java:140) at org.apache.tools.ant.ProjectHelper.configureProject( ProjectHelper.java:91) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:334) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java :275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks (Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java :1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets ( DefaultExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.Main.runBuild(Main.java:668) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) Caused by: java.io.FileNotFoundException: E:\webtest\webtest\selftests\config\WebTest.dtd (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect ( FileURLConnection.java:70) at sun.net.www.protocol.file.FileURLConnection.getInputStream( FileURLConnection.java:161) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity (Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.startPE(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.skipSeparator (Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.tools.ant.helper.ProjectHelper2.parse( ProjectHelper2.java :217) ... 15 more --- Nested Exception --- java.io.FileNotFoundException: E:\webtest\webtest\selftests\config\WebTest.dtd (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at java.io.FileInputStream.<init>(FileInputStream.java:66) at sun.net.www.protocol.file.FileURLConnection.connect( FileURLConnection.java :70) at sun.net.www.protocol.file.FileURLConnection.getInputStream( FileURLConnection.java:161) at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity (Unknown Source) at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.startPE(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.skipSeparator (Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.scanDecls(Unknown Source) at org.apache.xerces.impl.XMLDTDScannerImpl.scanDTDExternalSubset(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown
Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse (Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.tools.ant.helper.ProjectHelper2.parse( ProjectHelper2.java :217) at org.apache.tools.ant.helper.ProjectHelper2.parse( ProjectHelper2.java:140) at org.apache.tools.ant.ProjectHelper.configureProject( ProjectHelper.java:91) at org.apache.tools.ant.taskdefs.Ant.execute (Ant.java:334) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java :275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeSortedTargets(Project.java :1216) at org.apache.tools.ant.Project.executeTarget(Project.java:1185) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets ( DefaultExecutor.java:40) at org.apache.tools.ant.Project.executeTargets(Project.java:1068) at org.apache.tools.ant.Main.runBuild(Main.java:668) at org.apache.tools.ant.Main.startAnt(Main.java:187) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) ]]>

In webtest\selftests\config\ there is file MyWebTest.dtd.

Can I build Webtest just with ant if so what options should be used ?

Thanks,

Tom

2008/1/16, Marc Guillemot <mgui@yahoo.fr>:

Hi,

WebTest build process is (surely too) complex as it checks a lot of things (I hate it! ;-)).

Seems that the selftest failed. Have a look at the end of build/log/webtest.console.log.xml to understand why.

Cheers, Marc. -- Blog: http://mguillem.wordpress.com

Tomi Mäkinen wrote:

Hi,

I'm trying to build Webtest with ant just like advised (http://webtest.canoo.com/webtest/manual/building.html <http://webtest.canoo.com/webtest/manual/building.html >), but building fails. Here is end of building.

Trying to override old definition of task groovy

assembleRuntime: [mkdir] Created dir: E:\webtest\webtest\build\runtime\lib [copy] Copying 30 files to E:\webtest\webtest\build\runtime\lib [move] Moving 1 file to E:\webtest\webtest\build\runtime\lib [copy] Copying 4 files to E:\webtest\webtest\build\runtime\lib [copy] Copying 53 files to E:\webtest\webtest\build\runtime

-launchWebTest: [copy] Copying 1 file to E:\webtest\webtest\build\runtime\lib [java] Buildfile: build.xml [java] Java Result: 1

init:

stop: [echo] Stoping jetty...

BUILD FAILED E:\webtest\webtest_R_1649\build.xml:571: The following error occurred while executing this line: E:\webtest\webtest_R_1649\build.xml:675: The following error occurred while executing this line: E:\webtest\webtest_R_1649\build.xml:742: Warning: Could not find file E:\webtest\webtest\build\selftests\reports\WebTestOverview.xml to copy.

Total time: 9 minutes 29 seconds

Can you help me ?