forked from geonetwork/schema-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
42 lines (33 loc) · 1.63 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
<?xml version="1.0" encoding="UTF-8"?>
<!--
==============================================================================
=== Build file to allow ant (http://jakarta.apache.org/ant/) to be used
=== to build schema plugins.
==============================================================================
-->
<project name="schemaPlugins" default="zip">
<description>
Build file for Geonetwork schema plugins.
</description>
<property name="dist" value="dist"/>
<!-- schema plugins to zip -->
<property name="iso19139.anzlic" value="iso19139.anzlic"/>
<property name="iso19139.mcp" value="iso19139.mcp"/>
<property name="iso19139.fra" value="iso19139.fra"/>
<property name="iso19139.mcp-1.4" value="iso19139.mcp-1.4"/>
<property name="anzmeta" value="anzmeta"/>
<property name="iso19135" value="iso19135"/>
<property name="eml-gbif" value="eml-gbif"/>
<!-- Create the zip archives in the ${dist} directory -->
<target name="zip">
<delete dir ="${dist}"/>
<mkdir dir ="${dist}"/>
<zip destfile="${dist}/${iso19139.anzlic}.zip" basedir="${iso19139.anzlic}" excludes=".svn" />
<zip destfile="${dist}/${iso19135}.zip" basedir="${iso19135}" excludes=".svn" />
<zip destfile="${dist}/${iso19139.mcp}.zip" basedir="${iso19139.mcp}" excludes=".svn" />
<zip destfile="${dist}/${iso19139.mcp-1.4}.zip" basedir="${iso19139.mcp-1.4}" excludes=".svn" />
<zip destfile="${dist}/${anzmeta}.zip" basedir="${anzmeta}" excludes=".svn" />
<zip destfile="${dist}/${eml-gbif}.zip" basedir="${eml-gbif}" excludes=".svn" />
<zip destfile="${dist}/${iso19139.fra}.zip" basedir="${iso19139.fra}" excludes=".svn" />
</target>
</project>