Hello WebTest development team,

I need to work with the latest Webtest official release, not the latest development build. Does build R_1689 use build instructions that are different from the latest development build? What's missing in my build environment?

When I follow "Building WebTest with ant" instructions at http://webtest.canoo.com/webtest/manual/building.html with WebTest 2.6 source files from https://svn.canoo.com/trunk/webtest-releases/2.6-1689/, it fails with this message.

===========================
>cd E:\Sun\work\WebTest\WebTest-R_1689
>ant

Buildfile: build.xml
[typedef] Could not load definitions from resource org/apache/maven/artifact/ant/antlib.xml. It could not be found.

BUILD FAILED
E:\Sun\work\WebTest\WebTest-R_1689\build.xml:19: failed to create task or type urn:maven-artifact-ant:pom
Cause: The name is undefines.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
No types or tasks have been defined in this namespace yet.
===========================

I looked at build.xml and saw a reference to "lib/build/maven-ant-tasks-2.0.6.jar", so I downloaded maven-ant-tasks-2.0.9.jar into that location and corrected the file name in build.xml. That gave me a different error, but still failed.

When I follow the same instructions with the latest source, it generates error messages, but looks like it builds and tests OK.

===========================
>cd E:\Sun\work\WebTest\WebTest-latest
>svn co https://svn.canoo.com/trunk/webtest
>cd webtest
>ant

Buildfile: build.xml

checkForJavadocChanges:

checkUpToDates:

fetchDependencies:

-generateTaskdef:
[templatedoclet]  INFO (xdoclet.XDocletMain.start) - Running <template/>
[templatedoclet] INFO (xdoclet.TemplateSubTask.engineStarted) - Generating output 'webtest_relaxed_raw.taskdef' using template file 'file:/E:/Sun/work/WebTest/WebTest-latest/webtest/doc/xdoclet/taskdef.xdt'. [templatedoclet] Error parsing File E:\Sun\work\WebTest\WebTest-latest\webtest\src\main\java\com\canoo\webtest\engine\xpath\XPathHelper.java:Encountered "<" at line 48, column 27.
[templatedoclet] Was expecting one of:
[templatedoclet] <IDENTIFIER> ...
[templatedoclet]     "[" ...
[templatedoclet]     "." ...
[templatedoclet]

 (--- snipped 673 lines ---)

-launchWebTest:
     [java] Buildfile: build.xml

init:

stop:
     [echo] Stoping jetty...
[echo] Copying 1 file to E:\Sun\work\WebTest\WebTest-latest\webtest\build\log

develop:

BUILD SUCCESSFUL
===========================

Please advise how to build R_1689.

Vaughn Spurlin

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to