Hello,

I'm trying to build webtest from the latest version at the Subversion
repository, as described on the "Building" page. I use a external
installation of Ant-1.7.1, running inside Cygwin on MS Windows. I have the
same problem without Cygwin as well.

The build itself prints following "strange" messages:

-generateTaskdef:
[templatedoclet]  INFO (xdoclet.XDocletMain.start) - Running <template/>
[templatedoclet] Error parsing File
c:\external\canoo-webtest-trunk\webtest\src\main\java\com\canoo\webtest\engine\xpath\XPathHelper.java:Encountered
"<" at line 51, column 26.
[templatedoclet] Was expecting one of:
[templatedoclet]     <IDENTIFIER> ...
[templatedoclet]     "[" ...
[templatedoclet]     "." ...
[templatedoclet]
[templatedoclet] Error parsing File
c:\external\canoo-webtest-trunk\webtest\src\main\java\com\canoo\webtest\engine\Context.java:Encountered
"<" at line 38, column 20.
[templatedoclet] Was expecting one of:
[templatedoclet]     <IDENTIFIER> ...
[templatedoclet]     "[" ...
[templatedoclet]     "." ...
[templatedoclet]     "(" ...
[templatedoclet]


And it finally aborts because it fails to find the commons-lang library:

fetchDependencies:
[artifact:dependencies] [INFO] snapshot
net.sourceforge.htmlunit:htmlunit:2.7-SNAPSHOT: checking for updates from
htmlUnitSnapshots
[artifact:dependencies] [WARNING] repository metadata for: 'snapshot
net.sourceforge.htmlunit:htmlunit:2.7-SNAPSHOT' could not be retrieved from
repository: htmlUnitSnapshots due to an error: Error transferring file
[artifact:dependencies] [INFO] Repository 'htmlUnitSnapshots' will be
blacklisted
[artifact:dependencies] Downloading:
net/sourceforge/htmlunit/htmlunit/2.7-SNAPSHOT/htmlunit-2.7-SNAPSHOT.pom
[artifact:dependencies] Downloading:
net/sourceforge/htmlunit/htmlunit-core-js/2.7-SNAPSHOT/htmlunit-core-js-2.7-SNAPSHOT.pom
Trying to override old definition of task groovy
Trying to override old definition of task groovyc

-compile:
    [mkdir] Created dir:
c:\external\canoo-webtest-trunk\webtest\build\classes\plain
    [mkdir] Created dir:
c:\external\canoo-webtest-trunk\webtest\deploy\plain
     [echo] compile base classes
    [javac] Compiling 294 source files to
c:\external\canoo-webtest-trunk\webtest\build\classes\plain
    [javac]
c:\external\canoo-webtest-trunk\webtest\src\main\java\com\canoo\webtest\ant\CountWebtestResults.java:8:
package org.apache.commons.lang does not exist
    [javac] import org.apache.commons.lang.StringUtils;


Someone any idea what I'm doing wrong?

http://webtest.canoo.com/webtest/manual/building.html

http://www.mail-archive.com/[email protected]/msg07185.html


Many thanks!

Tung

Reply via email to