ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ram Kumar <ramku...@interactive1.com>
Subject compiling test cases separately
Date Tue, 05 Mar 2002 12:27:47 GMT


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>


Mime
View raw message