PageRenderTime 29ms CodeModel.GetById 25ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/protocols/ss7/release/release-build.xml

http://mobicents.googlecode.com/
XML | 45 lines | 33 code | 10 blank | 2 comment | 0 complexity | b1a6166874d602d1398907aff5fcde2b MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<project name="Release_build" default="deploy">
 3
 4	<property name="home" value="${ant.file.Release_build}/../" />
 5
 6	<!-- SYSTEM RELATED -->
 7	<property environment="system" />
 8	<property name="jboss.home" value="${system.JBOSS_HOME}" />
 9	<property name="node" value="default" />
10	<property name="jboss.deploy" value="${jboss.home}/server/${node}/deploy" />
11
12	<condition property="file_url" value="file:/">
13		<os family="windows" />
14	</condition>
15	<!-- Property already set on windows platform -->
16	<property name="file_url" value="file://" />
17
18	<pathconvert targetos="unix" property="jboss.home.standard">
19		<path description="To use te same stile for every url file" path="${jboss.home}" />
20	</pathconvert>
21
22	<target name="deploy">
23
24		<copy overwrite="true" todir="${jboss.deploy}/mobicents-ss7-service">
25			<fileset dir="./mobicents-ss7-service">
26				<include name="**" />
27			</fileset>			
28		</copy>
29
30		<copy overwrite="true" todir="${jboss.home}/bin">
31			<fileset dir="./shell">
32				<include name="**" />
33			</fileset>			
34		</copy>
35
36	</target>
37
38	<target name="undeploy">
39		<delete dir="${jboss.deploy}/mobicents-ss7-service" />
40		<delete file="${jboss.home}/bin/ss7-run.sh" />
41		<delete file="${jboss.home}/bin/ss7-run.bat" />
42		<delete file="${jboss.home}/bin/mobicents-ss7-shell.jar" />
43	</target>
44
45</project>