forked from kermitt2/grobid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
43 lines (32 loc) · 1.79 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- ====================================================================== -->
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
<!-- ====================================================================== -->
<project name="grobid-parent" default="package" basedir=".">
<!-- ====================================================================== -->
<!-- Import maven-build.xml into the current project -->
<!-- ====================================================================== -->
<import file="maven-build.xml"/>
<!--presetdef name="javac">
<javac includeantruntime="true" />
</presetdef-->
<!-- ====================================================================== -->
<!-- Help target -->
<!-- ====================================================================== -->
<target name="help">
<echo message="Please run: $ant -projecthelp"/>
</target>
<!-- ====================================================================== -->
<!-- jar target -->
<!-- ====================================================================== -->
<target name="jar" description="Create the jar libraries">
<ant antfile="build.xml" dir="grobid-core" target="jar"/>
<ant antfile="build.xml" dir="grobid-trainer" target="jar"/>
</target>
<target name="war" description="Create the jar libraries">
<ant antfile="build.xml" dir="grobid-home" target="jar"/>
<ant antfile="build.xml" dir="grobid-core" target="jar"/>
<ant antfile="build.xml" dir="grobid-trainer" target="jar"/>
<ant antfile="build.xml" dir="grobid-service" target="war"/>
</target>
</project>