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

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -