Revision: 11484
Author: oleg.kulikoff
Date: Tue May  4 19:52:20 2010
Log: Packet relay and IVR usage example
http://code.google.com/p/mobicents/source/detail?r=11484

Added:
 /trunk/servers/jain-slee/examples/packet-relay-demo/web
 /trunk/servers/jain-slee/examples/packet-relay-demo/web/pom.xml
 /trunk/servers/jain-slee/examples/packet-relay-demo/web/src
 /trunk/servers/jain-slee/examples/packet-relay-demo/web/src/main
 /trunk/servers/jain-slee/examples/packet-relay-demo/web/src/main/resources
 /trunk/servers/jain-slee/examples/packet-relay-demo/web/src/main/webapp

=======================================
--- /dev/null
+++ /trunk/servers/jain-slee/examples/packet-relay-demo/web/pom.xml Tue May 4 19:52:20 2010
@@ -0,0 +1,49 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
+       <modelVersion>4.0.0</modelVersion>
+
+       <parent>
+               <artifactId>packet-relay-demo</artifactId>
+               <groupId>org.mobicents.examples</groupId>
+               <version>2.0.0-SNAPSHOT</version>
+       </parent>
+
+       <artifactId>packetrelay-demo-web</artifactId>
+       <name>Packet relay Demo audio files</name>
+
+       <packaging>war</packaging>
+
+       <build>
+               <finalName>packetrelay-demo-audio</finalName>
+               <plugins>
+                       <plugin>
+                               <artifactId>maven-antrun-plugin</artifactId>
+                               <executions>
+                                       <execution>
+                                               <id>deploy-datasource</id>
+                                               <phase>install</phase>
+                                               <goals>
+                                                       <goal>run</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <tasks>
+ <copy overwrite="true" file="target/${project.build.finalName}.war" todir="${jboss.home}/server/${node}/deploy" />
+                                                       </tasks>
+                                               </configuration>
+                                       </execution>
+                                       <execution>
+                                               <id>undeploy-datasource</id>
+                                               <phase>clean</phase>
+                                               <goals>
+                                                       <goal>run</goal>
+                                               </goals>
+                                               <configuration>
+                                                       <tasks>
+ <delete file="${jboss.home}/server/${node}/deploy/${project.build.finalName}.war" />
+                                                       </tasks>
+                                               </configuration>
+                                       </execution>
+                               </executions>
+                       </plugin>
+               </plugins>
+       </build>
+</project>

Reply via email to