I am currently setting up Ant build script to generate database schema from Hibernate. The ant task I use is <hibernatetool />. The database is HSQLDB standalone version integrated with my standalone application.
During the build process I want to create database with schema in a subdirectory of my application directory, which is specified through an Ant property. However, hibernatetool takes db location from hibernate.cfg.xml file (hibernate.connection.url property). Are there anyway that I can specify the the connection url through Ant property in my build script?
|