summaryrefslogtreecommitdiff
blob: cfc6aabd8867477ffd26a7c848b740c813f8aacc (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
<?xml version="1.0" standalone="yes"?>
<project basedir="." default="jar">
  <target name="compile">
    <mkdir dir="bin"/>
    <javac srcdir="src" destdir="bin">
      <include name="**/*.java"/>
      <classpath>
        <fileset dir="lib">
          <include name="**/*.jar"/>
        </fileset>
      </classpath>
    </javac>
  </target>
  <target name="jar" depends="compile">
    <jar destfile="jsr181.jar" manifest="META-INF/MANIFEST.MF">
      <zipfileset dir="bin"/>
    </jar>
  </target>
  <target name="doc">
    <mkdir dir="api"/>
    <javadoc packagenames="javax.*" destdir="api">
      <fileset dir="src/" includes="**/*.java"/>
    </javadoc>
  </target>
</project>