Packaging up the "extras" download is currently done by hand, although it would be a great candidate for automation.
Update our Custom Plugins
Maven Ant Tasks
We have bundled up the maven-ant-tasks jar as a platform extension; this allows our "refresh.xml" ant script to fetch jars from the maven repository.
If a new version of maven comes out:
- add the jar to libs, and remove the old one
- change the version number in the MANIFEST.MF
- change the plugin.xml file to advertise the jar to eclipse
plugin.xml
<?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.2"?> <plugin> <extension point="org.eclipse.ant.core.extraClasspathEntries"> <extraClasspathEntry eclipseRuntime="false" library="lib/maven-ant-tasks-2.0.9.jar"> </extraClasspathEntry> </extension> </plugin>
net.refractions.udig.dev
You can export the Home contents into extras/net.refractions.udig.dev following
the Export Online Help procedure.
Creating Extras
Exporting our Custom Plugins
- Custom code included with the extras download is located in our svn repository:
- Check out this code and import it into your workspace, at the time of writing this included:
- net.refractions.udig.dev
- org.apache.maven-ant-tasks
- Select the above plug-ins and choose the File > Export
- Select the Deployable plug-ins and fragments Wizard and press Next
- On the Deployable plug-ins and fragments page:
- Ensure the plug0ins are checked off
- Choose Directory and C:\java\extras
- Press Finish
The C:\java\extras folder will be created with the following structure:
- plugins \
Download and Unzip
- The page 03 Eclipse for RCP Developers has instructions on how to obtain the following:
- eclipse-RCP-3.3.2-delta-pack.zip
- ResourceBundleEditor_v0.7.7.zip
- NLhack-eclipse-SDK-3.3.1.zip
- Carefully unzip these files into your new C:\java\extras folder
Grab a Fresh Eclipse and Install Plugins into Extras
- Unzip a new Eclipse as outlined 03 Eclipse for RCP Developers
- Run this new eclipse; we will be using it to install features into our extras folder
- Open up Help > Software Updates > Find and Install
- Follow the directions here 06 Additional Eclipse Plugins with the following changes:
- When performing the Install step, press Change Location and add C:\java\extras as a new install location
- You can select multiple entries; as shown below
- When performing the Install step, press Change Location and add C:\java\extras as a new install location
Zip up Extras
- Use a zip program that can handle it; like 7zip; and bundle up your extras folder
- Rename it to match the version of eclipse used; example extras-3.3.2.zip
- Upload for others