It is also picking up some small things like: - https://github.com/geoserver/geoserver/pull/5160 old community module profile to remove - community/jms-cluster has an activemq profile which is activeByDefault
But by far the biggest trouble is interaction with errorProne, which seems to engage even if the profile is not active. -- Jody Garnett On Sun, 18 Jul 2021 at 17:11, Jody Garnett <jody.garn...@gmail.com> wrote: > I started this email back in ... May. I keep hoping to have some insight > into how to make working with GeoServer not horrible in IntelliJ. > > Our notes on how to work with IntelliJ are not holding up: > https://docs.geoserver.org/stable/en/developer/quickstart/intellij.html > > Since I am probably not the only one struggling I am collecting some notes > here > <https://docs.google.com/document/d/1JK-EJsWlGAPZPkkwRxzJj7R3hCoGOhRNkQeRZ2JfJMk/edit?usp=sharing> > we > can use to update the docs. > ---- > > Trying things out: > > 1. Compile once on the command line for the generated sources directories > to be present. The option to "generate sources and update folders for all > projects" does not seem to work consistently. > > 2. Review the profiles, enabling any I plan to work on, and then use > "reload all maven projects". > > 3. Build, by default this produces an internal java compiler error > > 4. Install IntelliJ error prone plugin > https://plugins.jetbrains.com/plugin/7349-error-prone-compiler > > Allows to build projects using Error Prone Java compiler to catch common > Java mistakes at compile-time. To use the compiler, go to 'File | > Settings/Preferences | Build, Execution, Deployment | Compiler | Java > Compiler' and select 'Javac with error-prone' in 'Use compiler' box. > > > 3. Changing compiler to "errorprone " allows build to proceed, but there > are two failures: > Mitigation: > > 5. When working with Java 8 errorprone8 is selected by default, > unselecting this profile and building again ... still produces the failures > above. > > 6. Commenting out errorprone profiles from pom.xml and src/wcs1_1/pom.xml > allow the system to compile, but the results does not run > > -- > Jody Garnett >
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel