Replies: 2 comments 3 replies
-
This is a bit problematic, on one side we slowly improve the GlassFish build, on the second side Eclipse IDE improves too, especially the m2e plugin. The latest m2e improved again, while previous version had issues with hiding "derived". Basically you need the lifecycle file and configure it the way you see as the right for your case. When you press CTRL+1 on an error, Eclipse gives some suggestions. There are also inactive parts with tests for GlassFish 2, which we still did not delete. Until GlassFish 6 especially clusters did not work properly while they worked well in Sun GlassFish Enterprise server; these tests could be used as an inspiration to write new tests using TestContainers (I have such plan and I already have some locally). On the other hand we could simply delete them and just mention some link/hash/tag/branch where it happened. This step could resolve part of those errors and it could make git clone bit faster too. What I usually do is that I am importing all projects in the tree, but first I am building them with But having the discussion on this theme might be really useful :-) |
Beta Was this translation helpful? Give feedback.
-
Note that GlassFish also has a special debug project that includes all sources: https://github.com/eclipse-ee4j/glassfish/tree/master/appserver/featuresets/debug |
Beta Was this translation helpful? Give feedback.
-
My current approach for using Eclipse IDE for Glassfish source code development is as follows:
Install java, maven and build all of Glassfish
Install Eclipse
This works when opening a few maven modules at a time / being selective in which modules I open, but importing all of them does not work for me. Which prevents me from looking around all code in a simple manner.
Main issue is: a few build path problems and quite a lot of m2eclipse 'mojo' errors.
Example:
Are there any tips for using Eclipse for Glassfish source code development?
Beta Was this translation helpful? Give feedback.
All reactions