typhon-project / typhondl

http://www.typhon-project.org
Eclipse Public License 2.0
1 stars 0 forks source link

Maven build config #1

Closed nemo-js closed 5 years ago

nemo-js commented 5 years ago

I have added .pom files to enable command line build of the plugins (using maven). I got an error in the GenerateTyphonDL.mwe2 related to the rootPath. I changed it to point to the current folder ('.') instead to the parent ('..'). Will this cause any problem to you? Thanks

MarieSaphira commented 5 years ago

Hi, unfortunatly I get an error and can't generate Xtext Artifacts when changing the rootPath to the current folder: The project's path './de.atb.typhondl.xtext' does not exist The GenerateTyphonDL.mwe2 is automatically created like that when creating a new Xtext-Project via the New Project wizard, I haven't changed the rootPath.

nemo-js commented 5 years ago

Hello, thanks for the feedback. Can you please tell me how you generate the artifacts so I can test it myself? I run it from the eclipse environment and seems to work fine. Thanks in advance

MarieSaphira commented 5 years ago

Hi, I do a right-click on the grammar file and choose Run -> Generate Xtext Artifacts. We are quite new to Xtext, is there another way?

nemo-js commented 5 years ago

Thank you very much, now I can replicate it. I was building it from command line using maven. I will come back with a new merge request when it works both ways

nemo-js commented 5 years ago

I managed to pass rootPath as a parameter, so I reverted GenerateTyphonDL.mwe2 back. Please check the pull request and if it is ok apply it.