Windup Eclipse Plugin
The Windup Eclipse Project provides Eclipse plugins to integrate the Windup project with Eclipse.
Right now the only way to install the plugin is to get the code, compile it, and then drop the built plugin into the dropins folder of your Eclipse install.
The easiest way to get started with the code is to create your own fork, and then clone your fork:
$ git clone [email protected]:<you>/windup-eclipse-plugin.git
$ cd windup-eclipse-plugin
$ git remote add upstream git://github.com/windup/windup-eclipse-plugin.git
At any time, you can pull changes from the upstream and merge them onto your master:
$ git checkout master # switches to the 'master' branch
$ git pull upstream master # fetches all 'upstream' changes and merges 'upstream/master' onto your 'master' branch
$ git push origin # pushes all the updates to your fork, which should be in-sync with 'upstream'
The general idea is to keep your 'master' branch in-sync with the 'upstream/master'.
This project has a dependency on the windup project which does not have an official release in any maven repository yet. Therefor the only way to build this project is to first download and build the windup project.
The tests of this project require the org.jboss.tools.tests project. The recommended way to deal with this is to clone https://github.com/jbosstools/jbosstools-base locally and then import the org.jboss.tools.tests project into your Eclipse workspace.
This command will then run the build:
$ mvn clean verify
If you just want to check if things compiles/builds you can run:
$ mvn clean verify -DskipTest=true
But do not push changes without having the new and existing unit tests pass!
The Windup engine is resource intensive. I found I have had to increase the memory settings when launching Eclipse from the debugger to keep from running out of memory.
When debugging am currently using:
-Xms1024m -Xmx1536m -XX:MaxPermSize=512M
These settings will need to be optimized at some point.
These are the steps to release a new version of the plugin
- Update the version of the plugin to the release version
$ mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=2.0.0
- Build the plugin
$ mvn clean verify
- Perform an installation test of the plugin
- Test the plugin UI contributions
- Commit the release version change
- Create a new Github release https://github.com/windup/windup-eclipse-plugin/releases/new
- Update the version of the plugin to the next SNAPSHOT
$ mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=2.1.0-SNAPSHOT
- Commit the snapshot version change
- Continue development on next release