Is it possible to do string replacement in an archetype?

2007-02-03 Thread mraible
replacement tool available in the VelocityContext of the archetype-plugin? I'd like to do something like: $stringutil.replace(${artifactId}, '-', '_') Thanks, Matt -- View this message in context: http://www.nabble.com/Is-it-possible-to-do-string-replacement-in-an-archetype--tf3167058s177.html

Re: Is it possible to do string replacement in an archetype?

2007-02-03 Thread Raphaël Piéroni
, this will fail on most databases. Is there a String replacement tool available in the VelocityContext of the archetype-plugin? I'd like to do something like: $stringutil.replace(${artifactId}, '-', '_') Thanks, Matt -- View this message in context: http://www.nabble.com/Is-it-possible-to-do-string

Re: Is it possible to do string replacement in an archetype?

2007-02-03 Thread mraible
in the VelocityContext of the archetype-plugin? I'd like to do something like: $stringutil.replace(${artifactId}, '-', '_') Thanks, Matt -- View this message in context: http://www.nabble.com/Is-it-possible-to-do-string-replacement-in-an-archetype--tf3167058s177.html#a8785517 Sent from the Maven