forked from x2q/openquant
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
43 lines (33 loc) · 1.12 KB
/
build.xml
File metadata and controls
43 lines (33 loc) · 1.12 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="OpenQuant" default="OpenQuantJar" basedir=".">
<target name="OpenQuantJar" description="Create a jar for the OpenQuant project">
<mkdir dir="dist/lib" />
<jar jarfile="dist/lib/openquant-1.0.jar" includes="**/*.class,**/*.xml" basedir="bin">
<manifest>
<attribute name="Main-Class" value="org.openquant.backtest.command.OpenQuantCommand" />
</manifest>
</jar>
<copy todir="dist/lib">
<fileset dir="lib">
<include name="**/*.jar" />
</fileset>
</copy>
<copy todir="dist/scripts">
<fileset dir="scripts">
<include name="**/test.groovy" />
</fileset>
</copy>
<copy todir="dist/config">
<fileset dir="config">
<include name="**/*.*" />
</fileset>
</copy>
<mkdir dir="dist/data" />
<copyfile dest="dist/openquant.sh" src="openquant.sh" />
<copyfile dest="dist/openquant.bat" src="openquant.bat" />
<tstamp>
<format property="time" pattern="MM-dd-yyyy-hhmmssaa" unit="hour" />
</tstamp>
<zip destfile="${ant.project.name}-${time}.zip" basedir="dist" />
</target>
</project>