maven 2 - Setting velocity properties -


i have occurence building maven archetype want

#set( $controllerpackage = ${package}\.${artifactid}) 

i.e. set controllerpackage variable equal result of string concatentaion of following 3 elements ($package,'.',$artifactid)

however obvioulsy not correct syntax -

lexical error: org.apache.velocity.runtime.parser.tokenmgrerror: lexical error @ line 4, column 40. encountered: "." (46), after : "\"

is there way can include period in outputted string?

to construct string, use quotes.

#set( $controllerpackage = "${package}.${artifactid}" ) 

Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -