Creating Java Projects
About this task
To create a Java project in Application Platform
Procedure
-
In
Designer, go to
File menu
and select
New.
Designer displays a context menu with all available wizards. The upper section lists the Application Platform wizards.
- In the upper section of the context menu, click Java Project.
-
Specify the settings on the App
Platform Core Service Template page.
The following table describes what you have to specify for each setting.
For this setting Specify Project name The name of your Java project. Use default location Clear this check box if you want to specify a custom location for your project. If you keep this check box selected, your project will be stored in the default location. Default: check box is selected
- Click Next.
-
On the Project Facets page, select
the Application Platform project and core Java project facets required for your
Java project.
The Java facet is the core project facet, which is required for Java projects.
- Go to the Project Facet list, expand SoftwareAG Application Platform, and select Integration Server Extensions.
- Click Next.
-
Optionally, on the Java page,
modify the project’s folder structure and default output folder.
Application Platform requires the Java source directory to follow the Maven 2 convention. The Designer project wizard automatically updates the default directory of the Java facet from src to src/main/java.
- If you have selected Integration Server Extensions in step 6, click Next and continue to the next step. Otherwise, click Finish.
-
On the App Platform IS Facet page,
enter a source path in
Generated Source
Path.
This source path will be added to the Application Platform project’s classpath.
-
If the specified source path does
not exist on the file system, select the
Include Generated
Source Path check box.
Important: If you are deploying the project to a project environment using Asset Build Environment and Deployer, verify that the source path is src/main/java.
- Click Finish.