hehe i did offer a disclaimer ;)

Jason van Zyl wrote:

On Mon, 2003-12-08 at 16:20, Tim Chen wrote:


I'm sure that it's not recommened but you can achieve that using a few changes in your project.xml setup.

use:
<sourceModifications>
     <excludes>
       <exclude>**/Test*.java</exclude>
     </excludes>
</sourceModifications>
to prevent building ur test classes into your src.
then for ur unitTest declaration do something like:

   <unitTest>
     <includes>
       <include>**/Test*.java</include>
     </includes>
   </unitTest>

along with a unitTestSourceDirectory that matches ur sourceDirectory.



Now I'm going to have add something that halts the build if any derivatives of org.junit.Test* are found in the source directory :-)



-Tim

Chad Woolley wrote:



Hello,

I want to implement maven on an existing project, which has the unit tests in the same directories as the classes they test.

Is this supported with maven? I read the test plugin docs, but I don't see any properties or any info there...

Thanks,
Chad


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





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





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



Reply via email to