root/trunk/calendar3/webadmin/build.xml

Revision 829 (checked in by douglm, 7 years ago)

Code that formed component common repackaged as a separate project rpiutil.
Enables use by separate sub-projects

Line 
1 <?xml version="1.0"?>
2
3 <!-- ===================================================================
4      This is the build.xml for the calendar admin client.
5
6      On entry we also require the usual global properties.
7
8      On exit:
9        jar files built for this component
10
11      Authors: Mike Douglass   douglm@rpi.edu
12      =================================================================== -->
13
14 <project name="webadmin.compile" default="build" >
15   <property name="source.home" location="${org.bedework.webadmin.base}/src"/>
16   <property name="base.name" value="webadmin"/>
17
18   <target name="init">
19     <dirname property="this.dir" file="${ant.file}"/>
20   </target>
21
22   <!-- =================================================================
23        The "build" target does a build of the web admin component
24        ================================================================= -->
25
26   <target name="build" depends="init"
27           description="Build calendar public events admin client">
28
29     <!-- ==================== Sources and classes ====================== -->
30
31     <fileset id="base.java.sources" dir="${source.home}" >
32       <include name="org/bedework/webadmin/**/*.java"/>
33     </fileset>
34
35     <patternset id="base.class.patternset">
36       <include name="org/bedework/webadmin/**/*.class"/>
37     </patternset>
38
39     <!-- ==================== Compilation Classpath ==================== -->
40
41     <path id="compile.classpath">
42       <pathelement location="${servlet.jar}"/>
43       <pathelement location="${struts.jar}"/>
44       <pathelement location="${log4j.jar}"/>
45       <pathelement location="${ical4j.jar}"/>
46
47       <pathelement location="${org.bedework.rpiutil.jar}"/>
48
49       <!-- Include the location of the compiled calendar classes -->
50       <pathelement location="${org.bedework.calenv.jar}"/>
51       <pathelement location="${org.bedework.calfacadeshared.jar}"/>
52       <pathelement location="${org.bedework.calsvci.jar}"/>
53       <pathelement location="${org.bedework.ical.jar}"/>
54       <pathelement location="${org.bedework.appcommon.jar}"/>
55       <pathelement location="${org.bedework.webcommon.jar}"/>
56     </path>
57
58     <property name="build.jar.file" location="${org.bedework.webadmin.jar}" />
59
60     <ant antfile="${buildjar}" inheritRefs="true" target="build" />
61   </target>
62 </project>
Note: See TracBrowser for help on using the browser.