[Webtest] Trunk build fails on MacBook Pro Leopard
Paul Beck" <firstname.lastname@example.org
Wed, 9 Jul 2008 21:54:19 -0400
I got the R_1710 release to run on my Mac. Apparently there is an
older version of xalan in the classpath. You need to copy
xalan-2.7.0.jar AND clover.jar to /Library/Java/Extensions. This will
allow R_1710 to run. It also allows the build to proceed beyond the
error shown below:
[javac] location: class org.apache.xpath.compiler.FunctionTable
Now I am getting the below error. Perhaps Marc can shed some light on this.
/Users/pbeck/workspace/webtest/build.xml:248: taskdef A class needed
by class com.cenqua.clover.tasks.CloverMergeTask cannot be found:
On Tue, Jul 8, 2008 at 12:03 PM, Lisa Crispin <email@example.com> wrote:
> Paul, I'm having this same problem when I try to run a WebTest script on my
> Mac. I didn't have it with an older version of WebTest. When I move that
> xalan jar file to ant's lib directory, it works.
> I've run out of ideas, so if you are able to fix this on your mac, please
> let me know what you did!
> On Sat, Jul 5, 2008 at 10:03 PM, Paul Beck <firstname.lastname@example.org> 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
>> 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] ^
>> 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
>> 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
>> build file is checked out from the repository into the webtest
>> Unless I am doing something wrong, the instructions do not work as
>> 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
> Lisa Crispin
> Co-author with Janet Gregory, Agile Testing