Lifty/lifty — Issue #5: java.util.regex.PatternSyntaxException
Author: rajeshpg
Created: 2011-11-17 07:25:02+00:00
State: open

i am getting this java.util.regex.PatternSyntaxException

env: windowsxp

lifty folder is created.

heres what i was doing and the exception i got.

> lifty create lift project
Enter value for liftversion[2.4-M5]:
Enter value for mainpack: demo
Enter value for projectName: liftdemo
Enter value for scalaVersion[2.9.1]:
Enter value for modelpack[demo.model]:
Enter value for libpack[demo.lib]:
Rendering: helloworld.ssp
java.util.regex.PatternSyntaxException: Unexpected internal error near index 1
\
^
at java.util.regex.Pattern.error(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at java.util.regex.Pattern.(Unknown Source)
at java.util.regex.Pattern.compile(Unknown Source)
at java.lang.String.split(Unknown Source)
at java.lang.String.split(Unknown Source)
at org.lifty.engine.io.FileUtil$.create$1(FileUtil.scala:75)
at org.lifty.engine.io.FileUtil$.writeToFile(FileUtil.scala:88)
at org.lifty.engine.io.FileUtil$.writeToTempFile(FileUtil.scala:52)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8$$anonfun$app
ly$9.apply(Scalate.scala:105)