eclipse xtext plugin versions compatibility with eclipse IDE - eclipse

I made a plugin in eclipse juno using xtext, I package my plugin using the following tutorial: http://www.vogella.com/articles/EclipsePlugIn/article.html#p2deployplugin ... sec 6.Create update site for your plug-in and I install it in the same version of eclipse IDE and the installation was successful. I need install it in others versions of eclipse's (Helios, Galileo, etc.) but when i try to install in Helios appear the following message:
Cannot complete the install because one or more required items could not be found.
Software being installed: MView Source 1.0.0.201308011127 (MView.feature.group 1.0.0.201308011127)
Missing requirement: MView Source 1.0.0.201308011127 (MView.feature.group 1.0.0.201308011127) requires 'org.eclipse.xtext 2.0.0' but it could not be found.
I searched for org.eclipse.xtext 2.0.0 jar to add to the dependencies but i dont found it.
I don't know if this will work but I wanted to ask if there are some way to make my plugin compatible with various versions of eclipse IDE and how. compatible with backward versions and forward versions. I would appreciate any information about it. Sorry for my English Thank you very much. =)

If an Eclipse installation does not contain Xtext, you need to provide Eclipse with the URL of the plugin repository (sometimes called update site) where it is located. That will enable Eclipse to discover and install your dependencies when installing your plugin. You can find the URLs that you need on Xtext website.
http://www.eclipse.org/Xtext/download.html

Try to see the version of XTEXT plugin in both of eclipse instalations:
Help > About Eclipse > Installation Details.
In Plugins tab, search for Xtext UI Core
Sorry my english.

A complete overview on:
All XText versions
The dependent XText core component versions
The corresponding Eclipse platform version
Links to the appropriate download / update sites
can be found here: XText versions, dependencies and Eclipse platform matrix
An pretty useful example for a target platform configuration is there as well!

Related

Maven for Eclipse plugin m2ecplise installation

I want to try out this websocket implementation:
https://jwebsocket.org/documentation/installation-guide/eclipse
The project is provided with maven. Thus I want to install the m2eclipse plugin as suggested on their site.
The problem is that the provided link does not work:
http://m2eclipse.sonatype.org/sites/m2e
I also tried this one:
http://eclipse.org/m2e/download/
Both are not working.
Can someone give me a hint how to install this plugin?
That information is outdated, referring to Eclipse 3.3 and 3.5.
Maven integration is part of Eclipse itself now. If you download a current Eclipse bundle it can be part of it. http://www.eclipse.org/downloads/compare.php?release=kepler
If you downloaded the "classic" version go to Help > Install New Software, select the update site for your version (should be "Kepler") and select the Maven integration via filter or category ("Collaboration").

spring development - with or without eclipse + checking eclipse version

