
user@host:~/rhino/examples/jcc$ ant deployjcccallfwd
Buildfile: build.xml
management-init:
[echo] OpenCloud Rhino SLEE Management tasks defined
login:
[slee-management] establishing new connection to : 127.0.0.1:1199/admin
buildjccra:
[mkdir] Created dir: /home/user/rhino/examples/jcc/library
[copy] Copying 2 files to /home/user/rhino/examples/jcc/library
[jar] Building jar: /home/user/rhino/examples/jcc/jars/jcc-1.1-local-ra.jar
[delete] Deleting directory /home/user/rhino/examples/jcc/library
deployjccra:
[slee-management] Install deployable unit file:/home/user/rhino/examples/jcc/lib/jcc-1.1-ra-ty
pe.jar
[slee-management] Install deployable unit file:/home/user/rhino/examples/jcc/jars/jcc-1.1-loca
l-ra.jar
[slee-management] Create resource adaptor entity jccra from JCC 1.1-Local 1.0, Open Cloud Ltd.
[slee-management] Activate RA entity jccra
buildjcccallfwd:
[mkdir] Created dir: /home/user/rhino/examples/jcc/classes/jcc-callforwarding
[javac] Compiling 3 source files to /home/user/rhino/examples/jcc/classes/jcc-callforwardi
ng
[profilespecjar] Building profile-spec-jar: /home/user/rhino/examples/jcc/jars/profile.jar
[sbbjar] Building sbb-jar: /home/user/rhino/examples/jcc/jars/sbb.jar
[deployablejar] Building deployable-unit-jar: /home/user/rhino/examples/jcc/jars/call-forwardi
ng.jar
[delete] Deleting: /home/user/rhino/examples/jcc/jars/profile.jar
[delete] Deleting: /home/user/rhino/examples/jcc/jars/sbb.jar
deployjcccallfwd:
[slee-management] Install deployable unit file:///home/user/rhino/examples/jcc/jars/call-forwa
rding.jar
[slee-management] Create profile table CallForwardingProfiles from specification CallForwardin
gProfile
1.0, Open Cloud
[slee-management] Create profile foo in table CallForwardingProfiles
[slee-management] Set attribute Addresses in profile foo to [E.164:1111]
[slee-management] Set attribute ForwardingAddress in profile foo to E.164:2222
[slee-management] Set attribute ForwardingEnabled in profile foo to true
[slee-management] Activate service JCC Call Forwarding 1.0, Open Cloud
BUILD SUCCESSFUL
Total time: 42 seconds
The build process automatically creates a Call Forwarding Profile Table with some example data in it so that the examples can
be run straight away. The example profile specifies that any calls to the E.164 address
1111
be forwarded to
2222
.
The service can be uninstalled using the
undeployjcccallfwd
build target:
Open Cloud Rhino 1.4.3 Administration Manual v1.1 157
Kommentare zu diesen Handbüchern