BuildingEclipsePlugin
General
- Wiki Home
- FAQ Frequently asked questions
- Examples
- Presentations
- PhilosophyAndVision
- Best practices for using Umple
- Publications and theses
- Tutorials
- Installing Eclipse plugin
Developers
- Developer Setup
- UmpleOnline Setup
- Contribution Process
- Architecture
- Cheat sheet
- Umpleonline manual tests
- Planned development
- DraftManualPages
Server maintenance
External
Other
Clone this wiki locally
Building the Eclipse Plugin (done at every release)
At every release a new version of the Eclipse plugin should be created. People can also create it on their own if they wish to take advantage of updated changes. Instructions on releasing are here
Currently, the Umple build process does not support the automatic build of Umple Eclipse plugin. This has been created as an issue in the Gradle project. Until there is no automatic build process in Ant
or Gradle
, the following steps should be followed to build the Umple Eclipse plugin.
-
Download the latest version of Eclipse and run it. You need to do this if you want to make sure the plugin will work on the latest version of Eclipse. Make sure to install and run the Eclipse IDE for Eclipse Committers for these steps.
-
Import the following three projects found in the Umple git repository into the Eclipse environment: (For each, use the menu item 'Open Projects from File System; use the Directory button to browse, and then select 'Finish')
org.cruise.umple.eclipse.plugin
the main plugin which has a copy of umple.jar in.org.cruise.umple.eclipse.plugin.feature
a feature project required to build the plugin.org.cruise.umple.eclipse.plugin.update.site
a folder which is generated automatically in the build process and used to install the plugin online. -
Replace the
umple.jar
file in the projectorg.cruise.umple.eclipse.plugin
with the latest version of the Umple compiler (download from the Github release page, rename it as umple.jar, drag and drop it, and select 'Overwrite'). -
open
plugin.xml
inorg.cruise.umple.eclipse.plugin
and change the version of the plugin in the taboverview
to be consistent with the current release. -
open
feature.xml
inorg.cruise.umple.eclipse.plugin.feature
and change the version of the feature in the taboverview
. -
select the tab
included plugin-ins
inside the filefeature.xml
and remove the old plugin and add the new one specified in Step 4 (scroll down until org.cruise.umple.eclipse.plugin appears). Set the Version too. -
open
site.xml
inorg.cruise.umple.eclipse.plugin.update.site
and remove the old feature in the tabsite Map
(select Remove from the popup menu). Then select UmpleEclipsePlugins and add the new feature (specified in Step 5) to the same hierarchy. -
click on
Build All
in the tabsite Map
. -
The whole updated website files will be created and can be seen inside
org.cruise.umple.eclipse.plugin.update.site
. -
Replace the content of the Umple Eclipse plugin's update site (in the cruise server) with the content of
org.cruise.umple.eclipse.plugin.update.site
(to do this, zip the directory, ftp to the cruise server and replace it) -
It is done. The final step is to install and test. Instructions to install are here: Installing Eclipse plugin