Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] New test folder are not recognized in eclipse

thanks either of you for your answers.

we are not committing .classpath as we have generated sources and committing the .classpath would mess up with that.

Adding new sources folders shouldnt be happen too often, so I guess with a simple message among the developers its fine.

Thanks



-----Original Message-----
From: COHEN, STEVEN M (ATTSI) (ATTSI) <sc1478@xxxxxxx>
To: Maven Integration for Eclipse users mailing list <m2e-users@xxxxxxxxxxx>
Sent: Mon, Jan 10, 2011 3:42 pm
Subject: Re: [m2e-users] New test folder are not recognized in eclipse

Are you committing the .project and .classpath files?  These are, I
believe, hidden by default. I think it is better to unhide them and
commit them. Of course, if you do this, you will need to be careful to
remove any hardcoded user paths from the classpath or standardize these
paths among all developers but well worth the effort in my opinion.

-----Original Message-----
From: m2e-users-bounces@xxxxxxxxxxx
[mailto:m2e-users-bounces@xxxxxxxxxxx] On Behalf Of Igor Fedorenko
Sent: Monday, January 10, 2011 8:27 AM
To: m2e-users@xxxxxxxxxxx
Subject: Re: [m2e-users] New test folder are not recognized in eclipse

Not in m2e 0.10.x/0.12.x and most likely not in 1.0 either.

--
Regards,
Igor

On 11-01-10 09:20 AM, mremersoncod@xxxxxxx wrote:
> HI,
>
>
> we use Eclipse 3.6 with m2eclipse 0.10.2 and Maven 2. When in a
project
>
> someone adds as new folder "src/test/java" it is automatically
recognized as
>
> source folder and works.
>
>
>
> If someone else checks the the changed structure from SVN the folder
is
>
> retrieved, but Eclipse/m2Eclipse does not recognize it as a source
folder
> and its missing from the Java Developer View. It is there as one can
see it
>
> in the Navigator view.
>
>
> The workaround is to call "Maven->Update Project Configuration" on the
>
> project and then the source folder is recognize.
>
>
> Is there a better way ? Because running it manually on every change is
quite hard.
>
>
>
> Thanks for any hint
>
>
>
>
>
>
>
>
>
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top