[Webtest] Trunk build fails on MacBook Pro Leopard
Marc Guillemot <firstname.lastname@example.org>
Tue, 08 Jul 2008 11:53:48 +0200
it seems that you have some older version of Xalan somewhere in you
classpath. I don't know anything of java setup on Mac therefore I can't
really help. Perhaps a CLASSPATH environment variable?
Paul Beck wrote:
> I am attempting a build of WebTest on a MB Pro with 2Gb memory and Java 5
> installed. I am getting the following build errors, building on command line
> or within IntelliJ.
> [echo] compile base classes
> [javac] Compiling 216 source files to
> SimpleXPathFunctionResolver.java:31: cannot find symbol
> [javac] symbol : method
> installFunction(java.lang.String,java.lang.Class<capture of ? extends
> [javac] location: class org.apache.xpath.compiler.FunctionTable
> [javac] funcTable_.installFunction(_functionName.getLocalPart(),
> [javac] ^
> XPathHelper.java:328: cannot find symbol
> [javac] symbol : constructor
> [javac] location: class org.apache.xpath.XPath
> [javac] org.apache.xpath.XPath xpath = new
> org.apache.xpath.XPath(expression, null,
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 2 errors
> I looked in xalan-2.7.0-src.jar, and found the supposed undefined method
> installFunction. So, do I have a classpath issue somehow? I am building with
> webtest clean develop as per the instructions. I followed the instructions
> on the website for building, checking out from svn in WEBTEST_HOME. The
> instructions imply that you can do the build from WEBTEST_HOME, however the
> build file is checked out from the repository into the webtest subdirectory.
> Unless I am doing something wrong, the instructions do not work as written:
> To generate a complete release, including the documentation, type:
> cd <WEBTEST_HOME>
> bin/webtest.sh full
> Can someone please help with this build?
> Paul Beck
> WebTest mailing list