Hey Mads,
thanks a lot for the quick answer. (Maybe you could update the
documentation on github to Version 1.3).
This worked now, but going on i get some other problem.
Whenever i try to do sth. with lifty i get the following error:
> lifty create snippet JansSnippet
java.net.URISyntaxException: Illegal character in opaque part at index
2: D:\Dev\learning\lifty\_temp_\snippet.ssp
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.<init>(Unknown Source)
at
org.fusesource.scalate.AbstractCodeGenerator.extractPackageAndClassNames(AbstractCodeGenerator.scala:
157)
at
org.fusesource.scalate.ssp.SspCodeGenerator.generate(SspCodeGenerator.scala:
67)
at
org.fusesource.scalate.TemplateEngine.generate_compile_and_load(TemplateEngine.scala:
182)
at
org.fusesource.scalate.TemplateEngine.preparePage(TemplateEngine.scala:
149)
at
org.fusesource.scalate.TemplateEngine.loadTemporary(TemplateEngine.scala:
100)
at
org.lifty.engine.Scalate.org$lifty$engine$Scalate$
$processSingleTemplate(Scalate.scala:237)
at org.lifty.engine.Scalate$$anonfun$3.apply(Scalate.scala:39)
at org.lifty.engine.Scalate$$anonfun$3.apply(Scalate.scala:39)
at scala.List.map(List.scala:812)
at org.lifty.engine.Scalate.run(Scalate.scala:39)
at org.lifty.engine.Create$class.create(Operations.scala:18)
at org.lifty.processor.SnippetTemplate$.create(Templates.scala:
18)
at org.lifty.engine.Template$class.process(Template.scala:116)
at org.lifty.processor.SnippetTemplate
$.process(Templates.scala:18)
at org.lifty.engine.commands.CreateCommand.run(Commands.scala:
68)
at org.lifty.engine.TemplateProcessor
$class.processInput(Processor.scala:69)
at
org.lifty.processor.LiftProcessor.processInput(LiftProcessor.scala:12)
at org.lifty.engine.SBTTemplateProcessor
$class.apply(SBTTemplateProcessor.scala:37)
at org.lifty.processor.LiftProcessor.apply(LiftProcessor.scala:
12)
at sbt.processor.BasicProcessor.apply(Processor.scala:28)
at sbt.xMain$$anonfun$process$1$7.apply(Main.scala:248)
at sbt.xMain$$anonfun$process$1$7.apply(Main.scala:248)
at sbt.xMain.tryOrFail$1(Main.scala:146)
at sbt.xMain.process$1(Main.scala:247)
at sbt.xMain$Continue$1.apply(Main.scala:132)
at sbt.xMain.run$1(Main.scala:136)
at sbt.xMain.processArguments(Main.scala:266)
at sbt.xMain.startProject(Main.scala:107)
at sbt.xMain.run(Main.scala:84)
at sbt.xMain.run0$1(Main.scala:35)
at sbt.xMain.run(Main.scala:42)
at xsbt.boot.Launch$.run(Launch.scala:53)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:42)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:42)
at xsbt.boot.Launch$.launch(Launch.scala:57)
at xsbt.boot.Launch$.explicit(Launch.scala:42)
at xsbt.boot.Launch$.initialized(Launch.scala:38)
at xsbt.boot.Launch$.parsed(Launch.scala:31)
at xsbt.boot.Launch$.configured(Launch.scala:21)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Launch$.apply(Launch.scala:13)
at xsbt.boot.Boot$.runImpl(Boot.scala:24)
at xsbt.boot.Boot$.run(Boot.scala:19)
at xsbt.boot.Boot$.main(Boot.scala:15)
at xsbt.boot.Boot.main(Boot.scala)
Any idea what is happening here?
Thanks a lot
Jan
On 13 Okt., 15:47, Mads Hartmann Jensen <
mads...@gmail.com> wrote:
> Hey jan,
>
> Lifty 1.2 had a dependency on the SNAPSHOT version of scalate-core. For it to work you would have to add
> the scala-tools snapshot repository as well:
>
> *scalatoolssnapshot athttp://
www.scala-tools.org/repo-snapshots/
> but please try with 1.3
>
> *lifty is org.lifty lifty 1.3
> Thanks,
> Mads Hartmann Jensen
>
> On Oct 13, 2010, at 3:42 PM, Jan wrote:
>
> > Hey,
>
> > i tried to set up Lifty on Windows but got the following error :
>
> >> *lifty is org.lifty lifty 1.2
> > [warn] module not found: com.sidewayscoding#scalate-core;1.0-SNAPSHOT
> > [warn] ==== local: tried
> > [warn] C:/Users/jan/.ivy2/local/com.sidewayscoding/scalate-core/1.0-
> > SNAPSHOT/ivys/ivy.xml
> > [warn] -- artifact com.sidewayscoding#scalate-core;1.0-SNAPSHOT!
> > scalate-core.jar:
> > [warn] C:/Users/jan/.ivy2/local/com.sidewayscoding/scalate-core/1.0-
> > SNAPSHOT/jars/scalate-core.jar
> > [warn] ==== sbtIdeaRepo: tried
> > [warn]
http://mpeltonen.github.com/maven/com/sidewayscoding/scalate-core/1.0...
> > [warn] -- artifact com.sidewayscoding#scalate-core;1.0-SNAPSHOT!
> > scalate-core.jar:
> > [warn]
http://mpeltonen.github.com/maven/com/sidewayscoding/scalate-core/1.0...
> > [warn] ==== ScalaToolsSnapshot: tried
> > [warn]
http://scala-tools.org/repo-snapshots/com/sidewayscoding/scalate-core...
> > [warn] -- artifact com.sidewayscoding#scalate-core;1.0-SNAPSHOT!
> > scalate-core.jar:
> > [warn]
http://scala-tools.org/repo-snapshots/com/sidewayscoding/scalate-core...
> > [warn] ==== public: tried
> > [warn]
http://repo1.maven.org/maven2/com/sidewayscoding/scalate-core/1.0-SNA...
> > [warn] -- artifact com.sidewayscoding#scalate-core;1.0-SNAPSHOT!
> > scalate-core.jar:
> > [warn]
http://repo1.maven.org/maven2/com/sidewayscoding/scalate-core/1.0-SNA...
> > [warn] ==== Scala-Tools Maven2 Repository: tried
> > [warn]
http://scala-tools.org/repo-releases/com/sidewayscoding/scalate-core/...
> > [warn] -- artifact com.sidewayscoding#scalate-core;1.0-SNAPSHOT!
> > scalate-core.jar:
> > [warn]
http://scala-tools.org/repo-releases/com/sidewayscoding/scalate-core/...