| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. The ASF licenses this file to You |
| under the Apache License, Version 2.0 (the "License"); you may not |
| use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. For additional information regarding |
| copyright in this work, please see the NOTICE file in the top level |
| directory of this distribution. |
| --> |
| <!-- ================================================ --> |
| <!-- Properties and classpaths --> |
| <!-- ================================================ --> |
| <property file="ant.properties"/> |
| |
| <property name="build.generated" value="${ro.build}/generated"/> |
| <property name="build.compile_beans" value="${ro.build}/compile_beans"/> |
| <property name="build.compile_web" value="${ro.build}/compile_web"/> |
| <property name="build.stage_web" value="${ro.build}/roller"/> |
| <property name="build.tests" value="${ro.build}/tests"/> |
| <property name="build.javadoc" value="${ro.build}/javadoc"/> |
| <property name="build.velocidoc" value="${ro.build}/velocidoc"/> |
| <property name="build.jspc" value="${ro.build}/jspc"/> |
| <property name="build.reports" value="${ro.build}/reports"/> |
| <property name="tools.struts" value="${ro.tools}/struts-1.2.4" /> |
| <property name="tools.hibernate" value="${ro.tools}/hibernate-3.1" /> |
| <property name="tools.spring" value="${ro.tools}/spring-1.2" /> |
| <property name="tools.jstl" value="${ro.tools}/jakarta-taglibs-standard-1.1.2" /> |
| <property name="tools.xdoclet" value="${ro.tools}/buildtime/xdoclet-1.2.3" /> |
| <property name="tools.tomcat" value="${ro.tools}/buildtime/tomcat-5.0.28" /> |
| |
| <!-- |
| If you would like Ant to copy all the jar files that Resin needs |
| into the /WEB-INF/lib, uncomment the "resinServer" property below. |
| In order to run Roller properly on versions of Resin prior to 2.1.9 |
| you will need to uncomment the "resinFilters" and "resin.path" elements |
| below. In addition, make sure to uncomment the reference to resin.path |
| in the "base.path" definition. |
| --> |
| <!--property name="resinServer" value="true" /--> |
| <!-- |
| <property name="resinFilters" value="true" /> |
| <fileset id="resin.jars" dir="../../resin-2.1.8/lib" > |
| <include name="resin.jar" /> |
| </fileset> |
| --> |
| |
| <!-- **************************************************************** --> |
| <!-- Define filesets to be used in paths and copy tasks --> |
| <!-- **************************************************************** --> |
| |
| <fileset id="base.jars" dir="${ro.tools}/lib"> |
| <include name="commons-betwixt-1.0-beta-1.jar" /> |
| <include name="commons-cache.jar" /> |
| <include name="commons-codec-1.3.jar" /> |
| <include name="concurrent-1.3.2.jar"/> |
| <include name="jaxen-full.jar" /> |
| <include name="saxpath.jar" /> |
| <include name="jdom.jar"/> |
| <include name="lucene-1.4.3.jar"/> |
| <include name="log4j-1.2.11.jar"/> |
| <include name="rome-0.8.jar"/> |
| <include name="rome-fetcher-0.8.jar"/> |
| <include name="velocity-1.4.jar"/> |
| <include name="velocity-dep-1.4.jar"/> |
| <include name="velocity-tools-1.1.jar"/> |
| <include name="mail.jar"/> |
| <include name="activation.jar"/> |
| </fileset> |
| |
| <fileset id="presentation.jars" dir="${ro.tools}/lib"> |
| <include name="xmlrpc-1.2-b1.jar"/> |
| <include name="taglibs-string.jar"/> |
| </fileset> |
| |
| <fileset id="commons.jars" dir="${tools.struts}/lib"> |
| <include name="commons-*.jar"/> |
| </fileset> |
| |
| <fileset id="commons-httpclient.jar" dir="${ro.tools}/lib"> |
| <include name="commons-httpclient*.jar"/> |
| </fileset> |
| |
| <fileset id="struts.jars" dir="${tools.struts}/lib"> |
| <include name="*.jar"/> |
| </fileset> |
| |
| <fileset id="servlet.jars" dir="${tools.tomcat}"> |
| <include name="servlet-api.jar"/> |
| <include name="jsp-api.jar"/> |
| </fileset> |
| |
| <fileset id="mail.jars" dir="${ro.tools}/lib"> |
| <include name="activation.jar"/> |
| <include name="mail.jar"/> |
| </fileset> |
| |
| <fileset id="jstl.jars" dir="${tools.jstl}/lib"> |
| <include name="jstl.jar"/> |
| <include name="standard.jar"/> |
| <include name="xalan.jar"/> |
| </fileset> |
| |
| <fileset id="hibernate.jar" dir="${tools.hibernate}"> |
| <include name="hibernate3.jar"/> |
| </fileset> |
| |
| <fileset id="hibernate.jars" dir="${tools.hibernate}/lib"> |
| <include name="*.jar"/> |
| </fileset> |
| |
| <fileset id="spring.jars" dir="${tools.spring}"> |
| <include name="*.jar"/> |
| </fileset> |
| |
| <!-- **************************************************************** --> |
| <!-- Define path based on above filesets --> |
| <!-- **************************************************************** --> |
| |
| <!-- Dependencies common to both presentation and business layers --> |
| <path id="base.path"> |
| <fileset refid="base.jars"/> |
| <fileset refid="mail.jars"/> |
| <fileset refid="commons.jars"/> |
| </path> |
| |
| <path id="presentation.path"> |
| <path refid="base.path"/> |
| <fileset refid="presentation.jars"/> |
| <fileset refid="struts.jars"/> |
| <fileset refid="servlet.jars"/> |
| <fileset refid="mail.jars"/> |
| <fileset refid="jstl.jars"/> |
| <fileset refid="spring.jars"/> |
| <!--fileset refid="resin.jars" /--> |
| </path> |
| |
| <path id="business.path"> |
| <path refid="base.path"/> |
| <fileset refid="hibernate.jar" /> |
| <fileset refid="hibernate.jars" /> |
| <path location="${build.compile_beans}"/> |
| </path> |
| |
| <path id="javadoc.path"> |
| <path refid="base.path"/> |
| <path refid="presentation.path"/> |
| <path refid="business.path"/> |
| </path> |
| |
| <path id="xdoclet.path"> |
| <path refid="presentation.path"/> |
| <path refid="business.path"/> |
| <fileset dir="${ro.tools}/buildtime/" includes="ejb-1.1.jar"/> |
| <fileset dir="${tools.xdoclet}/lib" includes="*.jar"/> |
| </path> |
| |
| <path id="webdoclet.path"> |
| <path refid="xdoclet.path"/> |
| <path location="${ro.build}/generated/src.presentation"/> |
| <path location="${ro.build}/compile_beans"/> |
| <path location="${ro.build}/compile_web"/> |
| </path> |
| |
| <path id="junit.path"> |
| <fileset dir="${ro.tools}/buildtime/" includes="junit-3.8.1.jar"/> |
| <path location="${build.tests}/WEB-INF/classes" /> |
| <path> |
| <fileset dir="${ro.tools}/buildtime/mockrunner-0.35/lib"> |
| <include name="*.jar"/> |
| </fileset> |
| </path> |
| <path> |
| <fileset dir="${build.stage_web}/WEB-INF/lib"> |
| <include name="*.jar"/> |
| </fileset> |
| </path> |
| <fileset refid="servlet.jars"/> |
| <fileset refid="commons-httpclient.jar"/> |
| <path location="${ro.tools}/buildtime/ant-1.6.2/ant.jar"/> |
| <path location="${ro.tools}/buildtime/strutstest-2.0.0.jar"/> |
| <path location="${ro.tools}/buildtime/hsqldb.jar"/> |
| <path location="${ro.tools}/lib/mm.mysql-2.0.14-bin.jar"/> |
| </path> |
| |
| <path id="jasper.path"> |
| <pathelement location="${java.home}/../lib/tools.jar"/> |
| <fileset dir="${catalina.home}/bin"> |
| <include name="*.jar"/> |
| </fileset> |
| <fileset dir="${catalina.home}/server/lib"> |
| <include name="*.jar"/> |
| </fileset> |
| <fileset dir="${catalina.home}/common/lib"> |
| <include name="*.jar"/> |
| </fileset> |
| </path> |
| <path id="jsp.compile.path"> |
| <pathelement location="${java.home}/../lib/tools.jar"/> |
| <fileset dir="${build.stage_web}/WEB-INF/lib"> |
| <include name="*.jar"/> |
| </fileset> |
| <fileset dir="${catalina.home}/bin"> |
| <include name="*.jar"/> |
| </fileset> |
| <fileset dir="${catalina.home}/server/lib"> |
| <include name="*.jar"/> |
| </fileset> |
| <fileset dir="${catalina.home}/common/lib"> |
| <include name="*.jar"/> |
| </fileset> |
| </path> |
| |
| <path id="findbugs.path"> |
| <path refid="presentation.path"/> |
| <path refid="business.path"/> |
| <path refid="junit.path"/> |
| <fileset dir="${basedir}/contrib/lib" includes="*.jar"/> |
| <fileset dir="${ro.tools}/buildtime/findbugs/lib" includes="*.jar"/> |
| </path> |
| |