Building and testing your new component

Next, you can build your new component in Eclipse and ensure that it is available in Studio.

To build your new component in Eclipse:

  1. In your new project, open the build.xml file at the top level.
  2. In the outline view, right-click the deploy task and select Run as... > Ant Build.
    Note: This step is only necessary if you do not have Build Automatically checked in the Eclipse Project menu.
  3. If Studio is not already running, start Studio and log in.
  4. Look at the Studio logs to confirm that the component was picked up successfully.
  5. To test your new component within Studio:
    1. From the Studio menu, select Add Component.
    2. In the Add Component dialog, expand the Sample category.

      Your component should be listed in that category.

    3. To add the new component to the Studio page, drag and drop it from the Add Component dialog.