~gryle-devel/gryle/trunk-deleted

« back to all changes in this revision

Viewing changes to build.xml

  • Committer: Chris Lamb
  • Date: 2007-01-13 22:48:16 UTC
  • mto: (1.2.13 gryle)
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: csueaj@viglab-29-20070113224816-hsh4z963q4deuwy6
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
                Build Gryle.
10
10
        </description>
11
11
 
12
 
    <property name="src" value="src"/>
13
 
        <property name="bin" location="bin"/>
14
 
        <property name="dist" location="dist"/>
15
 
        <property name="javadoc" location="javadoc"/>
 
12
    <property name="src"      location="src/"/>
 
13
        <property name="bin"      location="bin/"/>
 
14
        <property name="dist"     location="dist/"/>
 
15
        <property name="javadoc"  location="javadoc/"/>
 
16
        <property name="classes"  location="uk/org/wuglug/gryle" />
16
17
        
17
18
        <!-- Clean -->
18
19
    <target name="clean">
23
24
 
24
25
    <!-- Build -->
25
26
    <target name="build" description="Build Gryle">
 
27
                <mkdir dir="{$bin}"/>
26
28
        <javac debug="true" debuglevel="source,lines,vars" destdir="bin" source="1.5" target="1.5">
27
29
            <src path="${src}"/>
28
30
        </javac>
31
33
        <!-- Javadoc -->
32
34
        <target name="javadoc" description="Generate documentation">
33
35
                <mkdir dir="{$javadoc}"/>
 
36
                <javadoc destdir="${javadoc">
 
37
                        <packageset dir="${src}" includes="${classes}"/>
 
38
                </javadoc>
 
39
        </target>
 
40
 
 
41
        <!-- Jars -->
 
42
        <target name="jars" depends="build" description="Creates JAR files">
 
43
                
34
44
        </target>
35
45
 
36
46
        <!-- Dist -->
37
 
        <target name="dist" description="Generate distribution tarballs">
 
47
        <target name="dist" depends="jars" description="Generate distribution tarballs">
38
48
                <mkdir dir="${dist}"/>
39
49
        </target>
40
50