AW: [m2] Same output dir for maven and eclipse?

2006-08-24 Thread Amshoff Christoph, Köln
Well... I thought there could be problems when merging class files generated
by Maven with those generated by Eclipse. Not sure how Eclipse handels this
situation. 

But when Maven's Eclipse plugin (don't know that yet) is setting it up this
way, it's probably safe.

Thanx,
Christoph.

> -Ursprüngliche Nachricht-
> Von: Ralph Pöllath [mailto:[EMAIL PROTECTED] 
> Gesendet: Donnerstag, 24. August 2006 11:46
> An: Maven Users List
> Betreff: Re: [m2] Same output dir for maven and eclipse?
> 
> 
> On 24.08.2006, at 10:45, Amshoff Christoph, Köln wrote:
> > I'm setting up a project where team members could use 
> either Maven2 or
> > Eclipse to build the project. Normally, Maven will be used during  
> > CI/nightly
> > builds and Eclipse by developers.
> 
> Same here.
> 
> > The question is: where is the particular output of these builds  
> > going? Do
> > you recommend to use the same output folder for compiled 
> classes of  
> > both
> > tools, or what are the best practices in this case?
> 
> Is there any reason to separate the output folders? We use the maven  
> eclipse plugin [1] to generate our eclipse project files, which re- 
> uses maven's output directories for eclipse (at least by default).
> 
> Cheers,
> -Ralph.
> 
> [1] http://maven.apache.org/plugins/maven-eclipse-plugin/overview.html
> 
> 
> > If not using the same folder, I wish to put both output folder  
> > under target.
> > So I would have to configure maven to use target/maven/classes and
> > target/maven/test-classes, for example. How do I set the 
> "main" output
> > folder used for all build results (classes, test-classes, 
> site, source
> > generation, ...)? Setting just "directory" attribute in my POM  
> > (Maven docu
> > says: "The directory where all files generated by the build are  
> > placed") is
> > not working, so do I have to set all paths separately?
> >
> > Thanks for your hints,
> > Christoph.
> 
> 
> -
> 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]



Re: [m2] Same output dir for maven and eclipse?

2006-08-24 Thread Ralph Pöllath

On 24.08.2006, at 10:45, Amshoff Christoph, Köln wrote:

I'm setting up a project where team members could use either Maven2 or
Eclipse to build the project. Normally, Maven will be used during  
CI/nightly

builds and Eclipse by developers.


Same here.

The question is: where is the particular output of these builds  
going? Do
you recommend to use the same output folder for compiled classes of  
both

tools, or what are the best practices in this case?


Is there any reason to separate the output folders? We use the maven  
eclipse plugin [1] to generate our eclipse project files, which re- 
uses maven's output directories for eclipse (at least by default).


Cheers,
-Ralph.

[1] http://maven.apache.org/plugins/maven-eclipse-plugin/overview.html


If not using the same folder, I wish to put both output folder  
under target.

So I would have to configure maven to use target/maven/classes and
target/maven/test-classes, for example. How do I set the "main" output
folder used for all build results (classes, test-classes, site, source
generation, ...)? Setting just "directory" attribute in my POM  
(Maven docu
says: "The directory where all files generated by the build are  
placed") is

not working, so do I have to set all paths separately?

Thanks for your hints,
Christoph.



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



[m2] Same output dir for maven and eclipse?

2006-08-24 Thread Amshoff Christoph, Köln
I'm setting up a project where team members could use either Maven2 or
Eclipse to build the project. Normally, Maven will be used during CI/nightly
builds and Eclipse by developers.

The question is: where is the particular output of these builds going? Do
you recommend to use the same output folder for compiled classes of both
tools, or what are the best practices in this case?

If not using the same folder, I wish to put both output folder under target.
So I would have to configure maven to use target/maven/classes and
target/maven/test-classes, for example. How do I set the "main" output
folder used for all build results (classes, test-classes, site, source
generation, ...)? Setting just "directory" attribute in my POM (Maven docu
says: "The directory where all files generated by the build are placed") is
not working, so do I have to set all paths separately?

Thanks for your hints,
Christoph.


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