File: build.xml

package info (click to toggle)
java-imaging-utilities 0.14.3-2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 2,500 kB
  • ctags: 3,737
  • sloc: java: 31,233; python: 71; xml: 30; makefile: 27; sh: 5
file content (47 lines) | stat: -rw-r--r-- 1,213 bytes parent folder | download | duplicates (3)
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
44
45
46
47
<?xml version="1.0"?>
<project name="Template Buildfile" default="jar" basedir=".">
  <property name="dir.doc" location="api"/>

  <target name="compile">
    <javac srcdir="." destdir="." debug="on" />
  </target>

  <!-- Creates the jar -->
  <target name="jar" description="Generates jiu.jar" depends="compile">
    <jar jarfile="net.sourceforge.jiu-${VERSION}.jar" manifest="META-INF/MANIFEST.MF">
      <!-- Creates the manifest -->
      <manifest>
        <attribute name="Main-Class" value="net.sourceforge.jiu.apps.jiuawt"/>
      </manifest>

      <!-- Filters the files -->
      <fileset dir="./"
        includes="**/*.class"
        excludes="**/*.java" 
      />
      <fileset dir="./"
        includes="resources/**"
      />
    </jar>
  </target>

  <target name="doc" depends="jar" description="Generation of the documentation.">
    <javadoc destdir="${dir.doc}" author="true" version="true" use="true"
             notree="false" nonavbar="false" noindex="false" access="private">
      <fileset dir = "">
        <include name="**/*.java"/>
        <exclude name="**/*Test*"/>
      </fileset>
    </javadoc>
  </target>
</project>