eclipse / buildship

The Eclipse Plug-ins for Gradle project.
533 stars 172 forks source link

Warn users when java plugin is applied to EAR projects #283

Open donat opened 7 years ago

donat commented 7 years ago

Issue by oehme Thursday Dec 08, 2016 at 09:19 GMT


See https://discuss.gradle.org/t/eclipse-wtp-ear-with-3rd-party-libs/20673/4

If the report is correct, then specifying libraries on the classpath does not work for EAR projects in WTP. That would mean we'd have to go back to putting them in the component descriptor for EAR projects. We should investigate whether this is really the case, using the example the user provided.

donat commented 7 years ago

Comment by donat Friday Dec 09, 2016 at 10:33 GMT


Turns out that the classpath attributes don't work well if they define wtp deployment information. For non-java projects the component descriptor file works fine.

donat commented 7 years ago

Comment by oehme Friday Dec 09, 2016 at 11:06 GMT


Turns out that the classpath attributes don't work well if they define wtp deployment information.

They work fine for WAR projects and EJB projects. They just don't work for EAR projects.