Created DSL plug-in don't work on a new Eclipse project [message #1742108] |
Wed, 31 August 2016 13:50 |
Márcio Koch Messages: 57 Registered: August 2013 |
Member |
|
|
Hello guys.
I created my DSL, I tested it with "Eclipse Application" and it works fine.
So I have exported my projects as a plug-in, selecting "Deployable plug-ins and fragments" as recomended on the forum and at the xtext documentation. But when I have imported then in a other Eclipse for some tests, they were imported. I created at a new project a new file with my DSL extension but nothing happened. In Eclipse > Installation Detais > Plug-ins it is not shown. If I try to install it through the Help > Install New Software and I point to the directory with the generated plug-in files, Eclipse shows "There are no items available".
Note: I don't have any project with sufix ".sdk" as some comment in some issues at the forum, instead I have a project ".feature".
I have been searched a lot at Google, but without success.
I attached some pictures to facilitate.
I'm gratefull for any help.
-
Attachment: img-02.png
(Size: 27.41KB, Downloaded 257 times) -
Attachment: img-01.png
(Size: 78.88KB, Downloaded 267 times) -
Attachment: img-03.png
(Size: 22.07KB, Downloaded 224 times) -
Attachment: img-04.png
(Size: 74.93KB, Downloaded 229 times)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Created DSL plug-in don't work on a new Eclipse project [message #1771472 is a reply to message #1771467] |
Fri, 25 August 2017 11:32 |
Udeshika Sewwandi Messages: 118 Registered: March 2017 |
Senior Member |
|
|
Hi,
Actually I don't have a .sdk project to create the category definition. What needs to be selected to create the category definition? I have the following projects.
1.mydsl project
2.mydsl.feature project
3.mydsl.ide project
4.mydsl.tests project
5.mydsl.ui project
6.mydsl.ui.tests project
I am using Eclipse Neon.
You have explained earlier to use the .sdk project.
Quote:
the xtext wizard creates a project yourdsl.sdk
this project can be used to create a p2 repository (update site) containing your plugins.
therefore
(1) create a new category definition in the sdk project. give it a name and add the org.xtext.example.mydsl.sdk featur
(2) rightclick on the feature.xml
(3) export -> deployable features
(4) choose a location (folder or zip)
(5) under options choose the category.xml file created before
(6) hit finish
if you add this update site + one containing xtext (you may download the all in one repo zip http://www.eclipse.org/modeling/tmf/downloads/?project=xtext), then p2 should do all dependency magic for you.
[Updated on: Fri, 25 August 2017 11:35] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05311 seconds