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
Post a Comment