Upgrading Beta Projects to 6.0
From Skyway Wiki
If you took any of the Visual Perspectives Beta versions and built projects there are a few things you should know about upgrading to to the release candiates or the final release version of 6.0.
Contents |
Fixing Build Path Problems
In General
When you take a new version of Skyway Visual Perspectives, it is likely that one or more libraries have changed. We normally increment the version number of our execution jars and sometimes we update versions of products we depend on.
Any time you see build path errors in your Problems view right after updating to a new version, you'll need to adjust the build path of the projects that are failing to compile. The process to fix the build path problems is:
- Right-click on the project in the Skyway Navigator and select Properties.
- Select "Java Build Path" in the tree on the left side of the Properties dialog.
- Select the "Libraries" tab.
- Look for all classpath variables marked with an exclamation mark.
- For each marked variable, select the variable and press the "Edit" button.
- Note the name of the jar file in the "Edit Variable Entry" dialog and press the "Extension..." button.
- Select the newer version of the jar file matching the name you noted above and press "Ok".
Between 6.0 Beta 3 and the Released version of 6.0
Between Beta 3 and the first release candidate of 6.0, we refactored the JAR structure for included libs. We changed projects to use classpath variables instead of putting libraries in the lib folder, and then we re-organized the jar files inside the classpath variables.
This will result in existing projects being flagged as broken, because some libs that were there are no longer in the same place or even in the project. This is super easy to manually fix though and does not require you to make new projects.
- r-click the project and go to properties
- click “Java Build Path”
- click the “Libraries” tab
- remove any libraries that are no longer referenced – such libraries have a different icon and are listed in the problems window
To add libraries that moved and you need:
- r-click the project and go to properties
- click “Java Build Path”
- click the “Libraries” tab
- click the “Add Variable” button
- select the Skyway Variable which contains the needed library (ask if you do not know where a lib moved to)
- select the library you need from the list which pops up automatically
One library that you will definitely need is the “jboss-common.jar” library under SKYWAY_PM_HIBERNATE_DEPENDENCIES if you are using hibernate.
Another one you will need is the JTA jar that is under SKYWAY_TM_ATOMIKOS if you are using Atomikos.
Once you've modified the build path, you'll need to perform a clean build.
org.skyway.execution.exception.SkywayRuntimeException cannot be resolved to a type
The SkywayRuntimeException was renamed between RC1 and RC2. To clear the errors:
- Open your Navigator View (Window->Show View->Navigator)
- Find your project and expand the "generated" folder.
- Delete all contents of the "generated" folder.
- Perform a clean deploy.

