Le sam 14/02/2004 � 23:05, thorsten maus a �crit : > hi there .. > > im actually integrating jboss into my maven project .. > > i used to have jboss specific files (server/conf) with replacement tokens > ant was able to replace using my defined properties ... > > how do i achieve this using maven > > f.e. > > <datasources> > <local-tx-datasource> > ... > <user-name>@db.user@</user-name> > <password>@db.password@</password> > ... > > project.property > =========== > db.user=foo > db.password=bar > > when typing > > maven jboss:configure > > i would like maven to take the files out of my defined conf directory ( > is actually doing it ) .. > and replace the tokens . > > any idea ???? >
I don't the "maven way" to do this, but you could simply call Ant with the right filterset: http://ant.apache.org/manual/CoreTypes/filterset.html The syntax uses @property_name@, so it should be a good fit for you. Best Regards -- David Garnier <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
