How to create my plug-in ? [message #1747966] |
Thu, 17 November 2016 10:47  |
Eclipse User |
|
|
|
Hello,
I created my DSL and tested it with "Eclipse Application". It works correctly.
Now, I would like to export it in a plug-in. I do not know how do that:
- can you explain me the different steps (It 's my first plug-in)
In the attachment, you find my error message
Thank you
Pascal
Attachment: Problem.jpg
(Size: 89.70KB, Downloaded 151 times)
|
|
|
|
Re: How to create my plug-in ? [message #1747971 is a reply to message #1747966] |
Thu, 17 November 2016 11:05   |
Eclipse User |
|
|
|
Pascal,
do you use a build system?
You can select it in the "New Xtext project" wizard.
I would suggest to select the following in the wizard:
- create feature
- create updatesite (<- this will allow you to distribute your language)
- build system = "maven"
- source layout ="plain"
After running the maven build you will get an update site in:
org.xtext.svc.repository/target/repository
|
|
|
Re: How to create my plug-in ? [message #1747982 is a reply to message #1747971] |
Thu, 17 November 2016 12:40   |
Eclipse User |
|
|
|
Thanks for your answer.
Dennis : I do not use build system (Maven, Gradle)
Dennis - Christian : My project had the default option (Eclipse plugin, Generic IDE Support, Testing Support).
I did a new project and added the option Create Feature but the I have the same problem. My project is the default project.
|
|
|
|
Re: How to create my plug-in ? [message #1747989 is a reply to message #1747982] |
Thu, 17 November 2016 13:43   |
Eclipse User |
|
|
|
Pascal,
it's really not easy to write a PDE feature export "How to". The best would be to re-run the new Xtext wizard with a build system selected. After that you can paste you grammar + additional changes in the new created projects
Best regards.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03613 seconds