Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Deploy xtext plugin and install the correct version of xtext automatically in the client
Deploy xtext plugin and install the correct version of xtext automatically in the client [message #1382484] Mon, 26 May 2014 01:44 Go to next message
Maicon Zatelli is currently offline Maicon ZatelliFriend
Messages: 10
Registered: March 2012
Junior Member
Hi everyone,

I have a plugin developed using Xtext 2.6.0, however when I create a "Update Site Project" and try to install the plugin in a new eclipse I got problems to get the correct version of Xtext. By default, when I install my plugin, Juno installs Xtext 2.3.1, Kepler installs Xtext 2.4.3, and so on. Of course, I get an error when I try to run my plugin in a different version of Xtext.

I know I could put all the related files of Xtext with my plugin (using the features). But, I'm thinking if it is possible to force my plugin to download the correct version from the update site of Xtext.

Another option that I know could be the user to add the update site of Xtext, but I don't want that the user does it.

How do you guys usually solve this issue?

Best regards,
Maicon
Re: Deploy xtext plugin and install the correct version of xtext automatically in the client [message #1382775 is a reply to message #1382484] Mon, 26 May 2014 04:41 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
hi i dont get the point, a feature can have a required feature and include other features

maybe you should switch to feature.xml + catgeory.xml to build a p2 repo and throw the site.xml away

i dont know a way without

- you delivering all features
- the user providing a update site containing the right features.

eclipse cannot guess how to find stuff.


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Mon, 26 May 2014 04:43]

Report message to a moderator

Previous Topic:difference in IFileSystemAccess.generateFile between Linux and Windows????
Next Topic:Need help getting started on a grammar (again) (SOLVED)
Goto Forum:
  


Current Time: Thu Apr 25 13:53:08 GMT 2024

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

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

Back to the top