Thanks, is there an example of a Maven script that uses velocity or JSL to do this kind of substitution somewhere that I can look at.
Thanks, François -----Original Message----- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: December 4, 2003 1:34 AM To: 'Maven Users List' Subject: RE: Solution? Yes, you could do this with ant filters, or a maven script that substituted them using either velocity, XSLT or JSL. - Brett > -----Original Message----- > From: Francois Beauregard [mailto:[EMAIL PROTECTED] > Sent: Thursday, 4 December 2003 4:07 PM > To: [EMAIL PROTECTED] > Subject: Solution? > > > Here is the situation I have and would like to know if there > is a simple solution currently with Maven. > > We have a web application that we build using Maven and this > application uses Hibernate. Every developer use their own > schema in an Oracle DB. The connection properties are set in > a build.properties file that is different on every developers > workstation. We already have goals that are parameterized > with these properties that runs sql scripts against the > database. Fine till now. > > What I would like to do is have our hibernate.properties > stored in cvs as hibernate.properties.template and in my > goals be able to use velocity to replace placeholders with > the values of the connection properties. > > Thanks, > François > > > --------------------------------------------------------------------- > 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]