Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Strange behaviour with WTP Integration and "Update Project Configuration"?

Any project referenced by a web project in Eclipse must be a utility project (unless it's an EJB project)
You can check that with genuine eclipse projects. It's the WTP way.

That's why when a project is added as a dependency to a maven war project, the utility facet is automatically added if not present.
The fact you can't access the utility classes is more problematic. What version of m2e-wtp are you using?
Can you try running Maven > Update project configuration on this project too?

Regards

Fred Bricon

2011/4/28 <Bernd.Vogt@xxxxxxxxxxxx>
Hi,

I have two projects Webapp (packaging war) and Utilities (packaging
jar), where Webapp depends on Utilities and both are contained in my
workspace.

After triggering the "Update Project Configuration" action on the Webapp
project the Utilities projects was touched also. Actually, it was
converted to an WTP project... After that the Utilities project was
visible unter the "Web App Libraries" container of the Webapp project
but I couldn't access the classes of the Utilities project within the
Webapp.

The fact that the Utilities project will be converted to an WTP project
when triggering "Update Project Configuration" on the Webapp project,
seems rather strange to me. Is this the expected behaviour?

Regards,
Bernd

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



--
"Have you tried turning it off and on again" - The IT Crowd

Back to the top