Results 1 to 2 of 2

Thread: Eclipse Ant

  1. #1
    krishni is offline Member
    Join Date
    Feb 2012
    Posts
    1
    Rep Power
    0

    Default 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

  2. #2
    jlczuk is offline Senior Member
    Join Date
    Apr 2012
    Location
    New York State of Confusion, USA
    Posts
    137
    Blog Entries
    1
    Rep Power
    0

    Default 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

  1. Replies: 2
    Last Post: 10-11-2013, 09:26 AM
  2. New Eclipse plugin: shared (and improved) Eclipse Templates
    By dougwightman in forum Java Software
    Replies: 0
    Last Post: 08-10-2011, 05:26 PM
  3. Replies: 0
    Last Post: 08-10-2011, 05:24 PM
  4. Replies: 4
    Last Post: 12-21-2010, 03:26 PM
  5. Eclipse Bug - Can't Read From A File Using Eclipse?
    By carlodelmundo in forum New To Java
    Replies: 6
    Last Post: 01-26-2009, 04:25 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •