1 # -----------------------------------------------------------------------------
2 # Licensed to the Apache Software Foundation (ASF) under one or more
3 # contributor license agreements. See the NOTICE file distributed with
4 # this work for additional information regarding copyright ownership.
5 # The ASF licenses this file to You under the Apache License, Version 2.0
6 # (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # -----------------------------------------------------------------------------
17 # build.properties.sample
19 # This is an example "build.properties" file, used to customize building
20 # Tomcat JDBC Pool for your local environment. It defines the location of all external
21 # modules that Tomcat JDBC Pool depends on. Copy this file to "build.properties"
22 # in the top-level source directory, and customize it as needed.
23 # -----------------------------------------------------------------------------
25 # ----- Vesion Control Flags -----
32 # ----- Default Base Path for Dependent Packages -----
33 # Please note this path must be absolute, not relative,
34 # as it is referenced with different working directory
35 # contexts by the various build scripts.
36 base.path=${basedir}/includes
42 # Do not pass -deprecation (-Xlint:deprecation) flag to javac
43 compile.deprecation=false
45 # ----- Settings for Junit test database.
49 testdb.password=password
52 testdb.url=jdbc:h2:~/.h2/test;QUERY_TIMEOUT=0;DB_CLOSE_ON_EXIT=TRUE;LOCK_TIMEOUT=50000;DEFAULT_LOCK_TIMEOUT=50000
53 testdb.driverClassName=org.h2.Driver
54 testdb.validationQuery=SELECT 1
57 #testdb.url=jdbc:mysql://localhost:3306/mysql?autoReconnect=true
58 #testdb.driverClassName=com.mysql.jdbc.Driver
59 #testdb.validationQuery=SELECT 1
62 #testdb.url=jdbc:derby:derbyDB;create=true
63 #testdb.driverClassName=org.apache.derby.jdbc.EmbeddedDriver
64 #testdb.validationQuery=VALUES 1
66 # JUnit Unit Test Suite
68 junit.home=${base.path}/junit-${junit.version}
69 junit.jar=${junit.home}/junit-${junit.version}.jar
70 junit.loc=http://repo.maven.apache.org/maven2/junit/junit/${junit.version}/junit-${junit.version}.jar
72 # Hamcrest Library, used by JUnit
74 hamcrest.home=${base.path}/hamcrest-${hamcrest.version}
75 hamcrest.jar=${hamcrest.home}/hamcrest-core-${hamcrest.version}.jar
76 hamcrest.loc=http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/${hamcrest.version}/hamcrest-core-${hamcrest.version}.jar
78 mysql.home=${base.path}/mysql-connector-java-5.1.12
79 mysql.jar=${mysql.home}/mysql-connector-java-5.1.12-bin.jar
80 mysql.loc=http://mysql.mirrors.hoobly.com/Downloads/Connector-J/mysql-connector-java-5.1.12.zip
83 tomcat.home=${base.path}/apache-tomcat-${tomcat.version}
84 tomcat.dbcp.jar=${tomcat.home}/lib/tomcat-dbcp.jar
85 tomcat.juli.jar=${tomcat.home}/bin/tomcat-juli.jar
86 tomcat.loc=http://archive.apache.org/dist/tomcat/tomcat-8/v${tomcat.version}/bin/apache-tomcat-${tomcat.version}.zip
88 tomcat.project.loc=http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/project.xml
89 tomcat.project.dest=${base.path}/project.xml
91 tomcat.xsl.loc=http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/tomcat-docs.xsl
92 tomcat.xsl.dest=${base.path}/tomcat-docs.xsl
94 derby.home=${base.path}/db-derby-10.5.1.1-bin
95 derby.loc=http://archive.apache.org/dist/db/derby/db-derby-10.5.1.1/db-derby-10.5.1.1-bin.tar.gz
96 derby.jar=${derby.home}/lib/derby.jar
98 h2.home=${base.path}/h2
99 h2.loc=http://h2database.googlecode.com/files/h2-2010-02-19.zip
100 h2.jar=${h2.home}/bin/h2-1.2.129.jar