RE: Error compiling 'cannot resolve symbol'

2001-06-05 Thread Cook, Levi

Ant's user manual has lots of useful pointers for you.
http://jakarta.apache.org/ant/manual/index.html

A quick fix for your junit problem is to place junit.jar in your CLASSPATH
or in the $ANT_HOME/lib directory.

HTH,
Levi Cook

FYI, JUnit and Ant both have good mailing lists for further info on this
stuff.

-Original Message-
From: Sylvie Djihanian [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 04, 2001 4:47 PM
To: [EMAIL PROTECTED]
Subject: Error compiling 'cannot resolve symbol'


Hi,
I am trying to compile the sample application "business.zip" I found in the
Struts, an open-source MVC implementation article
http://www-106.ibm.com/developerworks/library/j-struts/?n-j-2151.  I get the
following error:

 
[javac] E:\jakarta-struts-1.0-b3\samples\business\src\test\test\business\All
JUnitTests.java:6: cannot resolve symbol
[javac] symbol  : class Test
[javac] location: package framework
[javac] import junit.framework.Test;
[javac]^
 
I downloaded junit.jar and copied it into my
E:\jakarta-struts-1.0-b3\samples\business\lib directory.  (I thought JUnit
should have come with the Ant binaries).
 
I'm somewhat new to the struts and java world... Do you know how I can get
the builder to find the junit package?
 
Sylvie



Error compiling 'cannot resolve symbol'

2001-06-04 Thread Sylvie Djihanian



Hi,
 
I am trying to compile the sample application 
"business.zip" I found in the Struts, an open-source MVC implementation article http://www-106.ibm.com/developerworks/library/j-struts/?n-j-2151.  
I get the following error:
 
[javac] 
E:\jakarta-struts-1.0-b3\samples\business\src\test\test\business\AllJUnitTests.java:6: 
cannot resolve symbol    [javac] symbol  : class 
Test    [javac] location: package 
framework    [javac] import 
junit.framework.Test;    
[javac]    
^
 
I downloaded junit.jar and copied it into my 
E:\jakarta-struts-1.0-b3\samples\business\lib directory.  (I thought JUnit 
should have come with the Ant binaries).
 
I'm somewhat new to the struts and java world... 
Do you know how I can get the builder to find the junit package?
 
Sylvie