[Users] Mise à jour des services depuis Petals Studio

Vincent Zurczak [via Petals ESB] ml-node+2988481-753418879-385891 at n3.nabble.com
Thu May 26 14:16:01 CEST 2011



Avec ANT, ça pourrait le faire. Il faut par contre utiliser la librairie JMX
de Petals.
Je ne sais plus où vous trouverez les librairies (dans le repo Maven OW2 je
pense), mais voilà celles qu'il faut :
+ petals-ant-2.1.jar
+ petals-jbi.jar
+ petals-jbi-descriptor.jar
+ petals-jmx.jar
+ petals-jmx-api.jar

Après, vous pouvez faire votre script. 
Voilà un template. Les informations de connexion sont celles du
server.properties et de la topologie.

<?xml version="1.0" encoding="UTF-8"?>
<project name="Sample of the ant tasks" default="deploy">

	<path id="tests.classpath">
		<fileset dir="./lib">
		       <include name="*.jar" />
		</fileset>
	</path>

	<taskdef resource="org/ow2/petals/ant/petals-ant.properties" >
		<classpath refid="tests.classpath" />
	</taskdef>


	
	<target name="deploy">
		<jbi-install-component	
			file="component-file-url"
			port="7700" 
			host="localhost"
			username="petals"
			password="petals" />

		<jbi-start-component	
			name="component-name"
			port="7700"
			host="localhost"
			username="petals"
			password="petals" />

		<jbi-deploy-service-assembly 	
			file="SA-url"
			port="7700" 
			host="localhost"
			username="petals"
			password="petals" />

		<jbi-start-service-assembly 	
			file="SA-name"
			port="7700" 
			host="localhost"
			username="petals"
			password="petals" />
	</target>
</project>


Il y a des tâches pour arrêter et désinstaller les SA.

-----
&laquo; Petals M.D. &raquo;
_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://forum.petalslink.com/Mise-a-jour-des-services-depuis-Petals-Studio-tp2988123p2988481.html
To start a new topic under Users (get help, provide help), email ml-node+2681628-1333396262-385891 at n3.nabble.com
To unsubscribe from Users (get help, provide help), visit http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2681628&code=dXNlcnNAZm9ydW0ucGV0YWxzbGluay5vcmd8MjY4MTYyOHwtOTE3MDU0NjU4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110526/44905ce6/attachment.htm>


More information about the Users mailing list