
7.4 Partial Imports
A partial import is where only some of the import management operations are executed.
This is useful when only deployable units are needed to be deployed or only the resource adaptor entities are required and they
do not need to be activated.
To list the available targets in the build file execute the following command:
user@host:~/rhino/rhino_export$ ant -p
Buildfile: build.xml
Main targets:
Other targets:
activate-ra-entities
activate-services
all
create-all-ra-entities
create-ra-entity-sipra
install-all-dus
install-ocjainsip-1.2-ra-du
install-sip-ac-location-service-du
install-sip-proxy-service-du
install-sip-registrar-service-du
login
management-init
set-trace-levels
Default target: all
Then specify a target which
ant
is to execute or specify no target and the default target
all
will be executed.
>ant create-all-ra-entities
Buildfile: build.xml
management-init:
login:
[slee-management] establishing new connection to : localhost:1199/admin
install-ocjainsip-1.2-ra-du:
[slee-management] Install deployable unit file:lib/ocjainsip-1.2-ra.jar
create-ra-entity-sipra:
[slee-management] Create resource adaptor entity sipra from ComponentID[name=OCSIP,
vendor=Open Cloud,version=1.2]
[slee-management] Bind link name OCSIP to sipra
create-all-ra-entities:
BUILD SUCCESSFUL
Total time: 7 seconds
This example activates the previously created resource adaptor entities.
Note how some operations fail but do not halt the build process. This is because
failonerror
is set to
false
.
Open Cloud Rhino 1.4.3 Administration Manual v1.1 54
Comentarios a estos manuales