Upgrading SAS Projects

The goal of upgrading an imported project is to alter the project content so that it matches the contents of a project of the same type that was created with SAS AppDev Studio 4.4. The upgrade process depends on the type of project.

Upgrade a SAS Web Application Project to Use SAS 9.4

To upgrade a SAS web application project:
  1. Right-click the project in the Project Explorer and select Properties.
  2. Select Project Facets.
  3. Change the version of the SAS Java Components facet to match your development target.
    Use the 9.4.0.0000 facet for SAS 9.4.
    Use the 9.4.1.0000 facet for projects running against the first maintenance release for SAS 9.4.
    If the SAS Web Infrastructure Platform facet is enabled, also change its version to 9.4.0.0000 or 9.4.1.0000, as appropriate.
    Both SAS facets can be enabled if they are the same version. Until you change the version of both facets, an error is displayed.
  4. Click Apply to upgrade the project facets.
    If you are upgrading from 4.4 to 4.4 with maintenance applied, skip to step 8.
  5. Select the Runtimes tab.
  6. Deselect the ADS Apache Tomcat v6.0 run time, select the ADS Apache Tomcat v7.0, and then click Apply.
  7. Click OK.
  8. Select Projectthen selectClean.
  9. In the Clean dialog box, select Clean projects selected below and enable the check box for the project that you just upgraded. Click OK.
The project is now upgraded.

Upgrade a SAS Java Application or Portlet Project

If the SAS Repository configuration for the project is the same as the default SAS AppDev Studio configuration, no changes to the project are needed. If manual changes were made to the SAS Repository configuration, see Migrating the SAS Repository Configuration for SAS Java Application Projects.
If the project contains a Portlet template, then the classpath of the project needs to be updated to reference the new Tomcat 7 server run time. If you are upgrading from 4.4 to 4.4 with maintenance, this update has already been done.
To update the project classpath:
  1. Right-click the project in the Project Explorer and select Properties.
  2. Select Java Build Path and then the Libraries tab.
  3. In the list of libraries, select the Server Library. It will typically be named Server Library [ADS Apache Tomcat v6.0] (unbound).
  4. Click Edit.
  5. In the dialog box that appears, select ADS Apache Tomcat v7.0 and click Finish.
  6. Click OK.