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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to