Hibernate, Tomcat, Ant Question

Discussion in 'Java' started by IchBin, Sep 13, 2004.

  1. IchBin

    IchBin Guest

    Hi All,

    I just downloaded hibernate-3.0alpha. I ran the build. After entering
    issuing ant, for the build, I recieved the following message:

    C:\Program Files\hibernate-3.0alpha>ant
    Buildfile: build.xml
    BUILD FAILED
    C:\Program Files\hibernate-3.0alpha\build.xml:110: taskdef A class needed by
    class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be
    found: junit/framework/Test
    Total time: 5 seconds

    I do not know where this ant package is? Does anybody know whick jar I can
    find it in?

    I have apache-ant-1.6.2, Tomcat 5.5 running and trying to install the
    hibernate-3.0alpha version.

    I have looked at some of the ant jars but can't seem to find it.

    --


    Thanks in Advance...
    IchBin
    __________________________________________________________________________

    'Laughter is inner jogging'
    - Norman Cousins, editor and author (1915-1990)
     
    IchBin, Sep 13, 2004
    #1
    1. Advertising

  2. IchBin

    Bryce Guest

    On Mon, 13 Sep 2004 11:25:34 -0400, "IchBin" <>
    wrote:

    > Hi All,
    >
    >I just downloaded hibernate-3.0alpha. I ran the build. After entering
    >issuing ant, for the build, I recieved the following message:
    >
    >C:\Program Files\hibernate-3.0alpha>ant
    >Buildfile: build.xml
    >BUILD FAILED
    >C:\Program Files\hibernate-3.0alpha\build.xml:110: taskdef A class needed by
    >class org.apache.tools.ant.taskdefs.optional.junit.JUnitTask cannot be
    >found: junit/framework/Test
    >Total time: 5 seconds
    >
    >I do not know where this ant package is? Does anybody know whick jar I can
    >find it in?
    >
    >I have apache-ant-1.6.2, Tomcat 5.5 running and trying to install the
    >hibernate-3.0alpha version.
    >
    >I have looked at some of the ant jars but can't seem to find it.


    The package is JUnit. Google for it, and download. Put the JUnit class
    in Ant's lib directory.

    --
    now with more cowbell
     
    Bryce, Sep 13, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris Bedford
    Replies:
    6
    Views:
    2,246
  2. Ilias Lazaridis
    Replies:
    0
    Views:
    1,724
    Ilias Lazaridis
    Dec 27, 2004
  3. john martin
    Replies:
    2
    Views:
    2,222
    john martin
    Apr 7, 2005
  4. Replies:
    0
    Views:
    3,725
  5. jstorta
    Replies:
    1
    Views:
    11,767
Loading...

Share This Page