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]
> 

Reply via email to