-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation errors #5
Comments
Sure. The plan is to come up with a Isis Script Maven plugin which generates the Java code (currently the Java code is generated via Eclipse only!!!) and adds the output folder
As a workaround use the Build Helper Maven Plugin to add the output folder. |
Btw. the |
Thanks Do you have an example of a working pom? I've tried with the builder helper plugin, but - well I must have it mis-configured. |
Nope, without an Isis Script Maven plugin (which generates the Java code duing a Maven build - currently the Java code is generated from within Eclipse via the Isis Script Eclipse editor only!!!) a Maven project will not work. After executing "mvn clean" the generated Java code is gone. |
As mentioned in #6 using the generic xtext-maven-plugin should be sufficient. Maybe you can give it a try. Don't forget to check-out the project and run |
Please have a look into the POM of the simpleapp example. |
I have replaced the example SimpleObject class with the example in the readme, and the code generates fine - looks good.
However, when trying to run, I get the following:
Do I need to add the path to the generated source in the pom? If yes, where/how should I do that? I have tried adding:
but this did not help.
Thanks
The text was updated successfully, but these errors were encountered: