-
Notifications
You must be signed in to change notification settings - Fork 51
Quick Start
Prerequisites:
- DCM distribution (of course)
- Ant (provided with DCM distribution, if you don't have it already)
- IBM or Oracle/SUN JDK
DCM has been compiled and tested with 1.5, 1.6, and 1.7 JDKs, so any of those should work equally well. (DCM doesn't do anything tricky so forward compatibility with future JDKs is likely.)
-
Unzip the DCM distribution file into some directory.
-
Ensure that you have a JDK installed. This command:
javac -version
should print something like this:
javac 1.6.0_24
-
Ensure that the JAVA_HOME environment variable is set.
-
Ensure that the ant command is on the path.
-
Build the jar file and the plugin:
ant clean plugin -Dversion=1
Note that the dist
directory contains dcm.1.jar
and datapower-1.zip
. These are the DCM jar file and the UrbanCode Deploy plugin, respectively.
Run this command (from the dcm directory) to ensure that DCM is ready to go:
ant -f deploy.ant.xml -Ddcm.dir=. -Dhost=hhhh -Ddomain=dddd -Duid=uuuu -Dpwd=pppp check-access
where
hhhh is the appliance IP address or hostname
dddd is the name of a domain on the appliance
uuuu is a userid on that appliance
pppp is the password for that userid
Here is a sample command line:
ant -f deploy.ant.xml -Ddcm.dir=. -Dhost=10.0.0.1 -Ddomain=default -Duid=admin check-access
Here is a sample output from the command:
Buildfile: .../dcm/deploy.ant.xml
-check-std-args:
What is the password for 'admin' on 10.0.0.1?
check-access:
BUILD SUCCESSFUL
Total time: 9 seconds
If you plan to use the DCM plugin in UrbanCode Deploy then install datapower-1.zip
in UCD (Settings -> Automantion Plugins)