I am not very confirm with ant. How can I do this? Martin
> -----Ursprüngliche Nachricht----- > Von: Howard Lin [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 3. März 2003 16:17 > An: Turbine Torque Users List > Betreff: RE: Configuration for different databases > > > I assume you want to generate SQL scripts using Torque. I > think current Torque only generate SQL scripts for one > database that's defined in build-torque.properties file. To > get around this problem, I used Ant's token-filtering methods > to create build-torque.properties for different databases. > > Howard Lin > > > -----Original Message----- > > From: Martin Nattrodt [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 03, 2003 8:25 AM > > To: 'Turbine Torque Users List' > > Subject: Configuration for different databases > > > > > > Hello, > > > > I am searching for a simple way for handling different database > > configurations with one configuration file. > > > > If you have different databases you have different URL's, > > users, PWD ect. > > Is there any possibility to do something in your property file like: > > > > torque.database.mysql.user = db2admin > > torque.database.db2.user = db2admin > > torque.database.oracle.user = oraadmin > > torque.database.sapdb.user = sapdb > > > > And when you create the SQL-scripts the should be named like > > mysql-DBNAME-schema.sql > > db2-DBNAME-schema.sql > > oracle-DBNAME-schema.sql > > sapdb-DBNAME-schema.sql > > > > > > > > Regards Martin > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
