f15ecac27734a4b4cf25fa4851acac756d5290ac
[sdnc/core.git] / dblib / common / build.properties.default
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
8 #
9 #     http://www.apache.org/licenses/LICENSE-2.0
10 #
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
18 #
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 # -----------------------------------------------------------------------------
24
25 # ----- Vesion Control Flags -----
26 version.major=1
27 version.minor=1
28 version.build=0
29 version.patch=1
30 version.suffix=
31
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
37
38 compile.source=1.7
39 compile.target=1.7
40 compile.debug=true
41
42 # Do not pass -deprecation (-Xlint:deprecation) flag to javac
43 compile.deprecation=false
44
45 # ----- Settings for Junit test database.
46
47 # Common settings
48 testdb.username=root
49 testdb.password=password
50
51 # H2
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
55
56 # MySQL
57 #testdb.url=jdbc:mysql://localhost:3306/mysql?autoReconnect=true
58 #testdb.driverClassName=com.mysql.jdbc.Driver
59 #testdb.validationQuery=SELECT 1
60
61 # Derby
62 #testdb.url=jdbc:derby:derbyDB;create=true
63 #testdb.driverClassName=org.apache.derby.jdbc.EmbeddedDriver
64 #testdb.validationQuery=VALUES 1
65
66 # JUnit Unit Test Suite
67 junit.version=4.11
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
71
72 # Hamcrest Library, used by JUnit
73 hamcrest.version=1.3
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
77
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
81
82 tomcat.version=8.0.14
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
87
88 tomcat.project.loc=http://svn.apache.org/repos/asf/tomcat/trunk/webapps/docs/project.xml
89 tomcat.project.dest=${base.path}/project.xml
90
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
93
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
97
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