| 1 |
<?xml version="1.0"?> |
|---|
| 2 |
|
|---|
| 3 |
<!-- This is the ant build file for the localization suite of the UW Calendar. |
|---|
| 4 |
|
|---|
| 5 |
This file will probably need no modification as it is assumed that the |
|---|
| 6 |
core of the calendar will be largely site and application independent. |
|---|
| 7 |
|
|---|
| 8 |
The target of interest is build which should leave some jar files |
|---|
| 9 |
in the temp jar directory.. |
|---|
| 10 |
|
|---|
| 11 |
These files will be needed for subsequent application or module builds. |
|---|
| 12 |
|
|---|
| 13 |
This build file depends upon properties set by the master build file one |
|---|
| 14 |
level up in the directory tree. |
|---|
| 15 |
|
|---|
| 16 |
Authors: Mike Douglass douglm@rpi.edu |
|---|
| 17 |
--> |
|---|
| 18 |
|
|---|
| 19 |
<project name="uwcal.locale" default="build"> |
|---|
| 20 |
<property name="source.home" location="${org.bedework.locale.base}/src"/> |
|---|
| 21 |
<property name="base.name" value="locale"/> |
|---|
| 22 |
|
|---|
| 23 |
<target name="init"> |
|---|
| 24 |
<dirname property="this.dir" file="${ant.file}"/> |
|---|
| 25 |
</target> |
|---|
| 26 |
|
|---|
| 27 |
<!-- ========================== Base build Targets =================== |
|---|
| 28 |
Here we have one target building the classes and interfaces that make |
|---|
| 29 |
up the calendar loalization module. |
|---|
| 30 |
None of these targets need to be invoked explicitly though you may |
|---|
| 31 |
wish to during development. |
|---|
| 32 |
================================================================= --> |
|---|
| 33 |
|
|---|
| 34 |
<target name="build" depends="init" |
|---|
| 35 |
description="Compile UW calendar localization classes"> |
|---|
| 36 |
<!-- ==================== Sources and classes ====================== --> |
|---|
| 37 |
|
|---|
| 38 |
<fileset id="base.java.sources" dir="${source.home}" > |
|---|
| 39 |
<include name="edu/rpi/cct/uwcal/resources/**/*.java"/> |
|---|
| 40 |
</fileset> |
|---|
| 41 |
|
|---|
| 42 |
<patternset id="base.class.patternset"> |
|---|
| 43 |
<include name="edu/rpi/cct/uwcal/resources/**/*.class"/> |
|---|
| 44 |
</patternset> |
|---|
| 45 |
|
|---|
| 46 |
<!-- ==================== Compilation Classpath ==================== --> |
|---|
| 47 |
|
|---|
| 48 |
<path id="compile.classpath"> |
|---|
| 49 |
<pathelement location="${org.bedework.calfacadeshared.jar}"/> |
|---|
| 50 |
<pathelement location="${log4j.jar}"/> |
|---|
| 51 |
</path> |
|---|
| 52 |
|
|---|
| 53 |
<!-- ==================== Build Target ============================= --> |
|---|
| 54 |
|
|---|
| 55 |
<property name="build.jar.file" location="${org.bedework.locale.jar}" /> |
|---|
| 56 |
|
|---|
| 57 |
<ant antfile="${buildjar}" inheritRefs="true" target="build" /> |
|---|
| 58 |
</target> |
|---|
| 59 |
</project> |
|---|