Jeff,

You have saved me hours of time!  src/java did it!

Thanks,
Eric

-----Original Message-----
From: Brekke, Jeff [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 9:19 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Should Maven be recompiling every class on every
maven:test?


Assuming your project is in c:\kinaseprofiler :

Your def of <sourceDirectory> looks wrong.  Try 

<sourceDirectory>src/java</sourceDirectory>

( of course this means that you have your source code in:
  c:\kinaseprofiler\src\java )

It is supposed to point to the location of the non-test source code.  
The location of the test source code looks fine.

=================================================================
Jeffrey D. Brekke                                   Quad/Graphics
[EMAIL PROTECTED]                              http://www.qg.com


> -----Original Message-----
> From: Eric Pugh [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 03, 2002 8:10 AM
> To: [EMAIL PROTECTED]
> Subject: Should Maven be recompiling every class on every maven:test?
> 
> 
> Hi all,
> 
> I am suffering from a serious speed block running maven.  I 
> built maven off
> of last night's CVS, and one of the things I noticed is that 
> everytime I run
> maven:test, all my classes, not just the test classes, are 
> recompiled...  Is
> this what othe Maven user's have going on?  Or is my build 
> patterns messed
> up?
> 
> <build>
>     <sourceDirectories>
>       <sourceDirectory>c:\kinaseprofiler\src</sourceDirectory>
>     </sourceDirectories>
>     <aspectSourceDirectories></aspectSourceDirectories>
> 
>     <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
> 
>     <integrationUnitTestSourceDirectory>
>     </integrationUnitTestSourceDirectory>
> 
> 
>     <unitTestPatterns>
> 
>       <unitTestPattern>include = **/*Test*.java</unitTestPattern>
>       <unitTestPattern>exclude = **/DBUnitTest.java</unitTestPattern>
>       <unitTestPattern>exclude = **/*Quartz*.java</unitTestPattern>
> 
>     </unitTestPatterns>
>     <jarResources></jarResources>
>     <jars></jars>
>   </build>
> 
> Eric
> 

Reply via email to