PageRenderTime 14ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/Prototipo/Broker_v2/build.xml

http://prototipomemoria.googlecode.com/
XML | 52 lines | 43 code | 9 blank | 0 comment | 0 complexity | 1c6cf27173e0f105da2c714093a1e7f3 MD5 | raw file
 1<project name="brokerservice" default="recepcion.broker.server">
 2	
 3	<property file="build.properties" />
 4	<import file="soapUI/build.xml"/> 
 5		
 6	<property name="server.class"  value="broker.geoConsulta.modulos.RecepcionServer" />
 7
 8	<target name="compile" description="Compiles the Java code...">
 9		<mkdir dir="target/classes" />
10		<javac destdir="target/classes" debug="on" source="1.5" target="1.5">
11			<src path="src" />
12			<classpath>
13				<fileset dir="${tuscany.lib}">
14					<include name="*.jar"/>
15				</fileset>
16				<fileset dir="${general.lib}">
17					<include name="*.jar"/>
18				</fileset>
19			</classpath>
20		</javac>
21		
22		<copy todir="target/classes">
23			<fileset dir="resources" />
24		</copy>
25
26	</target>
27
28	<target name="clean">
29		<delete includeemptydirs="true" failonerror="false">
30			<fileset dir="target" />
31		</delete>
32		<delete includeemptydirs="true" failonerror="false">
33			<fileset dir="work" />
34		</delete>		
35	</target>
36
37	<target name="recepcion.broker.server" depends="compile" description="Starts the embedded Tuscany server...">
38        <java classname="${server.class}" fork="true">
39            <classpath>
40                <pathelement path="target/classes"/>
41            	<fileset dir="${tuscany.lib}">
42            		<include name="*.jar"/>
43            	</fileset>
44            	<fileset dir="${general.lib}">
45            		<include name="*.jar"/>
46            	</fileset>
47            </classpath>
48        </java>
49
50	</target>
51
52</project>