Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: UDIG 1.2.M8
-
Fix Version/s: UDIG 1.2.1
-
Component/s: visualization using map layer and style
-
Labels:None
Description
The RCP-Tutorial has two aims in the training course:
- demonstration of mixing uDig into your existing RCP application
- show how to use the MapViewer component
- Advanced: Explore use of tiled renderer
- Advanced: Use of a glass pane from the sea gulls tutorial...
The tutorial is made up of:
- net.refractions.udig.tutorials.rcp
- net.refractions.udig.tutorials.rcp-feature
The "feature" needs to gather up all the udig dependencies into one happy bundle for the application to run .. this needs to be updated for Eclipse 3.5.1 plugins.
Workaround - let the launch fail once, and then open up Run Configuration and hit add required plugins. We do need to add all these plugins to the feature for the release of the rcp application as a stand alone app.
With that patch applied here is what I get against M8....
1. Opened up "rcp.product" and hit Launch an Eclipse application
2. Watch it fail ... since we have not updated the dependencies for Eclipse 3.5.1 yet ...
3. Open up the "Run Configurations" and "Add the Required Plugins"
4. On mac I added -d32 as a VM argument to force Java to be 32 bits ... to match the copy of SWT I was using
5. And then press Run
6. The third action in the tool bar is "Open Map"
7. Added a background layer from a file, countries.shp
8. Pan and Zoom worked ( but did not change the cursor for me - which is another problem)
9. Hitting print map layers resulted in:
(name: countries), isvisible: true