alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Spring Framework example source code file (build.properties)

This example Spring Framework source code file (build.properties) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Spring Framework tags/keywords

ant, ant, customize, customize, for, for, hsql, if, jdbc, jpa, petclinic, replace, select, tomcat

The Spring Framework build.properties source code

# Ant properties for building the Spring PetClinic sample application

# ------------------------------------------------------------------------------
# CUSTOMIZE the HSQL database properties for the setupDB/test tasks.
hsql.driver=org.hsqldb.jdbcDriver
hsql.url=jdbc:hsqldb:hsql://localhost:9001
# For jboss use the port 1701. Replace the line above by this below without the comment.
# hsql.url=jdbc:hsqldb:hsql://localhost:1701
hsql.user=sa
hsql.pw=

# ------------------------------------------------------------------------------
# CUSTOMIZE the MYSQL database properties for the setupDB/test tasks.
mysql.driver=com.mysql.jdbc.Driver
mysql.url=jdbc:mysql://localhost:3306/petclinic
mysql.user=pc
mysql.pw=pc

# ------------------------------------------------------------------------------
# NOTE: To CONFIGURE the DATABASE, you will need to:
#
# 1) CUSTOMIZE the above database properties as needed.
#
# 2) For the webapp:
#    a) Customize the JDBC settings (i.e., jdbc.* and jpa.*) in "src/jdbc.properties".
#       Make sure that the connection settings configured in this file are consistent
#       with those in "src/jdbc.properties".
#    b) If you intend to use connection pooling via a Tomcat resource, you will
#       need to deploy the petclinic_tomcat_*.xml file (found in db/mysql or
#       db/hsqldb) for the corresponding database.
#
# 3) For the tests:
#    UNCOMMENT ***ONE*** of the following lines to SELECT the database to use
#    for the various Ant targets defined in build.xml and db/build.xml.

useHSQL=
#useMYSQL=

# ------------------------------------------------------------------------------
# JPA specific settings
jpa.excludes = **/jpa/**
toplink.excludes = **/toplink/Essential*
aspectj.excludes = **/aspects/**

Other Spring Framework examples (source code examples)

Here is a short list of links related to this Spring Framework build.properties source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.