(Another) Scalate Problem on Windows

10 views
Skip to first unread message

Jan

unread,
Oct 13, 2010, 9:42:31 AM10/13/10
to Lifty
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-SNAPSHOT/scalate-core-1.0-SNAPSHOT.pom
[warn] -- artifact com.sidewayscoding#scalate-core;1.0-SNAPSHOT!
scalate-core.jar:
[warn] http://mpeltonen.github.com/maven/com/sidewayscoding/scalate-core/1.0-SNAPSHOT/scalate-core-1.0-SNAPSHOT.jar
[warn] ==== ScalaToolsSnapshot: tried
[warn] http://scala-tools.org/repo-snapshots/com/sidewayscoding/scalate-core/1.0-SNAPSHOT/scalate-core-1.0-SNAPSHOT.pom
[warn] -- artifact com.sidewayscoding#scalate-core;1.0-SNAPSHOT!
scalate-core.jar:
[warn] http://scala-tools.org/repo-snapshots/com/sidewayscoding/scalate-core/1.0-SNAPSHOT/scalate-core-1.0-SNAPSHOT.jar
[warn] ==== public: tried
[warn] http://repo1.maven.org/maven2/com/sidewayscoding/scalate-core/1.0-SNAPSHOT/scalate-core-1.0-SNAPSHOT.pom
[warn] -- artifact com.sidewayscoding#scalate-core;1.0-SNAPSHOT!
scalate-core.jar:
[warn] http://repo1.maven.org/maven2/com/sidewayscoding/scalate-core/1.0-SNAPSHOT/scalate-core-1.0-SNAPSHOT.jar
[warn] ==== Scala-Tools Maven2 Repository: tried
[warn] http://scala-tools.org/repo-releases/com/sidewayscoding/scalate-core/1.0-SNAPSHOT/scalate-core-1.0-SNAPSHOT.pom
[warn] -- artifact com.sidewayscoding#scalate-core;1.0-SNAPSHOT!
scalate-core.jar:
[warn] http://scala-tools.org/repo-releases/com/sidewayscoding/scalate-core/1.0-SNAPSHOT/scalate-core-1.0-SNAPSHOT.jar
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.sidewayscoding#scalate-core;1.0-SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::



Any ideas why it cannot resolve scalate?

Regards Jan

Mads Hartmann Jensen

unread,
Oct 13, 2010, 9:47:32 AM10/13/10
to li...@googlegroups.com
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 at http://www.scala-tools.org/repo-snapshots/
but please try with 1.3

*lifty is org.lifty lifty 1.3
Thanks,
Mads Hartmann Jensen

Jan

unread,
Oct 13, 2010, 10:27:01 AM10/13/10
to Lifty
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/...

Mads Hartmann Jensen

unread,
Oct 13, 2010, 11:43:08 AM10/13/10
to li...@googlegroups.com
I though I had (http://lifty.github.com/Lifty/) :)

Now you have the same error as everyone else on windows ;) The error is due to the version
of scalate that I'm using. I'm forced to use this version until SBT (the framework) is compatible
with scala 2.8.0 I'm afraid.

Thanks,
Mads Hartmann Jensen

Jan

unread,
Oct 14, 2010, 2:42:36 AM10/14/10
to Lifty
But not here http://github.com/Lifty/Lifty. Is this page no more
supported?

Thanks for the help, will try it on mac soon ... is it working on
linux too?

Regards Jan

Mads Hartmann Jensen

unread,
Oct 14, 2010, 3:35:33 AM10/14/10
to li...@googlegroups.com
On Oct 14, 2010, at 8:42 AM, Jan wrote:

> But not here http://github.com/Lifty/Lifty. Is this page no more
> supported?

Ah sorry, I totally forgot about that page. I've updated it now :)

>
> Thanks for the help, will try it on mac soon ... is it working on
> linux too?

Yes, it should work on linux :)

Reply all
Reply to author
Forward
0 new messages