6. Creating Eclipse-based Skyway Projects

PROBLEM

How to create projects that can fully leverage Eclipse web development capabilities.

SOLUTION

Skyway Builder supports Eclipse-based projects and Maven-based projects. While in all cases the Skyway Builder Eclipse plugins are being used for code generation, Eclipse-based Skyway projects can leverage Eclipse functions including compiling, packaging, dependency management, and deployment.

HOW IT WORKS

Here are the steps for creating an Eclipse-based Skyway project:

Steps For Creating an Eclipse-based Skyway Project

  1. From the file menu select New Project.

  2. From the New Project Wizard, select Skyway Project. The Skyway Project option is located in the Skyway folder.

  3. From the New Skyway Project Wizard, specify a name for the project. Click Next.

  4. From the Folder Names panel specify the folder name for storing the models. The default models. Click Next.

  5. From the Artifact Category Mapping panel configure the destination project for each artifact category. Click Finish.

For Eclipse-based Skyway projects all artifact categories must point to the same destination project. There will always be atleast two projects created. One project is for storing the models, and the other project is the Eclipse dynamic web application that the Spring application in generated into (from the models).

The package name can be defined staticly or derived from a package name template. The package template can include several tokens that will be resolved during code generation. The ${project.name} token will be replaced with the project name.