[Webtest] Trunk build fails on MacBook Pro Leopard

Denis N. Antonioli Denis N. Antonioli" <antonioli@ifi.unizh.ch
Wed, 9 Jul 2008 21:53:09 -0700


--Apple-Mail-31--1012295569
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

Hi

I just followed the instruction on a plain Mac (10.5.2, java 5), and  
it worked fine, as expected ;-)

@Paul:
Are you building with java 5 or 6?
Is there a xalan in java's extension directories (/System/Library/ 
Frameworks/JavaVM.framework/Versions/1.5/Home/lib, /System/Library/ 
Frameworks/JavaVM.framework/Versions/1.5/Home/lib/ext, /System/Library/ 
Frameworks/JavaVM.framework/Versions/1.5/Home/lib/endorsed, /System/ 
Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib, /System/ 
Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/ext, /System/ 
Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/endorsed)
Is there a xalan on your $CLASSPATH?

@Lisa:
Which ant are you using?
There is a $WEBTEST_HOME/bin/webtest.sh precisely to be certain that  
the correct versions of the libraries are used  ;-)


Happy testing
	dna


On 8 juil. 08, at 09:03, Lisa Crispin 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!
> thanks
> Lisa
>
> On Sat, Jul 5, 2008 at 10:03 PM, Paul Beck <pbeck@nearinfinity.com>  
> 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.
>
> -compile:
>     [echo] compile base classes
>    [javac] Compiling 216 source files to
> /Users/pbeck/workspace/webtest/build/classes/plain
>    [javac]
> /Users/pbeck/workspace/webtest/src/main/java/com/canoo/webtest/ 
> engine/xpath/
> SimpleXPathFunctionResolver.java:31: cannot find symbol
>    [javac] symbol  : method
> installFunction(java.lang.String,java.lang.Class<capture of ? extends
> org.apache.xpath.functions.Function>)
>    [javac] location: class org.apache.xpath.compiler.FunctionTable
>    [javac]          
> funcTable_.installFunction(_functionName.getLocalPart(),
> _class);
>    [javac]                   ^
>    [javac]
> /Users/pbeck/workspace/webtest/src/main/java/com/canoo/webtest/ 
> engine/xpath/
> XPathHelper.java:328: cannot find symbol
>    [javac] symbol  : constructor
> XPath 
> (java 
> .lang.String,<nulltype>,com.canoo.webtest.engine.xpath.PrefixResol
> ver,int,<nulltype>,org.apache.xpath.compiler.FunctionTable)
>    [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
> WebTest@lists.canoo.com
> http://lists.canoo.com/mailman/listinfo/webtest
>
>
>
> -- 
> Lisa Crispin
> Co-author with Janet Gregory, Agile Testing
> http://www.agiletester.ca
> http://lisa.crispin.home.att.net
> http://lisacrispin.blogspot.com

-- 
If you understand what you're doing, you're not learning anything.
   -- Abraham Lincoln



--Apple-Mail-31--1012295569
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; ">Hi<div><br></div><div>I just =
followed the instruction on a plain Mac (10.5.2, java 5), and it worked =
fine, as expected ;-)</div><div><br></div><div>@Paul:</div><div>Are you =
building with java 5 or 6?</div><div>Is there a xalan in java's =
extension directories =
(/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/lib,&nbsp;/=
System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/lib/ext,&nbsp=
;/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/lib/endorse=
d,&nbsp;/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib,=
&nbsp;/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/ex=
t,&nbsp;/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/=
endorsed)</div><div>Is&nbsp;there a xalan on your =
$CLASSPATH?</div><div><br></div><div>@Lisa:</div><div>Which ant are you =
using?</div><div>There is a&nbsp;$WEBTEST_HOME/bin/webtest.sh precisely =
to be certain that the correct versions of the libraries are used =
&nbsp;;-)&nbsp;</div><div><br></div><div><br></div><div>Happy =
testing</div><div><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	=
</span>dna<br></div><div><br></div><div><br></div><div><div><div>On 8 =
juil. 08, at 09:03, Lisa Crispin wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite">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. <br><br>I've run out of =
ideas, so if you are able to fix this on your mac, please let me know =
what you did!<br> thanks<br>Lisa<br><br><div class=3D"gmail_quote">On =
Sat, Jul 5, 2008 at 10:03 PM, Paul Beck &lt;<a =
href=3D"mailto:pbeck@nearinfinity.com" =
target=3D"_blank">pbeck@nearinfinity.com</a>> wrote:<br> <blockquote =
class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, =
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I am attempting a =
build of WebTest on a MB Pro with 2Gb memory and Java 5<br> installed. I =
am getting the following build errors, building on command line<br> or =
within IntelliJ.<br> <br> -compile:<br> &nbsp; &nbsp; [echo] compile =
base classes<br> &nbsp; &nbsp;[javac] Compiling 216 source files to<br> =
/Users/pbeck/workspace/webtest/build/classes/plain<br> &nbsp; =
&nbsp;[javac]<br> =
/Users/pbeck/workspace/webtest/src/main/java/com/canoo/webtest/engine/xpat=
h/<br> SimpleXPathFunctionResolver.java:31: cannot find symbol<br> =
&nbsp; &nbsp;[javac] symbol &nbsp;: method<br> =
installFunction(java.lang.String,java.lang.Class&lt;capture of ? =
extends<br> org.apache.xpath.functions.Function>)<br> &nbsp; =
&nbsp;[javac] location: class =
org.apache.xpath.compiler.FunctionTable<br> &nbsp; &nbsp;[javac] &nbsp; =
&nbsp; &nbsp; &nbsp; =
funcTable_.installFunction(_functionName.getLocalPart(),<br> =
_class);<br> &nbsp; &nbsp;[javac] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; ^<br> &nbsp; &nbsp;[javac]<br> =
/Users/pbeck/workspace/webtest/src/main/java/com/canoo/webtest/engine/xpat=
h/<br> XPathHelper.java:328: cannot find symbol<br> &nbsp; &nbsp;[javac] =
symbol &nbsp;: constructor<br> =
XPath(java.lang.String,&lt;nulltype>,com.canoo.webtest.engine.xpath.Prefix=
Resol<br> =
ver,int,&lt;nulltype>,org.apache.xpath.compiler.FunctionTable)<br> =
&nbsp; &nbsp;[javac] location: class org.apache.xpath.XPath<br> &nbsp; =
&nbsp;[javac] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
org.apache.xpath.XPath xpath =3D new<br> =
org.apache.xpath.XPath(expression, null,<br> &nbsp; &nbsp;[javac] &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp;^<br> &nbsp; &nbsp;[javac] Note: Some input files =
use or override a deprecated API.<br> &nbsp; &nbsp;[javac] Note: =
Recompile with -Xlint:deprecation for details.<br> &nbsp; &nbsp;[javac] =
Note: Some input files use unchecked or unsafe operations.<br> &nbsp; =
&nbsp;[javac] Note: Recompile with -Xlint:unchecked for details.<br> =
&nbsp; &nbsp;[javac] 2 errors<br> <br> I looked in xalan-2.7.0-src.jar, =
and found the supposed undefined method<br> installFunction. So, do I =
have a classpath issue somehow? I am building with<br> webtest clean =
develop as per the instructions. I followed the instructions<br> on the =
website for building, checking out from svn in WEBTEST_HOME. The<br> =
instructions imply that you can do the build from WEBTEST_HOME, however =
the<br> build file is checked out from the repository into the webtest =
subdirectory.<br> Unless I am doing something wrong, the instructions do =
not work as written:<br> <br> To generate a complete release, including =
the documentation, type:<br> cd &lt;WEBTEST_HOME><br> bin/webtest.sh =
full<br> <br> Can someone please help with this build?<br> <br> Paul =
Beck<br> <br> <br> _______________________________________________<br> =
WebTest mailing list<br> <a href=3D"mailto:WebTest@lists.canoo.com" =
target=3D"_blank">WebTest@lists.canoo.com</a><br> <a =
href=3D"http://lists.canoo.com/mailman/listinfo/webtest" =
target=3D"_blank">http://lists.canoo.com/mailman/listinfo/webtest</a><br> =
</blockquote></div><br><br clear=3D"all"><br>-- <br>Lisa =
Crispin<br>Co-author with Janet Gregory, Agile Testing<br><a =
href=3D"http://www.agiletester.ca" =
target=3D"_blank">http://www.agiletester.ca</a><br><a =
href=3D"http://lisa.crispin.home.att.net" =
target=3D"_blank">http://lisa.crispin.home.att.net</a><br> <a =
href=3D"http://lisacrispin.blogspot.com" =
target=3D"_blank">http://lisacrispin.blogspot.com</a></blockquote></div><b=
r><div> <span class=3D"Apple-style-span" style=3D"border-collapse: =
separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: =
0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><div =
style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><div>--&nbsp;</div><div>If you =
understand what you're doing, you're not learning =
anything.</div><div>&nbsp; -- Abraham Lincoln</div></div><br =
class=3D"Apple-interchange-newline"></span> =
</div><br></div></body></html>=

--Apple-Mail-31--1012295569--