axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: compiling on target junit
Date Tue, 16 Jul 2002 16:56:37 GMT
ant1.5 (that you should be using, I believe), has a more helpful error
message, but it boils down to

-you need optional.jar and junit.jar in your ANT_HOME/lib directory

----- Original Message -----
From: <maoshi.gu@ps.ge.com>
To: <axis-dev@xml.apache.org>
Sent: Tuesday, July 16, 2002 7:07 AM
Subject: compiling on target junit


> Hi axis team,
> I downloaded beta 3 distribution code yesterday, xml-axis-beta3-src.zip. I
> am trying to compile it with ant dist but
> running into problem with target junit. Do I miss an ant definition here?
> Please help. The error message attached,
>
> ================================================================
>
>    samples:
>     [javac] Compiling 2 source files to
C:\Temp\axis\axis-1_0\build\classes
> [wsdl2java] WSDL2Java samples/echo/InteropTest.wsdl
>     [javac] Compiling 7 source files to
C:\Temp\axis\axis-1_0\build\classes
> [wsdl2java] WSDL2Java samples/addr/AddressBook.wsdl
>     [javac] Compiling 9 source files to
C:\Temp\axis\axis-1_0\build\classes
>     [javac] Compiling 73 source files to
C:\Temp\axis\axis-1_0\build\classes
>
> buildTest:
>      [echo] junit package found ...
>     [javac] Compiling 108 source files to
> C:\Temp\axis\axis-1_0\build\classes
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -deprecation for details.
>      [copy] Copying 1 file to
C:\Temp\axis\axis-1_0\build\classes\test\wsdd
>
> junit:
>     [mkdir] Created dir: C:\Temp\axis\axis-1_0\test-reports
>
> BUILD FAILED
>
> C:\Temp\axis\axis-1_0\build.xml:473: Could not create task of type: junit.
> Commo
> n solutions are to use taskdef to declare your task, or, if this is an
> optional
> task, to put the optional.jar in the lib directory of your ant
installation
> (ANT
> _HOME).
>
>
>
> Thanks,
> g               GE Power Systems
> __________________________________________________
>
> Maoshi Gu
> eOperations
> 9800 W. Kincey Ave,
> Calhoun Bldg., Ste 160
> Huntersville, NC 28078
> mailto:maoshi.gu@ps.ge.com <mailto:maoshi.gu@ps.ge.com>
> *(704) 947-6275 Dial Comm: 8* 276-6275
> Urgent: (704)995-9124
>
>
>
>
>


Mime
View raw message