forked from shahank-360/jBilling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
upload.xml
67 lines (52 loc) · 2.11 KB
/
upload.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
65
66
67
<!--
Usage:
ant upload-orders -f upload.xml
-->
<project name="jbilling Upload" basedir=".">
<property file="jbilling-build.properties"/>
<property environment="env"/>
<condition property="grails.home" value="${env.GRAILS_HOME}">
<isset property="env.GRAILS_HOME"/>
</condition>
<condition property="user.home" value="${env.HOME}">
<isset property="HOME"/>
</condition>
<path id="compile.classpath">
<!-- jbilling libraries -->
<fileset dir="${source.lib.dir}">
<include name="*.jar"/>
</fileset>
<!-- grails libraries-->
<fileset dir="${grails.home}/lib/" includes="**/*.jar"/>
<fileset dir="${grails.home}/dist/" includes="**/*.jar"/>
<!--ivy cache -->
<fileset dir="${user.home}/.ivy2/cache/" includes="**/*.jar"/>
</path>
<path id="test.classpath">
<!-- test classes and junit -->
<pathelement location="${build.test.dir}"/>
<pathelement location="${junit.dir}/junit.jar"/>
<fileset dir="${easymock.dir}" includes="*.jar"/>
<!-- required dependencies -->
<fileset dir="${digester.dir}" includes="*.jar"/>
<fileset dir="${quartz.dir}" includes="*.jar"/>
<fileset dir="${spring.dir}" includes="*.jar"/>
<!-- compiled jbilling classes -->
<pathelement path="${build.classes.dir}"/>
</path>
<path id="spring.classpath">
<pathelement location="${source.spring.descriptor.dir}"/>
</path>
<target name="upload-orders" description="Uploads orders into jbilling">
<echo>Uploads orders into jbilling</echo>
<java classname="com.sapienter.jbilling.tools.UploadOrders" failonerror="true" fork="true">
<classpath>
<path refid="compile.classpath"/>
<path refid="spring.classpath"/>
<path refid="test.classpath"/>
<pathelement location="${build.classes.dir}"/>
</classpath>
<arg value="${source.java.dir}/com/sapienter/jbilling/tools/upload.properties"/>
</java>
</target>
</project>