Several tutorials mention that you can download spring in a tarball
and install it on your computer but when I go to the springsource
site all I can see is that you can download Spring Tool Suite
which is an eclipse plugin. So my questions are:
What if I wanted to work from the command line or an IDE other than eclipse?
The packages are available for Juno 3.8.2 or Juno 3.4.2, but how can I find
out my eclipse version? I've downloaded the most frequently downloaded version
of eclipse which is the one for Java EE developers but when I click on the Help
-> About entry I get:
Version: Juno Service Release 2
Build id: 20130225-0426
which does not match the eclipse versions on the springsource site 3.8.2 or 3.4.2,
so how do I know which plugin I need?
Thanks.
You can find out your Eclipse version by going to Help -> About Eclipse...
In the dialog that pops up, you will see something like:
Version 4.2.2
or
Version 3.8.2
If you downloaded the most commonly downloaded version, then you most likely have 4.2.2. The "Juno" release actually has distributions built for both 3.8.x and 4.2.x (a little complicated and confusing, I know). So, you should be able to install the Juno version of STS and be fine no matter what which version of Juno Eclipse you have.
EDIT
Your question is not very clear. I thought you were asking about how to install STS, but maybe you are asking about whether or not Eclipse is necessary at all. The answer is that of course, Eclipse is not necessary for Spring development, but it really is the easiest way to develop your spring apps (disclaimer, I am on the STS dev team).
There is no single way to just "downlaod the SpringFramework" because the framework is really just a very large set of jar files and their dependencies. Any single project typically only requires a subset of them as well as requiring other third party dependencies. For this reason, most people prefer working with a build tool like gradle or maven.
Probably the easiest way to get started w/o STS is to clone one of the sample projects from github. A list of the templates are available here: http://dist.springsource.com/release/STS/help/descriptors-3.0.xml which is obvioulsy meant to be consumed from inside of STS. But, you can use the file to grab links to the various github projects.
The Springsource Tool Suite (STS) is not required for developing with Spring. If the question is how you would install the STS, that's actually very easy. In Eclipse 3.7 (Indigo) or 3.8, 4.2 (Juno), click on the Help menu and select Eclipse Marketplace. If its not in the inital screen, use the find box type spring and click go which should bring up the the STS with the version of eclipse it is for in the title. Click install and the correct version and its dependencies will be installed for you. Try to use the eclipse marketplace for all the plugins you install, if possible. It makes things much simpler

Is there a simple XML editor w/ syntax highlighting?

