Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread dan tran
http://mojo.codehaus.org/build-helper-maven-plugin/ On 1/11/06, Geoffrey [EMAIL PROTECTED] wrote: Hi, What is the best practice to add a second source directory? I am aware it is not recommended to have more then one, but it's unavoidable at this time in the project: src/main/java

Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread Karthik V
I need to add the sources generated thru xdoclet (its in a separate folder).. is there a cleaner way of adding it, other than using this build-helper? On 1/11/06, dan tran [EMAIL PROTECTED] wrote: http://mojo.codehaus.org/build-helper-maven-plugin/ On 1/11/06, Geoffrey [EMAIL PROTECTED]

Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread dan tran
the xdocdet mojo, if available, will add the generated source automatically However, if you are using antrun plugin to generate source, it can do that for you http://maven.apache.org/plugins/maven-antrun-plugin/run-mojo.html -D On 1/11/06, Karthik V [EMAIL PROTECTED] wrote: I need to add

Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread Karthik V
I am using xdoclet from codehaus in the generate-sources phase... but durin the compile phase, i get errors that all those classes r missing ... On 1/11/06, dan tran [EMAIL PROTECTED] wrote: the xdocdet mojo, if available, will add the generated source automatically However, if you are

RE: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread Allison, Bob
] Unavoidable multiple source directories: src/sandbox/java I am using xdoclet from codehaus in the generate-sources phase... but durin the compile phase, i get errors that all those classes r missing ... On 1/11/06, dan tran [EMAIL PROTECTED] wrote: the xdocdet mojo, if available, will add

Re: [m2] Unavoidable multiple source directories: src/sandbox/java

2006-01-11 Thread Karthik V
generated files in the src tree. -Original Message- From: Karthik V [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 11, 2006 12:07 To: Maven Users List Subject: Re: [m2] Unavoidable multiple source directories: src/sandbox/java I am using xdoclet from codehaus in the generate