root/trunk/build/build.xml

Revision 2675 (checked in by douglm, 3 years ago)

Need to create bedework/lib directory for new installs of source

Line 
1 <?xml version="1.0"?>
2
3 <!-- ============= build classes build Targets ============
4      This is the ant build file for the builder classes for bedework.
5
6      Authors: Mike Douglass   douglm rpi.edu
7      =================================================================== -->
8
9 <project name="bedework.build" default="build">
10   <property name="base.name" value="build"/>
11   <property name="lib.dir" location="${org.bedework.default.lib}"/>
12
13   <target name="init">
14         <!--
15     <delete dir="${lib.dir}" />
16     -->
17     <mkdir dir="${lib.dir}" />
18
19     <dirname property="this.dir" file="${ant.file}"/>
20     <property name="source.home" location="${this.dir}/src"/>
21
22     <!-- ==================== Compilation Classpath ==================== -->
23
24     <path id="compile.classpath">
25       <fileset dir="${lib.dir}">
26          <include name="*.jar"/>
27       </fileset>
28       <fileset dir="${this.dir}/quickstart/antlib">
29          <include name="*.jar"/>
30       </fileset>
31       <fileset dir="${dist.home}">
32          <include name="*.jar"/>
33       </fileset>
34     </path>
35   </target>
36
37   <target name="build" depends="init"
38           description="Compile bedework deployutil classes">
39     <!-- ==================== Sources and classes ====================== -->
40
41     <fileset id="buildjar.java.sources" dir="${source.home}" >
42       <include name="org/bedework/*/*.java"/>
43     </fileset>
44
45     <patternset id="base.class.patternset">
46       <include name="org/bedework/*/*.class"/>
47     </patternset>
48
49     <ant antfile="${buildjar}" inheritRefs="true" target="build" />
50   </target>
51 </project>
Note: See TracBrowser for help on using the browser.