4.1

Table Of Contents
Build the Solar System Application and Plug-In
If you adapt the solar system application or the solar system plug-in, you can rebuild the DAR file by using
the Apache Ant building tool.
The Orchestrator examples bundle contains the scripts and build.xml file that allow you to rebuild the solar
system DAR file and the JAR files that it contains. If you add new files to the solar system plug-in, you must
update the build.xml file.
NOTE If you did not adapt the solar system application or plug-in, you do not need to build the solar system
DAR file. You can install the ready-made DAR file directly.
Prerequisites
You must have Apache Ant 1.7.1 or later installed and configured on your system.
Procedure
1 Navigate to the folder that contains the solar system application and plug-in.
install-directory
\vco-samples-410-
build_number
\Plug-Ins\solarsystem
2 Open the maven-build.properties file in a text editor and edit the o11n.root.path property to point to
the root folder of the Orchestrator installation.
3 Open a terminal window and navigate to the
install-directory
\vco-samples-410-
build_number
\Plug-
Ins\solarsystem folder.
4 Type the ant command in the terminal window.
You rebuilt the solar system DAR file to incorporate any modifications that you made to the application or to
the plug-in.
What to do next
Install the solar system DAR file in the Orchestrator server.
Contents of the Solar System DAR File
The DAR file is a ZIP file that you rename to DAR. You can unzip the solar system DAR file to view the contents
and file structure of the solar system plug-in.
The solar system example o11nplugin-solarsystem.dar file contains the following directories and files.
n
\lib, that contains the following JAR archives:
n
o11nplugin-solarsystem-core-1.0.0.jar, that contains the classes of the plug-in adapter and factory
implementations for the solar system application.
n
o11nplugin-solarsystem-model-1.0.0.jar, that contains the classes of the solar system application.
n
\resources, that contains the following directories:
n
\images, that contains icons that represent the different objects of the solar system application on the
Orchestrator Inventory tab.
n
\packages, that contains an Orchestrator package named com.vmware.solarsystem.package. The
package contains workflows, policies, actions, and the Web view that allow Orchestrator to interact
with the solar system application.
n
\VSO-INF\vso.xml, the XML file that maps the solar system application to Orchestrator objects.
n
\webapps, that contains the o11nplugin-solarsystem-config.war file for the Web application of the solar
system configuration tab.
Chapter 7 Developing Plug-Ins
VMware, Inc. 203