-
Notifications
You must be signed in to change notification settings - Fork 0
/
.build.xml
64 lines (51 loc) · 2.18 KB
/
.build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<!--
Copyright (c) 2016 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
IBM Corporation - initial API and implementation
-->
<project default="build" xmlns:ivy="antlib:org.apache.ivy.ant">
<property name="build" value="build"/>
<property name="modulebuild" value="${build}"/>
<path id="depspath">
<fileset dir="${build}" includes="${lib}"/>
</path>
<target name="build">
<echo message="${module} : ${modulebuild}/${jar}"/>
<mkdir dir="${modulebuild}/lib"/>
<copy todir="${modulebuild}/lib" failonerror="false">
<fileset dir="lib" includes="*/**"/>
</copy>
<mkdir dir="${modulebuild}/classes"/>
<javac destdir="${modulebuild}/classes" debug="on" encoding="utf-8" includeAntRuntime="false">
<src>
<pathelement path="src"/>
</src>
<classpath>
<path refid="depspath"/>
</classpath>
</javac>
<!-- resources -->
<copy todir="${modulebuild}/classes" includeemptydirs="true" failonerror="false">
<fileset dir="src" includes="*/**" excludes="**/*.java"/>
<!--fileset dir="res" includes="*/**" /-->
</copy>
<jar destfile="${modulebuild}/${jar}" basedir="${modulebuild}/classes" includes="**"/>
</target>
<target name="clean">
<delete includeemptydirs="true" failonerror="false" dir="${modulebuild}"/>
</target>
<target name="cleanall">
<delete dir="${build}" failonerror="false"/>
</target>
<!-- setproxy proxyhost="" proxyport="" proxyuser="" proxypassword=""/ -->
<!-- export ANT_OPTS="$ANT_OPS -Dhttp.proxyHost=172.16.17.18 -Dhttp.proxyPort=3128" -->
<target name="resolve" description="Trae desde los repositorios las depencias de siat. NOTA: solo usar si esta modificando alguna dependencia de siat.">
<ivy:settings url="http://sat1:8060/roboto/release/ivysettings.xml"/>
<ivy:retrieve type="jar,bundle" pattern="./lib/[conf]/[artifact]-[revision].[ext]" sync="true" refresh="true"/>
<ivy:report graph="false" todir="./lib/report-deps"/>
</target>
</project>