Automatically ignored Maven subprojects [message #1016640] |
Thu, 07 March 2013 03:56  |
Eclipse User |
|
|
|
Hi,
after upgrading to Eclipse Juno SR2 from Juno SR1 I have a problem that some lines were added automatically to my .gitignore. After some time, I have figured out it's caused by a setting "Automatically ignore derived resources".
I do not know the exact purpose of this setting. But we have a Maven project xyz with subprojects xyz-server, xyz-client, xyz-api. Each subproject is in it's folder with the same name, i.e. /xyz-server, /xyz-client, /xyz-api.
And the Egit automatically adds lines to the .gitignore:
/xyz-server
/xyz-client
/xyz-api
I think it's wrong for such Maven project. I had to switch off the setting "Automatically ignore derived resources"
Cheers
Andy
|
|
|
|
|
|
Re: Automatically ignored Maven subprojects [message #1058162 is a reply to message #1057943] |
Sun, 12 May 2013 14:43  |
Eclipse User |
|
|
|
Marty Pitt skrev 2013-05-10 01.36:
> I've just found the same issue - took me ages to track it down. Eventually, after running sudo fs_usage | grep .gitignore it pointed me to STS.
>
> Egit should not be treating maven sub-projects as derived resources, as they're simply just subfolders containing source assets.
>
> Is there a bug filed for this anywhere?
I don't think so, and I have not seen it so please submit a bug report with a sample repo, or point so an existing one
that exhibits the problem, so the issue can be reproduced.
-- robin
|
|
|
Powered by
FUDForum. Page generated in 0.04838 seconds