Results 1 to 2 of 2
Thread: Eclipse Ant
- 02-14-2012, 05:27 PM #1
Member
- Join Date
- Feb 2012
- Posts
- 1
- Rep Power
- 0
Eclipse Ant
Hi ,
I am doing a project in Eclipse and wheni try to build the build.xml file it gives me an warning saying "warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
jar:". and i get 100 errors saying
package junit.framework does not exist [javac] import junit.framework.Assert;
cannot find symbol
[javac] symbol: class TestCase
[javac] public class DataTEST extends TestCase {
what is the reason for this.
Appreciate all comments
thanks
- 04-24-2012, 11:31 PM #2
Senior Member
- Join Date
- Apr 2012
- Location
- New York State of Confusion, USA
- Posts
- 137
- Blog Entries
- 1
- Rep Power
- 0
Re: Eclipse Ant
I know this is old, but someone could still benefit from a reply.
You need to setup your Eclipse project build path to include the JUnit jar as one of the libraries. If the project had been created as a JUnit Test Case or JUnit Test Suite, then I expect the JUnit library would have been automatically included in the project's Build Path by Eclipse.
Similar Threads
-
New Eclipse plugin: shared (and improved) Eclipse Templates
By dougwightman in forum Java SoftwareReplies: 0Last Post: 08-10-2011, 05:26 PM -
New Eclipse plugin: shared (and improved) Eclipse Templates
By dougwightman in forum EclipseReplies: 0Last Post: 08-10-2011, 05:24 PM -
Java code / eclipse API's to close all open editors in eclipse
By userj2ee in forum EclipseReplies: 0Last Post: 07-27-2011, 12:52 PM -
Eclipse Plugin Development: How to register SVN actions inside an Eclipse plugin
By olzibambolzi in forum EclipseReplies: 4Last Post: 12-21-2010, 03:26 PM -
Eclipse Bug - Can't Read From A File Using Eclipse?
By carlodelmundo in forum New To JavaReplies: 6Last Post: 01-26-2009, 04:25 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks