Develop Analytics with an IDE

You can export your application to an integrated development environment (IDE) to edit your analytics processors. You can also synchronize the code with the Cloud, build your project, and deploy or undeploy your analytics.

Export your application:

  1. Go to your IoT application and select Analytics.
  2. Select IDE Support.
  3. Click Export Project to IDE.
    A zip file named project-ide-export.zip is downloaded to your Downloads folder.
  4. Move the exported project file to a folder of your preference and unzip it.
    The exported project has the following folder structure:
    • src: Contains the sources for your analytics processors.

    • bacs: Contains the metadata for project. Do not edit this metadata using an IDE, instead use the Management Console.

    • maven:: Contains an embedded Apache Maven installation with all the settings for this project.

Import your project to an IDE:

  1. Import your project to your IDE as an Apache Maven project.

    Note:

    Verify that the IDE you select has Apache Maven support.
  2. Configure the environment setting of your IDE to use the Apache Maven installation from your exported project.
    You can find the Apache Maven installation for your project at project-ide-export/maven.
  3. If your IDE asks you to select a profile, select Oracle.
  4. Add the following Maven properties and set their value to use your credentials to acess Oracle Internet of Things Cloud Service:
    • iot.client.username
    • iot.client.password

The sources for your analytics project are imported to your IDE and you can edit your analytics processors. See Edit Analytics Processors with an IDE.

You can also build your project, synchronize the sources, and deploy and undeploy your analytics to the Cloud. For information about the available Apache Maven targets, see Understand Apache Maven Targets for Analytics.