summaryrefslogtreecommitdiff
blob: 8f1362567653f3bac6682618ac13bcf245dc0b86 (plain)
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
<?xml version="1.0"?>
<project name="relaxngcc" default="jar" basedir=".">
  <target name="compile">
    <mkdir dir="build"/>
    <javac srcdir="src" destdir="build">
      <classpath>
        <fileset dir="lib" includes="**/*.jar"/>
      </classpath>
    </javac>
  </target>
  <target name="jar" depends="compile">
    <jar destfile="relaxngcc.jar">
      <manifest>
        <attribute name="Main-Class" value="relaxngcc.RelaxNGCC"/>
      </manifest>
      <fileset dir="build">
        <include name="**/*.class"/>
      </fileset>
      <!--
        For a list of resources to include, see the project.xml from the
        upstream relaxngcc.jar contained in the base directory of the zip.
      -->
      <fileset dir="src">
        <include name="plugin.jelly"/>
        <include name="relaxngcc/runtime/*.java"/>
        <include name="**/*.properties"/>
        <include name="**/*.xsl"/>
      </fileset>
      <zipfileset src="relaxngcc.orig.zip">
        <include name="project.xml"/>
      </zipfileset>
    </jar>
  </target>
</project>