Creating a new Fuse project

Revision History

Overview

Fuse IDE uses Maven archetypes to generate a project with all of the dependencies preconfigured. The archetypes also create the POM file needed to run and deploy your application, as well as sample code and data to get you started.

Procedure

To create a Fuse project:

  1. Select File > New > Fuse Project to open the New Fuse IDE Project wizard, as shown in Figure 4, “New Fuse IDE Project wizard's project location page”.

    Figure 4. New Fuse IDE Project wizard's project location page

    project location page of Fuse IDE's new project wizard

    The wizard opens with the Use default workspace location option selected on the location page.

  2. Leave the Use default workspace location option selected to use the default location, or type in another location. Alternatively, you can click Browse button to find and select the preferred location.

  3. If you want to add the new project to an Eclipse working set, select Add project(s) to working set and enter the name of the working set.

  4. Click Next button to open the New Fuse IDE Project details page, as shown in Figure 5.

    Figure 5. New Fuse IDE Project wizard's details page

    project details page of Fuse IDE's new project wizard

    This page lists all of the applicable Maven archetypes. You can select any of these archetypes as the base project type for your Fuse IDE project. However, the Fuse IDE route editor currently supports only four of these archetypes (see next step).

  5. Select a project type from the list. For archetypes that the route editor supports, the wizard displays a description in the pane below the list.

    The following project types create routes supported by the Fuse IDE route editor:

    • camel-archetype-activemq

      Creates a new Apache Camel project that configures and interacts with Apache ActiveMQ.

    • camel-archetype-blueprint

      Creates a new Apache Camel project with support for blueprint OSGi. Ready to be deployed in OSGi.

    • camel-archetype-spring

      Creates a new Apache Camel project with added support for Spring DSL.

    • camel-archetype-spring-dm

      Creates a new Apache Camel project with added support for Spring DSL. Ready to be deployed in OSGi.

  6. Enter a group ID for the project in the Group Id field.

    Fuse IDE uses the group ID to form the first part of the dot-separated package name. For example, if you enter Demo for the group ID, it appears in the Package field as Demo..

  7. Enter an artifact ID for the project in the Artifact Id field.

    Fuse IDE uses the artifact ID as the name of the project and to form the second part of the dot-separated package name. For example, if you enter BigRoute for the artifact ID, it appears in the Package field as Demo.BigRoute.

  8. Enter a version for the project in the Version field.

  9. If you want to change the package name generated for the artifacts, enter the new package name in the Package field.

  10. Click Finish to create the Maven project, which contains starting point artifacts.

[Tip]J2SE-1.5 execution environment

The new project may generate with a Build path specifies execution environment J2SE-1.5. There are no JREs installed in the workspace that are strictly compatible with this environment. warning. To resolve the warning, you need to remove the J2SE-1.5 JRE library from the build path and replace it with a Java 6 JRE library.

Related topics

New Fuse Project