oops, sorry to bug you good people.  i just found this in the FAQ: 
http://maven.apache.org/faq.html#multiple-source-directories

> -----Original Message-----
> From: Mark D. Hansen [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 10, 2005 4:55 PM
> To: Maven User (E-mail)
> Subject: multiple src directories ?
> 
> 
> another newbie question:
> 
> I would like to compile from 2 src directories, like this (in 
> my project.xml)
> 
>   <build>
>     <sourceDirectory>src/java</sourceDirectory>
>     <sourceDirectory>target/work/java</sourceDirectory>
>   ...
>   </build>
> 
> It doesn't seem to work that way.  The idea here is that I am 
> using a tool (JAXB XJC) to generate some source from an XSD - 
> and I don't want to copy that into the regular src directory 
> (that is a no, no since you can screw up your src if you are 
> sloppy).  With Ant, I can specify multiple src directories.  
> How is this done in maven?
> 
> Thanks!
> 
> -- Mark
> 
> ---------------------------------------------------------------------
> 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