| 1 |
<?xml version="1.0"?> |
|---|
| 2 |
|
|---|
| 3 |
<!-- ====================== Calendar tools classes ====================== |
|---|
| 4 |
This is the ant build file for tools for the UW Calendar. |
|---|
| 5 |
|
|---|
| 6 |
This file will probably need no modification as it is assumed that the |
|---|
| 7 |
core of the calendar will be largely site and application independent. |
|---|
| 8 |
|
|---|
| 9 |
This build file depends upon properties set by the master build file one |
|---|
| 10 |
level up in the directory tree. |
|---|
| 11 |
|
|---|
| 12 |
Authors: Mike Douglass douglm@rpi.edu |
|---|
| 13 |
=================================================================== --> |
|---|
| 14 |
|
|---|
| 15 |
<project name="uwcal.tools" default="build"> |
|---|
| 16 |
<property name="base.name" value="tools"/> |
|---|
| 17 |
|
|---|
| 18 |
<target name="init" > |
|---|
| 19 |
<dirname property="org.bedework.tools.base" file="${ant.file}"/> |
|---|
| 20 |
<property name="source.home" location="${org.bedework.tools.base}/src"/> |
|---|
| 21 |
</target> |
|---|
| 22 |
|
|---|
| 23 |
<!-- ================================================================= |
|---|
| 24 |
The "build" target does a build of all tools classes |
|---|
| 25 |
================================================================= --> |
|---|
| 26 |
|
|---|
| 27 |
<target name="build" |
|---|
| 28 |
depends="init" |
|---|
| 29 |
description="Build calendar tools jars"> |
|---|
| 30 |
<!-- ==================== Sources and classes ====================== --> |
|---|
| 31 |
|
|---|
| 32 |
<fileset id="base.java.sources" dir="${source.home}" > |
|---|
| 33 |
<include name="org/bedework/tools/**/*.java"/> |
|---|
| 34 |
</fileset> |
|---|
| 35 |
|
|---|
| 36 |
<patternset id="base.class.patternset"> |
|---|
| 37 |
<include name="org/bedework/tools/**/*.class"/> |
|---|
| 38 |
</patternset> |
|---|
| 39 |
|
|---|
| 40 |
<!-- ==================== Compilation Classpath ==================== --> |
|---|
| 41 |
|
|---|
| 42 |
<path id="compile.classpath"> |
|---|
| 43 |
<pathelement location="${log4j.jar}"/> |
|---|
| 44 |
<pathelement location="${ical4j.jar}"/> |
|---|
| 45 |
<pathelement location="${digester.jar}"/> |
|---|
| 46 |
<pathelement location="${hibernate.jar}"/> |
|---|
| 47 |
<pathelement location="${org.bedework.calfacadeshared.jar}"/> |
|---|
| 48 |
<pathelement location="${org.bedework.calsvci.jar}"/> |
|---|
| 49 |
<pathelement location="${org.bedework.calcore.jar}"/> |
|---|
| 50 |
<pathelement location="${org.bedework.access.jar}"/> |
|---|
| 51 |
<pathelement location="${org.bedework.appcommon.jar}"/> |
|---|
| 52 |
</path> |
|---|
| 53 |
|
|---|
| 54 |
<!-- ==================== Build Target ============================= --> |
|---|
| 55 |
|
|---|
| 56 |
<property name="build.jar.file" location="${org.bedework.tools.jar}" /> |
|---|
| 57 |
|
|---|
| 58 |
<ant antfile="${buildjar}" inheritRefs="true" target="build" /> |
|---|
| 59 |
</target> |
|---|
| 60 |
|
|---|
| 61 |
<!-- ========================== run targets ========================== |
|---|
| 62 |
================================================================= --> |
|---|
| 63 |
|
|---|
| 64 |
<target name="tzconvert" |
|---|
| 65 |
depends="build" |
|---|
| 66 |
description="Run timezone ics file conversion app"> |
|---|
| 67 |
<ant antfile="${org.bedework.tools.base}/timezones/build.xml" inheritrefs="true" |
|---|
| 68 |
target="tzconvert" /> |
|---|
| 69 |
</target> |
|---|
| 70 |
</project> |
|---|