Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to create my plug-in ?
How to create my plug-in ? [message #1747966] Thu, 17 November 2016 10:47 Go to next message
Pascal Lacabanne is currently offline Pascal LacabanneFriend
Messages: 17
Registered: November 2016
Junior Member
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 148 times)
Re: How to create my plug-in ? [message #1747968 is a reply to message #1747966] Thu, 17 November 2016 11:01 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14722
Registered: July 2009
Senior Member
Hi, Can you share what you actually do on export? Which options did you choose in the create xtext project wizard?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
Re: How to create my plug-in ? [message #1747971 is a reply to message #1747966] Thu, 17 November 2016 11:05 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

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



+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Re: How to create my plug-in ? [message #1747982 is a reply to message #1747971] Thu, 17 November 2016 12:40 Go to previous messageGo to next message
Pascal Lacabanne is currently offline Pascal LacabanneFriend
Messages: 17
Registered: November 2016
Junior Member
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 #1747984 is a reply to message #1747982] Thu, 17 November 2016 12:51 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14722
Registered: July 2009
Senior Member
ill recommend you to use maven as build system.
from the error message you gave i have no idea whats wrong with your installation


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
Re: How to create my plug-in ? [message #1747989 is a reply to message #1747982] Thu, 17 November 2016 13:43 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

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.



+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Re: How to create my plug-in ? [message #1748049 is a reply to message #1747989] Fri, 18 November 2016 08:24 Go to previous messageGo to next message
Pascal Lacabanne is currently offline Pascal LacabanneFriend
Messages: 17
Registered: November 2016
Junior Member
Thanks for your answer. I tried it yesterday but did not work.
I suppose I have to do that : https://www.eclipse.org/Xtext/documentation/350_continuous_integration.html
before to use the Maven build.
Re: How to create my plug-in ? [message #1748078 is a reply to message #1748049] Fri, 18 November 2016 10:58 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14722
Registered: July 2009
Senior Member
no you can select it in the new project wizard

select maven as build system and enable "create feature" und "create updatesite"


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Day Job: https://www.everest-systems.com
Previous Topic:Mark errors in the builded with the ant and maven plugins which use xtext
Next Topic:Understanding the Web Services
Goto Forum:
  


Current Time: Sat Oct 12 09:12:03 GMT 2024

Powered by FUDForum. Page generated in 0.04551 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top