build.properties
Upload User: jiancairen
Upload Date: 2007-08-27
Package Size: 26458k
Code Size: 1k
Category:

Java Develop

Development Platform:

Java

  1. # Ant properties for building the Spring petclinic demo/tutorial
  2. #CUSTOMIZE the HSQL database properties for the setupDB/test tasks 
  3. hsql.driver=org.hsqldb.jdbcDriver
  4. hsql.url=jdbc:hsqldb:hsql://localhost:9001
  5. # For jboss use the port 1701. Replace the line above by this below without the comment.
  6. # hsql.url=jdbc:hsqldb:hsql://localhost:1701
  7. hsql.user=sa
  8. hsql.pw=
  9. #CUSTOMIZE the MYSQL database properties for the setupDB/test tasks 
  10. mysql.driver=org.gjt.mm.mysql.Driver
  11. mysql.url=jdbc:mysql://localhost:3306/petclinic
  12. mysql.user=pc
  13. mysql.pw=pc
  14. #NOTE: To CONFIGURE the DATABASE  you will need to :
  15. #1. CUSTOMIZE the above database properties as needed. 
  16. #2. For the webapp:
  17. #     A. Set the correct bean definitions in websrc/WEB-INF/applicationContext.xml
  18. #     B. Deploy the correct connection pool datasource xml definition file for the 
  19. #      application server of interest found in db/??? (only if using connection pooling).
  20. #3. For the tests:
  21. #     Set the correct bean definitions in test/src/applicationContext.xml
  22. #     UNCOMMENT ***ONE*** of the following lines to SELECT the database to use for the setupDB/test tasks
  23. useHSQL=
  24. #useMYSQL=