You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Michael McCallum <gh...@apache.org> on 2008/07/10 12:19:35 UTC

eclipse plugin and shared output directories

A long time back i discovered that if you have the same target output for 
eclipse and maven you end up with broken shit all over the place, intemittent 
errors. All really unpleasant.

The default settings for eclipse:eclipse and eclipse:m2eclipse set the outputs 
to the same. Does this actually work for people? Maybe locking on windows 
actually make a positive impact finally? 

Thoughts anyone?

-- 
Michael McCallum
Enterprise Engineer
mailto:gholam@apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: eclipse plugin and shared output directories

Posted by Kamil Demecki <sk...@gmail.com>.
> The default settings for eclipse:eclipse and eclipse:m2eclipse set the
> outputs
> to the same. Does this actually work for people? Maybe locking on windows
> actually make a positive impact finally?
>


Yes, it works well. We have maven projects for 3 years (maven 1.x and maven
2) with developing with eclipse and there was no problem with shared target
directory (windows Xp and Linuks)

-- 
Kamil Demecki

Re: eclipse plugin and shared output directories

Posted by Benjamin Bentmann <be...@udo.edu>.
Igor Fedorenko wrote:

> We've discussed this subject on m2e dev list a lot recently

Just to give the pointer:
http://docs.codehaus.org/display/M2ECLIPSE/Separate+Eclipse+and+Maven+output+folders


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: eclipse plugin and shared output directories

Posted by Igor Fedorenko <ig...@ifedorenko.com>.
We've discussed this subject on m2e dev list a lot recently and I 
believe the conclusion is that both collocated and separate output 
folders cause problems for some projects and development "styles", for 
the lack of a better word.

For example, I mostly work with maven core and various maven plugin 
projects. These projects make heavy use of code and resource generation 
and I could not make them work with separate output folders reliably. 
But everything works almost perfectly with m2e using maven output folders.

On the other hand, however, I hear people are having troubles with 
collocated output folders when they switch between m2e and cli often. 
Like you describe, either eclipse gets confused by out-of-workspace 
changes or maven cli picks up stale/broken files produced by eclipse and 
neither eclipse nor maven cli would give any meaningful explanation of 
the problems.

Michael McCallum wrote:
> A long time back i discovered that if you have the same target output for 
> eclipse and maven you end up with broken shit all over the place, intemittent 
> errors. All really unpleasant.
> 
> The default settings for eclipse:eclipse and eclipse:m2eclipse set the outputs 
> to the same. Does this actually work for people? Maybe locking on windows 
> actually make a positive impact finally? 
> 
> Thoughts anyone?
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org