Skip to main content



      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] Sun, 25 May 2014 21:44 Go to next message
Eclipse UserFriend
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 00:41 Go to previous message
Eclipse UserFriend
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.

[Updated on: Mon, 26 May 2014 00:43] by 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: Wed Jul 23 16:26:41 EDT 2025

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

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

Back to the top