Dashboard > Admin > Home > 02 Development Environment > 10 Running the Main Application
10 Running the Main Application Log In | Sign Up   View a printable version of the current page.

Added by Richard Gould , last edited by Graham Davis on Jun 27, 2008  (view change)
Labels: 
(None)

Running as Product

  1. Navigate to the net.refractions.udig plugin
  2. Open up udig.product
  3. Switch to the Configuration tab
  4. Remove rcp
  5. Click Add
  6. Select rcp
  7. Press OK
  8. Save the MANIFEST.MF
  9. Switch back to the Overview tab
  10. Under "Testing" press Synchronize
  11. Under "Testing" press Launch the product

This will set up a launch configuration (with all the required plugins) and start up the udig application.

If you have any difficulities with this step please review:

Running by Hand (Optional)

You can also set up a launch configuration by hand (or edit the one generated by udig.product) as follows:

  1. Select Open Run Dialog... (older versions of Eclipse might say Run...) from the Run menu.
    (This will also set you up for debugging)
  2. Select Eclipse Application from the list of Configurations on the left
    1. Press New to create a new Application
    2. Name your Application: Go| |
  3. On the Main tab:
    1. select the clear workspace data before launching checkbox (This is only necessary the first time the application is being run)
    2. select the run a product radio button in the Program to Run area
    3. select net.refractions.udig.ui.products from the drop down list beside the run a product label
  4. On the Arguments tab:
    1. In addition to what is there already, you can add a range of Program Arguments for different effects:
      -consoleLog for output to the console, very helpful when debugging
      -nl de To try out uDig in German
      ( other languages: de, en, es, fr, nl, ko, ... )
    2. Enter the following VM Arguments:
      -Dosgi.parentClassloader=ext Used to to let uDig see the JRE boot classpath where JAI and ImageIO are installed
    3. You can add a range of additional VM Arguments
      -Xmx512m To increase the amount of available memory, useful when working with rasters

  5. On the Plug-ins tab
    1. Select the Include fragments when computing required plug-ins and fragments..*
    2. In the tree pane below select uDig plugins from your workspace
      (You should exclude the test plugins)
      (You should exclude the tutorial plugins - unless you want to review how they work)
    3. Deselect all the External Plug-ins
    4. Click Add Required Plug-ins to ensure a minimal set of plug-ins for your Application
  6. On the Configuration tab
    • Check Clear the configuration area before launching
    • Select Generate a config.ini file with default content
  7. Press the Run button and enjoy!

Previous: 09 Your first build

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