Dashboard > Admin > Home > 04 Project Procedures > Exporting Extras
Admin
Exporting Extras
Added by Jody Garnett , last edited by Jody Garnett on Jun 02, 2008  (view change)
Labels: 
(None)

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

  1. Custom code included with the extras download is located in our svn repository:
  2. 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
  3. Select the above plug-ins and choose the File > Export
  4. Select the Deployable plug-ins and fragments Wizard and press Next
  5. On the Deployable plug-ins and fragments page:
    • Ensure the plug0ins are checked off
    • Choose Directory and C:\java\extras
  6. Press Finish

The C:\java\extras folder will be created with the following structure:

  • plugins \

Download and Unzip

  1. 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
  2. Carefully unzip these files into your new C:\java\extras folder

Grab a Fresh Eclipse and Install Plugins into Extras

  1. Unzip a new Eclipse as outlined 03 Eclipse for RCP Developers
  2. Run this new eclipse; we will be using it to install features into our extras folder
  3. Open up Help > Software Updates > Find and Install
  4. 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

Zip up Extras

  1. Use a zip program that can handle it; like 7zip; and bundle up your extras folder
  2. Rename it to match the version of eclipse used; example extras-3.3.2.zip
  3. Upload for others

Powered by a free Atlassian Confluence Open Source Project License granted to uDig. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators
User-friendly Desktop Internet GIS