SAS® AppDev Studio™ 3.0 Developer's Site
Creating a New webAF Project
Projects help you organize and manage the
frames and source files that constitute your applet, servlet, JSP, or application.
For additional information, see the webAF online Help.
To create a new project:
- Start the Project Wizard by selecting File
New
and selecting the Projects tab, or by clicking the New Project icon
() on the System toolbar.
- Select the appropriate Project Type. The following project types are available:
- Applet Project
- creates a java applet that can be run in a Java-enabled
web browser with the Java Plug-in.
- Application Project
- creates Java application that can be run with the
Javas platform virtual machine.
- Console Application Project
- creates an application that requires the Java
Console for execution and has no graphical user interface. A nonvisual build frame is provided to facilitate
drag-and-drop operations, but no additional frames can be added. Only models
can be dropped onto the nonvisual build frame.
- Empty Project
- creates an empty project. Empty projects are
usually used to create Java class libraries.
- Empty Project from Directory
- Creates a webAF project based on the contents of the directory specified in the Location field (which must be an existing directory). An ANT build file and targets can also be specified for building the project. This project type is usually used to wrap existing Java class libraries so that further development can be performed in webAF.
- Web Application Project
- Creates a Web application, a collection of JSPs, Servets, and applets that contain static text (typically HTML) and embedded code (typically Java or XML custom tags) to support the creation of dynamic content.
- SASMC Plug-in Project
- Creates a SASMC plug-in application with the initial java files, a resource bundle file, and an ANT build file with targets to compile the project and to deploy the plug-in. You will need to customize the initial plug-in code.
- Create from Source Code Control
- Creates a new project from a source control repository by starting the Create Project from Source Control Wizard.
- Enter the Project Name. This name designates the directory in which
project files are stored. It is also used as the base filename
for the project files.
- (Optional) Enter the Java Package. This name designates the package in which your project classes are stored.
The Location field is completed for you. This is the directory where your project is stored. Click the ellipsis button (...) to select a new path.
- Click OK.
You now have four options:
- If available, you can click Finish to complete the project definition.
A new project folder appears in the Project Navigator window.
For information on the files that constitute a project, see the webAF online Help.
If you are creating an applet or application, a blank frame that has the same name
as the project appears in the workspace.
- Click Next to continue specifying project options.
- Click Back to return to the first panel, if available.
- Click Cancel to stop without creating the project.