Since I am probably not the only one struggling I am collecting some notes here we can use to update the docs.
Trying things out:
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.
Review the profiles, enabling any I plan to work on, and then use “reload all maven projects”.
Build, by default this produces an internal java compiler error
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.
Changing compiler to "errorprone " allows build to proceed, but there are two failures:
Mitigation:
When working with Java 8 errorprone8 is selected by default, unselecting this profile and building again … still produces the failures above.
Commenting out errorprone profiles from pom.xml and src/wcs1_1/pom.xml allow the system to compile, but the results does not run
Hi Jody,
I’m wondering if you’re using an outdated maven version, or it’s just IntelliJ that hasn’t caught up
with how activations with multiple conditions are supposed to work? See here: https://issues.apache.org/jira/browse/MNG-4565
Commented on it. Maybe if many of us add votes or comments it will move faster… or, since
the community edition is an opens source project, maybe doing a PR.
Since I am probably not the only one struggling I am collecting some notes here we can use to update the docs.
Trying things out:
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.
Review the profiles, enabling any I plan to work on, and then use “reload all maven projects”.
Build, by default this produces an internal java compiler error
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.
Changing compiler to "errorprone " allows build to proceed, but there are two failures:
Mitigation:
When working with Java 8 errorprone8 is selected by default, unselecting this profile and building again … still produces the failures above.
Commenting out errorprone profiles from pom.xml and src/wcs1_1/pom.xml allow the system to compile, but the results does not run
Hi Jody,
I’m wondering if you’re using an outdated maven version, or it’s just IntelliJ that hasn’t caught up
with how activations with multiple conditions are supposed to work? See here: https://issues.apache.org/jira/browse/MNG-4565
Commented on it. Maybe if many of us add votes or comments it will move faster… or, since
the community edition is an opens source project, maybe doing a PR.
Since I am probably not the only one struggling I am collecting some notes here we can use to update the docs.
Trying things out:
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.
Review the profiles, enabling any I plan to work on, and then use “reload all maven projects”.
Build, by default this produces an internal java compiler error
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.
Changing compiler to "errorprone " allows build to proceed, but there are two failures:
Mitigation:
When working with Java 8 errorprone8 is selected by default, unselecting this profile and building again … still produces the failures above.
Commenting out errorprone profiles from pom.xml and src/wcs1_1/pom.xml allow the system to compile, but the results does not run