ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: compiling test cases separately
Date Tue, 05 Mar 2002 12:45:08 GMT
Try running Ant with the -verbose (or -debug) switch.  It will likely give
you the answer you're looking for (some compile error or missing dependency
probably)

    Erik


----- Original Message -----
From: "Ram Kumar" <ramkumar@interactive1.com>
To: <ant-user@jakarta.apache.org>
Sent: Tuesday, March 05, 2002 7:27 AM
Subject: compiling test cases separately


>
>
> hi
>
> i have my directory like this..
>
> c:\samples\src\main  with com\company\myClass.java  (my source file)
> c:\samples\src\test   with com\company\myClassTest.java (my junit testcase
> generated already)
> i want to compile\keep the files separately in c:\samples\build\classes
and
> c:\samples\build\test-classes
>
> i am not able to keep the packages separately. i am getting "message have
> to be provided" when i compile the test cases. i gave like this...
> <target name="compile-testcase" depends="compile-source" >
>        <javac srcdir="src/test" destdir="build/test-classes" >
>        <classpath>
>          <pathelement location="build/classes"/>
>          <pathelement location="c:/junit/junit3.7/junit.jar"/>
>        </classpath>
>        </javac>
>      </target>
>
> I am a newbie...any help ?
>
> Ram
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message