Preliminary steps:
- If you have followed the http://udig.refractions.net/confluence/display/UDIG/Project+Quickstart guide you should be ready to go. If not verify that you have the RCP delta pack installed. This allows exports for multiple platforms to be created.
Things to change:
- net.refractions.udig
- about.mappings:
Update with an indicative version number
Update with the release date.
- about.mappings:
Things to confirm:
- all the usual features, plugins, and fragments are imported into your workspace and compile
- net.refractions.udig
- udig.product: (overview tab)
- Product ID = "net.refractions.udig.product"
- Application = "net.refractions.udig.ui.application"
- Product Name = "%product.name"
- The product configuration is based on: features
- udig.product: (configuration tab)
- features are net.refractions.udig and org.eclipse.rcp
- udig.product: (branding tab)
- Launcher Name = udig
- Run... (Plug-ins tab)
- check that plugins are consistent with a normal run environment
- Add Required Plug-ins ?
- Validate Plug-in Set ?
- udig.product: (overview tab)
Export:
- net.refractions.udig/udig.product (overview tab)
- Synchronize
- Eclipse Product export wizard
- Configuration = "/net.refractions.udig/udig.product"
- Root directory = "udig"
- Synchronize before exporting = TRUE
- Archive file = "/path/to/export/udig-VERSION_NUMBER.zip"
- Source Compatibility = 5.0
- Generated .class files compatibility = 5.0
- Include source code = FALSE (usually)
- Export for multiple platforms = TRUE
- Press Next and select your target platforms. Usually:
- linux (ia64)
- linux (gtk/x86)
- macosx (carbon/ppc)
- win32 (win32/x86)
- Press Finish
After the export is complete:
- Run the packaging script on the generated zip files to package the files correctly for each platform. This script adds a JRE to the required releases as well as creating an installer or other bundle depending on the platform.