4.0

Table Of Contents
7 Create a directory named resources at the root of the working directory.
8 (Optional) Create a directory named images in the resources directory.
The resources\images directory can contain icons to represent the different objects of the plugged-in
application in the Orchestrator Inventory view and selection dialog boxes.
9 (Optional) Create a directory named packages in the resources directory.
The resources\packages directory can contain packages of workflows, actions, policies, Web views, and
so on, that interact with the plugged-in application.
10 Create a ZIP archive that contains all of the preceding directories and files.
11 Rename the ZIP archive to
plugin_name
.dar.
You created the DAR archive that contains a plug-in, and imported it to Orchestrator.
What to do next
You can access the objects of the plugged-in application in the Orchestrator inventory to perform operations
on them. You can also use the objects and methods that you mapped to the Orchestrator scripting API to create
workflows, actions, policies, Web views, and so on, to interact with the objects through the plug-in.
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_4_0_1_
build_number
\Plug-Ins\SolarSystem\
2 Open a terminal window and navigate to the
install-directory
\vco-samples_4_0_1_
build_number
\Plug-
Ins\SolarSystem\ folder.
3 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.
vCenter Orchestrator Developer's Guide
210 VMware, Inc.