| 1 |
<!-- This is the build.xml for the bedework common classes component. |
|---|
| 2 |
|
|---|
| 3 |
Authors: Mike Douglass douglm@rpi.edu |
|---|
| 4 |
--> |
|---|
| 5 |
|
|---|
| 6 |
<project name="common.compile" default="build" > |
|---|
| 7 |
<property name="base.name" value="common"/> |
|---|
| 8 |
|
|---|
| 9 |
<target name="init"> |
|---|
| 10 |
<dirname property="this.dir" file="${ant.file}"/> |
|---|
| 11 |
<property name="source.home" location="${this.dir}/src"/> |
|---|
| 12 |
</target> |
|---|
| 13 |
|
|---|
| 14 |
<target name="build" depends="init" |
|---|
| 15 |
description="Compile bedework common Java sources"> |
|---|
| 16 |
<!-- ==================== Sources and classes ====================== --> |
|---|
| 17 |
|
|---|
| 18 |
<fileset id="base.java.sources" dir="${source.home}" > |
|---|
| 19 |
<include name="edu/rpi/sss/util/**/*.java"/> |
|---|
| 20 |
<include name="edu/rpi/cct/uwcal/**/*.java"/> |
|---|
| 21 |
</fileset> |
|---|
| 22 |
|
|---|
| 23 |
<patternset id="base.class.patternset"> |
|---|
| 24 |
<include name="edu/rpi/sss/util/**/*.class"/> |
|---|
| 25 |
<include name="edu/rpi/cct/uwcal/**/*.class"/> |
|---|
| 26 |
</patternset> |
|---|
| 27 |
|
|---|
| 28 |
<!-- ==================== Compilation Classpath ==================== --> |
|---|
| 29 |
|
|---|
| 30 |
<path id="compile.classpath"> |
|---|
| 31 |
<pathelement location="${servlet.jar}"/> |
|---|
| 32 |
<pathelement location="${struts.jar}"/> |
|---|
| 33 |
<pathelement location="${fop.jar}"/> |
|---|
| 34 |
<pathelement location="${avalon.jar}"/> |
|---|
| 35 |
<pathelement location="${log4j.jar}"/> |
|---|
| 36 |
<pathelement location="${logkit.jar}"/> |
|---|
| 37 |
<pathelement location="${jtidy.jar}"/> |
|---|
| 38 |
<pathelement location="${org.bedework.calfacadeshared.jar}"/> |
|---|
| 39 |
</path> |
|---|
| 40 |
|
|---|
| 41 |
<!-- ==================== Build Target ============================= --> |
|---|
| 42 |
|
|---|
| 43 |
<property name="build.jar.file" location="${org.bedework.common.jar}" /> |
|---|
| 44 |
|
|---|
| 45 |
<ant antfile="${buildjar}" inheritRefs="true" target="build" /> |
|---|
| 46 |
</target> |
|---|
| 47 |
</project> |
|---|