I think EU is at eclipsecon today, but I might be able to fill in some info in the meantime:
>Question is, WHY this happens (Eugene ?) - one reason COULD be performance, but isn't it risky to simply deactivate the eclipse-clean step ? Don't know this one. >Also noticed, that the src/*/resources directories are NOT copied to the [eclipse-]target/[test-]classes directories (their Java Build Path->Output folder >points to the source folder, and "exclude" is set to "**".) - Why ? I>n the past, we (manually, explicitely) set the output folder to the []target/[]classes directories, and did not see any problems with it... Apparently the Eclipse JDT expects to own the output folder, and if the resources are filtered here, everytime the compiler runs (ie everytime you save a file), those resources are possibly trashed. The resources get filtered and the folders are added to the various classpaths so they are still available (even though they are not in the target folder). >Another thing, that could need some explanations: in the "Resolver Configuration", there is the option to "Use Maven Output Folders", so that the >Eclipse-build saves it's class-files into target/... and not into eclipse-target/... >Question, why should I NOT stay in the same directory? What are good reasons for use this or that directory ? Same reason as above essentially. Eclipse and Maven would be fighting back and forth. If you cleaned from maven, it would freak out eclipse because the target folder it "controls" is yanked out from under it. So far I haven't had any major issues with the folders being separate. The only thing that may get a little messed up are unit tests if those tests don't find files from the classpath and are hard coded to /target/xxx, in this case you would need to use the Maven Output Folders until the unit tests can be made a little more generic. >.. want to learn about the best practices and the reasons for them... So that's my understanding from a few conversations with Eu about it. I'm sure he'll provide more detailed info when he can. --Brian