I use Eclipse daily in a VERY limited scope, I would consider myself an Eclipse newbie.
Update: I'm looking for a plugin for eclipse, not an external application (e.g. Notepad++)
Eclipse Info:
Version: 3.5.0
Build id: I20090611-1540
Installed Plugins:
CollabNet Merge Client 1.10.0 com.collabnet.subversion.merge.feature.feature.group
Eclipse SDK 3.5.0.I20090611-1540 org.eclipse.sdk.ide
JSEclipse 1.5.5 com.interaktonline.jseclipse.feature.group
Mylyn Bridge: Eclipse IDE 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.ide_feature.feature.group
Mylyn Bridge: Team Support 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.team_feature.feature.group
Mylyn Connector: Bugzilla 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.bugzilla_feature.feature.group
Mylyn Task List (Required) 3.2.1.v20090722-0200-e3x org.eclipse.mylyn_feature.feature.group
Mylyn Task-Focused Interface (Recommended) 3.2.1.v20090722-0200-e3x org.eclipse.mylyn.context_feature.feature.group
NetSuite SuiteScript IDE 1.0.2 com.netsuite.ide.feature.group
Subclipse (Required) 1.6.4 org.tigris.subversion.subclipse.feature.group
Subclipse Integration for Mylyn 3.x (Optional) 3.0.0 org.tigris.subversion.subclipse.mylyn.feature.group
Subversion Client Adapter (Required) 1.6.4 org.tigris.subversion.clientadapter.feature.feature.group
Subversion JavaHL Native Library Adapter (Required) 1.6.4 org.tigris.subversion.clientadapter.javahl.feature.feature.group
Subversion Revision Graph 1.0.7 org.tigris.subversion.subclipse.graph.feature.feature.group
SVNKit Client Adapter (Not required) 1.6.4 org.tigris.subversion.clientadapter.svnkit.feature.feature.group
I use eclipse for editing javascript files. I'm not a web developer, I develop custom applications for a popular web based ERP application and they're written in javascript. I use JSEclipse (I know it's old, but I still haven't found anything better, including Aptana) with Eclipse classic.
I do sometimes need to edit xml files and even less frequently the source of html files. Currently when I open these files in Eclipse they are displayed as just basic text. No syntax coloring and the Outline window has nothing to say about the doc. I've been googling for about 20 minutes and I'm having a hard time just finding a simple plug-in that I can use with my current installation that will provide syntax hilighting. I suspect there must be one out there, but my searches are missing it somehow...
I don't want to install a different version of Eclipse, I have 3 workstations configured with my environment and don't want to stir everything up. I tried installing the "Eclipse XML Editors and Tools" from the WebTools project but it failed out with several missing dependencies.
Here are the detailed error messages:
Cannot complete the install because one or more required items could not be found.
Software being installed: Eclipse XML Editors and Tools 3.2.4.v201103170600-7H7AFUaDxumQJOs8hggQZ6_jl1EOJGNlUsOsTM (org.eclipse.wst.xml_ui.feature.feature.group 3.2.4.v201103170600-7H7AFUaDxumQJOs8hggQZ6_jl1EOJGNlUsOsTM)
Missing requirement: Structured Source Editor 1.2.4.v201103231819 (org.eclipse.wst.sse.ui 1.2.4.v201103231819) requires 'bundle org.eclipse.jface.text [3.6.0,4.0.0)' but it could not be found
Cannot satisfy dependency:
I'm concerned about starting a "dependency chase" and before I know it I've installed a handful of things that will have who-knows-what impact on things.
Does anyone know if a simple, lightweight plugin that I can install from the "Help > Install New Software..." tool in Eclipse?
Have you consider this one?
http://editorxml.sourceforge.net/
Best Regards!
The XML editor from the WebTools project is the way to go. Since you didn't post the exact problem that you encountered when trying to install this plugin, I cannot help you further. I suggest that when you encounter a problem installing a certain plugin that you post the following information:
The exact details of what you have installed. Base version is a start, but you should also include which package you installed and general description of other plugins you installed into it.
The exact error message you got during plugin installation.
BTW: Eclipse 3.5.0 is very old. Version 3.6.2 is out already and 3.7.0 is going to be out in a few days. At the very least, you should run search for updates and move to version 3.5.2.
Update: Based on the provided error information, it looks like you are trying to install the version of XML editor that goes with Eclipse 3.6. Make sure that you install from the following repository and disable "check other repositories" option in the install dialog.
http://download.eclipse.org/releases/galileo/
If you accept editors outside of Eclipse (I had to read the whole story to see "plugin"...), I just use SciTE, and Notepad++ should do a similar job.
For real XML editing, I found Exchanger XML Editor to be quite efficient.
Shouldn't Eclipse be able to edit XML natively? It should colorize them if they are in a project, I think. I should try...
[EDIT] Indeed, it works. But I use Eclipse Helios for Java developers, perhaps it has some goodies from a base Eclipse.
In my configuration, it opens by default XML files in outline mode. Strangely, if I open them with a text editor, I have no syntax highlighting. I have that with the Ant editor, but then it will report errors (probably checking the DTD/schema).
Free, opensource. Works with 4.5. http://www.gstaff.org/colorEditor/
LiClipse (http://brainwy.github.io/liclipse) provides a lightweight XML editor that provides syntax highlighting just fine.
-- i.e.: it's target is exactly providing lightweight editors for a many languages in Eclipse (note that it's commercial)

How do I determine the update site/source of an installed Eclipse plugin?

How do I determine the update site/source of an installed Eclipse plugin?
For example, in one of my development versions of Eclipse I have the plugin org.hamcrest.library. From Help - About Eclipse - Installation Details - Plug-ins I can determine that the provider is Eclipse.org, but is it possible to determine the feature or update site from where it came so I can install this in a separate version of Eclipse I have?
All third-party open source bundles that are used by Eclipse are managed by Orbit project. You can install them from Orbit Repository.

Newbie setting up eclipse. How do I add java IDE to a c++/c packaged version of eclipse

I'm new to eclipse, perfer netbeans actually, but android tutorials use eclipse.
The eclipse website is a mess and just confuses me. What projects do I need to install to have the same functionality as the eclipse package for java devs.
Any help is much appreciated.
I would recommend downloading a classic package (bottom of the page). Or you could add JDT to your version.
You can use the EPP Packages Repository in Eclipse to install the EPP Java Package.
It's the same package as proposed on the Eclipse Download page but it will download only the required files.
The Update site URL for EPP Packages for Galileo is :
http://download.eclipse.org/technology/epp/packages/galileo