-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.xml
44 lines (31 loc) · 1.08 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
<project name="celine" default="deploy" basedir=".">
<target name="init">
<delete dir="dist" />
<mkdir dir="dist" />
<delete dir="etc" />
<mkdir dir="etc" />
<copy todir="dist">
<fileset dir="bin" excludes="**/testes/*"/>
</copy>
<mkdir dir="dist/META-INF" />
<copy file="WEB-INF/celine.tld" todir="dist/META-INF"/>
</target>
<target name="jar">
<jar jarfile="etc/celine.jar" basedir="dist" />
</target>
<target name="copyjar">
<copy file="etc/celine.jar" todir="D:/doutoramento/drive/Downloads for Celine-Scorm" />
</target>
<target name="deploy" depends="undeploy,init,jar,copyjar"/>
<!--
<target name="deploy" depends="undeploy,init,jar">
<copy file="etc/celinelms.jar" todir="e:/celine/bruce/WebContent/WEB-INF/lib" />
<copy file="etc/celinelms.jar" todir="E:/java/celine/testelms/WebContent/WEB-INF/lib"/>
<copy file="etc/celinelms.jar" todir="e:/celine/bruce-lip/WebContent/WEB-INF/lib" />
</target>
-->
<target name="undeploy">
<delete dir="dist" />
<delete dir="etc" />
</target>
</project>