I would sometimes get these errors (cannot resolve symbol) when I was using
an old version of clover. I would make sure you have the correct version in
anthome/lib and try a clean compile.

-brock

----- Original Message ----- 
From: "Cameron Braid" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 22, 2003 10:18 PM
Subject: RE: [OS-webwork] WebWork2 / Xwork - ant test


Oh. Ok.

I have managed to get past that point.. Now something is up with clover.

C:\workspace\os.xwork>ant test
Buildfile: build.xml

format:
   [jalopy] Jalopy Java Source Code Formatter 1.0b10
   [jalopy] Format 156 source files
   [jalopy] 153 source files formatted

java:

test:
    [javac] Compiling 94 source files to
C:\workspace\os.xwork\build\java-test
   [clover] Clover Version 1.1.1, built on April 17 2003
   [clover] Team License registered to the OpenSymphony Project
   [clover] Updating database at 'build/clover/coverage.db'
   [clover] Clover all over. Instrumented 94 files.
    [javac]
C:\DOCUME~1\CAMERO~3\LOCALS~1\Temp\clover8101.tmp\src8102.tmp\com\opensympho
ny\xwork\ActionChainResult.java:23: cannot resolve symbol
    [javac] symbol  : method getRecorder (char[],long)
    [javac] location: class com.cortexeb.tools.clover.P
    [javac] public class ActionChainResult implements Result {public static
com.cortexeb.tools.clover.k __CLOVER_1_0 = com.cortexeb.
tools.clover.P.getRecorder(new char[]
{98,117,105,108,100,47,99,108,111,118,101,114,47,99,111,118,101,114,97,103,1
01,46,100,98},1058
930178844L);
    [javac]
              ^
    [javac]
C:\DOCUME~1\CAMERO~3\LOCALS~1\Temp\clover8101.tmp\src8102.tmp\com\opensympho
ny\xwork\ActionChainResult.java:41: cannot resolve symbol
    [javac] symbol  : variable M
    [javac] location: class com.cortexeb.tools.clover.k
    [javac]     public void setActionName(String actionName) {try {
__CLOVER_1_0.M[547]++;
    [javac]
^




> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Erik Hatcher
> Sent: Wednesday, 23 July 2003 1:06 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] WebWork2 / Xwork - ant test
>
>
> On Tuesday, July 22, 2003, at 10:55  PM, Cameron Braid wrote:
> > That seemed to fix it.. Why would it need to be there, when it is in
> > the
> > lib/build folder ?
>
> 'cause Ant has some "issues" in this area.  Classloader issues.
> junit.jar needs to be in the system classpath when Ant is launched.
> The wrapper (ant.bat/.sh) scripts put all ANT_HOME/lib .jar
> files into
> the system classpath automatically for you.
>
> The upcoming <antlib> feature may make this oddity history.  I hope!
>
> Erik
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: VM Ware
> With VMware you can run multiple operating systems on a
> single machine. WITHOUT REBOOTING! Mix Linux / Windows /
> Novell virtual machines at the same time. Free trial click
> here: http://www.vmware.com/wl/offer/345/0
> _______________________________________________
> Opensymphony-webwork mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
>



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to