You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by CD...@behr.com on 2006/04/26 21:21:48 UTC
Eclipse plugin adds resource directories to build path
Hi,
I have started using the Eclipse plugin with m2.
I used the "Update source folders" menu option and it did find the Java
source folders. But it also added the src/main/resource folder and the
src/test/resource folder to my Eclipse build path. I also notice that when
I go and look more closely at these settings in the project properties
dialog, the resource folders have their output folders set to be the same
as the resource folder itself.
So my question is, is this correct behavior and if so, why do I want my
resource folders on my Eclipse build path and have the output folders set
the way they are?
Thanks.
------------------------------------------------------------------------------
Craig Dickson
IT Manager, Web Development
Behr Process Corporation
Santa Ana, California
-------------------------------------------------------
The information contained in this e-mail message may be proprietary,
privileged, confidential or protected from disclosure. If you are not the
intended recipient, any dissemination, distribution or copying is strictly
prohibited. If you think that you have received this e-mail message in
error, please e-mail the sender.
Re: Eclipse plugin adds resource directories to build path
Posted by Roland Kofler <ro...@systemone.at>.
its all fine,
you want it because so you can edit poperties files, spring bean
contexts etc. in eclipse
for output folder: target is the base folder when you do mvn install,
test etc. so you need the resources here.
also, you often want the resources bundled in jar, if not use filters.
roland
CDickson@behr.com schrieb:
> Hi,
>
> I have started using the Eclipse plugin with m2.
>
> I used the "Update source folders" menu option and it did find the Java
> source folders. But it also added the src/main/resource folder and the
> src/test/resource folder to my Eclipse build path. I also notice that when
> I go and look more closely at these settings in the project properties
> dialog, the resource folders have their output folders set to be the same
> as the resource folder itself.
>
> So my question is, is this correct behavior and if so, why do I want my
> resource folders on my Eclipse build path and have the output folders set
> the way they are?
>
> Thanks.
>
> ------------------------------------------------------------------------------
> Craig Dickson
> IT Manager, Web Development
> Behr Process Corporation
> Santa Ana, California
>
>
> -------------------------------------------------------
> The information contained in this e-mail message may be proprietary,
> privileged, confidential or protected from disclosure. If you are not the
> intended recipient, any dissemination, distribution or copying is strictly
> prohibited. If you think that you have received this e-mail message in
> error, please e-mail the sender.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org