| # Copyright 2000-2005 The Apache Software Foundation. |
| # |
| # Licensed 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. |
| |
| # |
| # This file is used by build.xml and testcases.xml |
| # |
| |
| # Global defaults |
| name= Velocity |
| project= velocity |
| version= 1.5-dev |
| final.name= ${project}-${version} |
| |
| # This is the relative base dir. This must be the root of the |
| # Velocity distribution. All relative pathes are prefixed with |
| # velocity.dir |
| velocity.dir= . |
| |
| # compile switches |
| debug= on |
| optimize= on |
| deprecation= off |
| |
| # Needs to be configured with system location of javacc for parser task |
| javacc.home= *unset* |
| |
| velocity.build.dir= build |
| velocity.lib.dir= ${velocity.build.dir}/lib |
| |
| build.dir= ${velocity.dir}/bin |
| |
| # The source tree runs through a filter copy task to |
| # allow substitution of version, date etc. and will |
| # end up in build.src |
| build.src= ${build.dir}/src |
| build.test.src= ${build.dir}/test-src |
| build.dest= ${build.dir}/classes |
| build.deps= ${build.dir}/deps |
| build.test.dest= ${build.dir}/test-classes |
| build.javadoc= ${build.dir}/apidocs |
| build.test= ${build.dir}/test |
| build.test.reports= ${build.dir}/test-reports |
| build.docs= ${build.dir}/docs |
| |
| # Various local pathes in the distribution |
| src.java.dir= ${velocity.dir}/src/java |
| test.java.dir= ${velocity.dir}/src/test |
| test.dir= ${velocity.dir}/test |
| example.dir= ${velocity.dir}/examples |
| xdocs.dir= ${velocity.dir}/xdocs |
| docs.dir= ${velocity.dir}/docs |
| |
| # @TODO Move parser build out of the tree. |
| build.parser= ${src.java.dir}/org/apache/velocity/runtime/parser |
| |
| # Running the tests |
| test.haltonerror= true |
| test.haltonfailure= false |
| |
| # Building the distribution |
| dist.root= ${build.dir}/dist |
| dist.dir= ${dist.root}/${final.name} |
| |
| # Set to "project.xml" for distribution and "project-website.xml" |
| # when building docs for web site |
| docs.project= project.xml |
| |
| # jars explicitly needed for bulding 'dep jar' |
| log.jar= ${velocity.lib.dir}/logkit-1.0.1.jar |
| oro.jar= ${velocity.lib.dir}/oro-2.0.8.jar |
| collections.jar= ${velocity.lib.dir}/commons-collections-3.1.jar |
| lang.jar= ${velocity.lib.dir}/commons-lang-2.1.jar |
| |
| # Set to Sun Javadocs |
| javadocs.ref.jsdk= http://java.sun.com/j2se/1.4.2/docs/api/ |
| |
| |