New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an exception when creating project #4

Closed
rslima opened this Issue Nov 16, 2011 · 22 comments

Comments

Projects
None yet
4 participants
@rslima

rslima commented Nov 16, 2011

Now I'm getting a TemplateException when I try to create the project as in the following:

lifty create lift project
Enter value for liftversion[2.4-M5]:
Enter value for mainpack: mlift
Enter value for projectName: mlift
Enter value for scalaVersion[2.9.1]:
Enter value for modelpack[mlift.model]:
Enter value for libpack[mlift.lib]:
Rendering: helloworld.ssp
/var/folders/9l/2gdd619s66l9z_7vhpmczpcw0000gn/T/scalate-7691113289368319118-workdir/src/var/folders/9l/2gdd619s66l9z_7vhpmczpcw0000gn/T/lifty1785461003409574935.ssp.scala:5: error: object scalate is not a member of package org.fusesource
import root.org.fusesource.scalate.support.TemplateConversions._
^
/var/folders/9l/2gdd619s66l9z_7vhpmczpcw0000gn/T/scalate-7691113289368319118-workdir/src/var/folders/9l/2gdd619s66l9z_7vhpmczpcw0000gn/T/lifty1785461003409574935.ssp.scala:6: error: object scalate is not a member of package org.fusesource
import root.org.fusesource.scalate.util.Measurements._
^
/var/folders/9l/2gdd619s66l9z_7vhpmczpcw0000gn/T/scalate-7691113289368319118-workdir/src/var/folders/9l/2gdd619s66l9z_7vhpmczpcw0000gn/T/lifty1785461003409574935.ssp.scala:30: error: object scalate is not a member of package org.fusesource
class $scalate$lifty1785461003409574935_ssp extends root.org.fusesource.scalate.Template {
^
/var/folders/9l/2gdd619s66l9z_7vhpmczpcw0000gn/T/scalate-7691113289368319118-workdir/src/var/folders/9l/2gdd619s66l9z_7vhpmczpcw0000gn/T/lifty1785461003409574935.ssp.scala:9: error: object scalate is not a member of package org.fusesource
def $scalate$render($scalate$_context: root.org.fusesource.scalate.RenderContext): Unit = {
^
/var/folders/9l/2gdd619s66l9z_7vhpmczpcw0000gn/T/scalate-7691113289368319118-workdir/src/var/folders/9l/2gdd619s66l9z_7vhpmczpcw0000gn/T/lifty1785461003409574935.ssp.scala:11: error: object scalate is not a member of package org.fusesource
val context: root.org.fusesource.scalate.RenderContext = $scalate$_context.attribute("context")
^
/var/folders/9l/2gdd619s66l9z_7vhpmczpcw0000gn/T/scalate-7691113289368319118-workdir/src/var/folders/9l/2gdd619s66l9z_7vhpmczpcw0000gn/T/lifty1785461003409574935.ssp.scala:31: error: object scalate is not a member of package org.fusesource
def render(context: root.org.fusesource.scalate.RenderContext): Unit = $scalate$lifty1785461003409574935_ssp.$scalate$render(context)
^
6 errors found
last
org.fusesource.scalate.TemplateException
at org.fusesource.scalate.TemplateEngine.compileAndLoad(TemplateEngine.scala:834)
at org.fusesource.scalate.TemplateEngine.compileAndLoadEntry(TemplateEngine.scala:691)
at org.fusesource.scalate.TemplateEngine.liftedTree1$1(TemplateEngine.scala:411)
at org.fusesource.scalate.TemplateEngine.load(TemplateEngine.scala:405)
at org.fusesource.scalate.TemplateEngine.load(TemplateEngine.scala:451)
at org.lifty.engine.Scalate$.org$lifty$engine$Scalate$$render(Scalate.scala:196)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8$$anonfun$apply$9$$anonfun$apply$10.apply(Scalate.scala:106)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8$$anonfun$apply$9$$anonfun$apply$10.apply(Scalate.scala:105)
at scala.Option.flatMap(Option.scala:146)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8$$anonfun$apply$9.apply(Scalate.scala:105)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8$$anonfun$apply$9.apply(Scalate.scala:104)
at scala.Option.flatMap(Option.scala:146)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8.apply(Scalate.scala:104)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8.apply(Scalate.scala:103)
at scala.Option.flatMap(Option.scala:146)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1.apply(Scalate.scala:103)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1.apply(Scalate.scala:101)
at scala.Option.flatMap(Option.scala:146)
at org.lifty.engine.Scalate$.processTemplateInMemory(Scalate.scala:101)
at org.lifty.engine.Scalate$.org$lifty$engine$Scalate$$processTemplate(Scalate.scala:91)
at org.lifty.engine.Scalate$$anonfun$run$1.apply(Scalate.scala:31)
at org.lifty.engine.Scalate$$anonfun$run$1.apply(Scalate.scala:29)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at org.lifty.engine.Scalate$.run(Scalate.scala:29)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14$$anonfun$apply$15$$anonfun$apply$16.apply(Lifty.scala:93)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14$$anonfun$apply$15$$anonfun$apply$16.apply(Lifty.scala:93)
at scalaz.Identity$$anon$1.value(Identity.scala:170)
at scalaz.Identity$class.success(Identity.scala:101)
at scalaz.Identity$$anon$1.success(Identity.scala:169)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14$$anonfun$apply$15.apply(Lifty.scala:93)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14$$anonfun$apply$15.apply(Lifty.scala:92)
at scalaz.Validation$class.flatMap(Validation.scala:22)
at scalaz.Success.flatMap(Validation.scala:82)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14.apply(Lifty.scala:92)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14.apply(Lifty.scala:90)
at scalaz.Validation$class.flatMap(Validation.scala:22)
at scalaz.Success.flatMap(Validation.scala:82)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13.apply(Lifty.scala:90)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13.apply(Lifty.scala:89)
at scalaz.Validation$class.flatMap(Validation.scala:22)
at scalaz.Success.flatMap(Validation.scala:82)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7.apply(Lifty.scala:89)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7.apply(Lifty.scala:88)
at scala.Option.map(Option.scala:133)
at org.lifty.engine.Lifty$class.org$lifty$engine$Lifty$$runCommand(Lifty.scala:88)
at org.lifty.engine.Lifty$$anonfun$run$2.apply(Lifty.scala:34)
at org.lifty.engine.Lifty$$anonfun$run$2.apply(Lifty.scala:32)
at scala.Option.map(Option.scala:133)
at org.lifty.engine.Lifty$class.run(Lifty.scala:32)
at org.lifty.engine.LiftyInstance.run(Lifty.scala:165)
at org.lifty.Lifty$$anonfun$liftyCommand$1.apply(Lifty.scala:94)
at org.lifty.Lifty$$anonfun$liftyCommand$1.apply(Lifty.scala:18)
at sbt.Command$$anonfun$sbt$Command$$apply1$1$$anonfun$apply$6.apply(Command.scala:74)
at sbt.Command$.process(Command.scala:92)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(Main.scala:121)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(Main.scala:121)
at sbt.State$$anon$1.process(State.scala:154)
at sbt.MainLoop$$anonfun$next$1.apply(Main.scala:121)
at sbt.MainLoop$$anonfun$next$1.apply(Main.scala:121)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.MainLoop$.next(Main.scala:121)
at sbt.MainLoop$.run(Main.scala:114)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(Main.scala:103)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(Main.scala:100)
at sbt.Using.apply(Using.scala:25)
at sbt.MainLoop$.runWithNewLog(Main.scala:100)
at sbt.MainLoop$.runAndClearLast(Main.scala:83)
at sbt.MainLoop$.runLoggedLoop(Main.scala:67)
at sbt.MainLoop$.runLogged(Main.scala:60)
at sbt.xMain.run(Main.scala:33)
at xsbt.boot.Launch$.run(Launch.scala:54)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:43)
at xsbt.boot.Launch$.launch(Launch.scala:68)
at xsbt.boot.Launch$.apply(Launch.scala:14)
at xsbt.boot.Boot$.runImpl(Boot.scala:25)
at xsbt.boot.Boot$.main(Boot.scala:15)
at xsbt.boot.Boot.main(Boot.scala)
Caused by: Plain compile failed
at sbt.compiler.RawCompiler.checkForFailure(RawCompiler.scala:34)
at sbt.compiler.RawCompiler.apply(RawCompiler.scala:27)
at org.lifty.Lifty$$anonfun$liftyCommand$1$SBTCompiler$1.compile(Lifty.scala:74)
at org.fusesource.scalate.TemplateEngine.compileAndLoad(TemplateEngine.scala:750)
at org.fusesource.scalate.TemplateEngine.compileAndLoadEntry(TemplateEngine.scala:691)
at org.fusesource.scalate.TemplateEngine.liftedTree1$1(TemplateEngine.scala:411)
at org.fusesource.scalate.TemplateEngine.load(TemplateEngine.scala:405)
at org.fusesource.scalate.TemplateEngine.load(TemplateEngine.scala:451)
at org.lifty.engine.Scalate$.org$lifty$engine$Scalate$$render(Scalate.scala:196)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8$$anonfun$apply$9$$anonfun$apply$10.apply(Scalate.scala:106)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8$$anonfun$apply$9$$anonfun$apply$10.apply(Scalate.scala:105)
at scala.Option.flatMap(Option.scala:146)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8$$anonfun$apply$9.apply(Scalate.scala:105)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8$$anonfun$apply$9.apply(Scalate.scala:104)
at scala.Option.flatMap(Option.scala:146)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8.apply(Scalate.scala:104)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1$$anonfun$apply$8.apply(Scalate.scala:103)
at scala.Option.flatMap(Option.scala:146)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1.apply(Scalate.scala:103)
at org.lifty.engine.Scalate$$anonfun$processTemplateInMemory$1.apply(Scalate.scala:101)
at scala.Option.flatMap(Option.scala:146)
at org.lifty.engine.Scalate$.processTemplateInMemory(Scalate.scala:101)
at org.lifty.engine.Scalate$.org$lifty$engine$Scalate$$processTemplate(Scalate.scala:91)
at org.lifty.engine.Scalate$$anonfun$run$1.apply(Scalate.scala:31)
at org.lifty.engine.Scalate$$anonfun$run$1.apply(Scalate.scala:29)
at scala.collection.LinearSeqOptimized$class.foreach(LinearSeqOptimized.scala:59)
at scala.collection.immutable.List.foreach(List.scala:45)
at org.lifty.engine.Scalate$.run(Scalate.scala:29)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14$$anonfun$apply$15$$anonfun$apply$16.apply(Lifty.scala:93)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14$$anonfun$apply$15$$anonfun$apply$16.apply(Lifty.scala:93)
at scalaz.Identity$$anon$1.value(Identity.scala:170)
at scalaz.Identity$class.success(Identity.scala:101)
at scalaz.Identity$$anon$1.success(Identity.scala:169)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14$$anonfun$apply$15.apply(Lifty.scala:93)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14$$anonfun$apply$15.apply(Lifty.scala:92)
at scalaz.Validation$class.flatMap(Validation.scala:22)
at scalaz.Success.flatMap(Validation.scala:82)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14.apply(Lifty.scala:92)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13$$anonfun$apply$14.apply(Lifty.scala:90)
at scalaz.Validation$class.flatMap(Validation.scala:22)
at scalaz.Success.flatMap(Validation.scala:82)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13.apply(Lifty.scala:90)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7$$anonfun$apply$13.apply(Lifty.scala:89)
at scalaz.Validation$class.flatMap(Validation.scala:22)
at scalaz.Success.flatMap(Validation.scala:82)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7.apply(Lifty.scala:89)
at org.lifty.engine.Lifty$$anonfun$org$lifty$engine$Lifty$$runCommand$7.apply(Lifty.scala:88)
at scala.Option.map(Option.scala:133)
at org.lifty.engine.Lifty$class.org$lifty$engine$Lifty$$runCommand(Lifty.scala:88)
at org.lifty.engine.Lifty$$anonfun$run$2.apply(Lifty.scala:34)
at org.lifty.engine.Lifty$$anonfun$run$2.apply(Lifty.scala:32)
at scala.Option.map(Option.scala:133)
at org.lifty.engine.Lifty$class.run(Lifty.scala:32)
at org.lifty.engine.LiftyInstance.run(Lifty.scala:165)
at org.lifty.Lifty$$anonfun$liftyCommand$1.apply(Lifty.scala:94)
at org.lifty.Lifty$$anonfun$liftyCommand$1.apply(Lifty.scala:18)
at sbt.Command$$anonfun$sbt$Command$$apply1$1$$anonfun$apply$6.apply(Command.scala:74)
at sbt.Command$.process(Command.scala:92)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(Main.scala:121)
at sbt.MainLoop$$anonfun$next$1$$anonfun$apply$1.apply(Main.scala:121)
at sbt.State$$anon$1.process(State.scala:154)
at sbt.MainLoop$$anonfun$next$1.apply(Main.scala:121)
at sbt.MainLoop$$anonfun$next$1.apply(Main.scala:121)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.MainLoop$.next(Main.scala:121)
at sbt.MainLoop$.run(Main.scala:114)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(Main.scala:103)
at sbt.MainLoop$$anonfun$runWithNewLog$1.apply(Main.scala:100)
at sbt.Using.apply(Using.scala:25)
at sbt.MainLoop$.runWithNewLog(Main.scala:100)
at sbt.MainLoop$.runAndClearLast(Main.scala:83)
at sbt.MainLoop$.runLoggedLoop(Main.scala:67)
at sbt.MainLoop$.runLogged(Main.scala:60)
at sbt.xMain.run(Main.scala:33)
at xsbt.boot.Launch$.run(Launch.scala:54)
at xsbt.boot.Launch$$anonfun$explicit$1.apply(Launch.scala:43)
at xsbt.boot.Launch$.launch(Launch.scala:68)
at xsbt.boot.Launch$.apply(Launch.scala:14)
at xsbt.boot.Boot$.runImpl(Boot.scala:25)
at xsbt.boot.Boot$.main(Boot.scala:15)
at xsbt.boot.Boot.main(Boot.scala)

@jayp

This comment has been minimized.

Show comment
Hide comment
@jayp

jayp Nov 17, 2011

Me too.

I am on:
sbt 0.11.0
scala 2.9.1

jayp commented Nov 17, 2011

Me too.

I am on:
sbt 0.11.0
scala 2.9.1

@mads-hartmann

This comment has been minimized.

Show comment
Hide comment
@mads-hartmann

mads-hartmann Nov 17, 2011

Member

What OS are you on? Can you try using SBT 0.11.1?

Member

mads-hartmann commented Nov 17, 2011

What OS are you on? Can you try using SBT 0.11.1?

@jstrachan

This comment has been minimized.

Show comment
Hide comment
@jstrachan

jstrachan Nov 17, 2011

Error looks like it can't find the scalate-core.jar on the classpath; no idea why though, some kinda sbt issue?

jstrachan commented Nov 17, 2011

Error looks like it can't find the scalate-core.jar on the classpath; no idea why though, some kinda sbt issue?

@rslima

This comment has been minimized.

Show comment
Hide comment
@rslima

rslima Nov 17, 2011

Well, I tried on Linux and Lion. I'm using sbt 0.11.1

rslima commented Nov 17, 2011

Well, I tried on Linux and Lion. I'm using sbt 0.11.1

@mads-hartmann

This comment has been minimized.

Show comment
Hide comment
@mads-hartmann

mads-hartmann Nov 17, 2011

Member

Heh, I remember that we fixed an issue similar to this earlier by creating my own instance of TemplateEngine and overriding the createCompiler method (https://github.com/Lifty/lifty/blob/master/lifty-plugin/Lifty.scala)

Just don't know why it isn't working for these two guys. Using that using SBT 0.11.1 will solve it.

Member

mads-hartmann commented Nov 17, 2011

Heh, I remember that we fixed an issue similar to this earlier by creating my own instance of TemplateEngine and overriding the createCompiler method (https://github.com/Lifty/lifty/blob/master/lifty-plugin/Lifty.scala)

Just don't know why it isn't working for these two guys. Using that using SBT 0.11.1 will solve it.

@mads-hartmann

This comment has been minimized.

Show comment
Hide comment
@mads-hartmann

mads-hartmann Nov 17, 2011

Member

@rslima. Buggers. That's weird, it works for me with SBT 0.11.1 on Lion. Can you confirm that you have the scalate-core and scalate-util in your .ivy2 cache?

Member

mads-hartmann commented Nov 17, 2011

@rslima. Buggers. That's weird, it works for me with SBT 0.11.1 on Lion. Can you confirm that you have the scalate-core and scalate-util in your .ivy2 cache?

@mads-hartmann

This comment has been minimized.

Show comment
Hide comment
@mads-hartmann

mads-hartmann Nov 17, 2011

Member

no wait! I think I might have found the issue! I've hardcoded the wrong version of scalate in the plugin implementation!

Member

mads-hartmann commented Nov 17, 2011

no wait! I think I might have found the issue! I've hardcoded the wrong version of scalate in the plugin implementation!

@mads-hartmann

This comment has been minimized.

Show comment
Hide comment
@mads-hartmann

mads-hartmann Nov 17, 2011

Member

@jstrachan What's the correct version of Scalate to use when I'm using Scala 2.9.1? I'm using 1.5.3 now

Member

mads-hartmann commented Nov 17, 2011

@jstrachan What's the correct version of Scalate to use when I'm using Scala 2.9.1? I'm using 1.5.3 now

@rslima

This comment has been minimized.

Show comment
Hide comment
@rslima

rslima Nov 17, 2011

I tried to add scalate-core as a libraryDependency on plugins/build.sbt but it seems there is no version of scalate-core for scala 2.9.1

rslima commented Nov 17, 2011

I tried to add scalate-core as a libraryDependency on plugins/build.sbt but it seems there is no version of scalate-core for scala 2.9.1

@rslima

This comment has been minimized.

Show comment
Hide comment
@rslima

rslima Nov 17, 2011

Ok. That was a mistake of mine. Yet, I corrected the line and I'm still getting the same error.

rslima commented Nov 17, 2011

Ok. That was a mistake of mine. Yet, I corrected the line and I'm still getting the same error.

@mads-hartmann

This comment has been minimized.

Show comment
Hide comment
@mads-hartmann

mads-hartmann Nov 17, 2011

Member

@rslima you can't fix the error - it's a problem in the plugin that it's looking for scalate-core-1.6.0-SNAPSHOT.jar in your ivy cache :) There was a bug in SBT/Scalate that I worked around by setting the classpath for the Scala Compiler that Scalate uses manually which unfortunately means that the version of Scalate is hard-coded in the plugin. Forgot to update it.

Member

mads-hartmann commented Nov 17, 2011

@rslima you can't fix the error - it's a problem in the plugin that it's looking for scalate-core-1.6.0-SNAPSHOT.jar in your ivy cache :) There was a bug in SBT/Scalate that I worked around by setting the classpath for the Scala Compiler that Scalate uses manually which unfortunately means that the version of Scalate is hard-coded in the plugin. Forgot to update it.

@rslima

This comment has been minimized.

Show comment
Hide comment
@rslima

rslima Nov 17, 2011

@mads379 So, it means I'll have to wait for version 1.7.2, then? :)

rslima commented Nov 17, 2011

@mads379 So, it means I'll have to wait for version 1.7.2, then? :)

@mads-hartmann

This comment has been minimized.

Show comment
Hide comment
@mads-hartmann

mads-hartmann Nov 17, 2011

Member

@rslima Yes, but that should be out very soon :) I'll let you know so you can test it :)

Member

mads-hartmann commented Nov 17, 2011

@rslima Yes, but that should be out very soon :) I'll let you know so you can test it :)

@mads-hartmann

This comment has been minimized.

Show comment
Hide comment
@mads-hartmann

mads-hartmann Nov 17, 2011

Member

@rslima and @jayp try using version 1.7.2 now and see what happens :)

Member

mads-hartmann commented Nov 17, 2011

@rslima and @jayp try using version 1.7.2 now and see what happens :)

mads-hartmann added a commit that referenced this issue Nov 17, 2011

Attempt at fixing issue #4
Also bumped version to 1.7.2
@rslima

This comment has been minimized.

Show comment
Hide comment
@rslima

rslima Nov 17, 2011

@mads379 Hmmm. Same error. :(

rslima commented Nov 17, 2011

@mads379 Hmmm. Same error. :(

@rslima

This comment has been minimized.

Show comment
Hide comment
@rslima

rslima Nov 17, 2011

what's supposed to be in my ivy2 cache?

rslima commented Nov 17, 2011

what's supposed to be in my ivy2 cache?

@mads-hartmann

This comment has been minimized.

Show comment
Hide comment
@mads-hartmann

mads-hartmann Nov 17, 2011

Member

.ivy2/cache/org.fusesource.scalate/scalate-core/bundles/scalate-core-1.5.3.jar
.ivy2/cache/org.fusesource.scalate/scalate-core/bundles/scalate-util-1.5.3.jar

Member

mads-hartmann commented Nov 17, 2011

.ivy2/cache/org.fusesource.scalate/scalate-core/bundles/scalate-core-1.5.3.jar
.ivy2/cache/org.fusesource.scalate/scalate-core/bundles/scalate-util-1.5.3.jar

@rslima

This comment has been minimized.

Show comment
Hide comment
@rslima

rslima Nov 17, 2011

FWIW I have a org.fusesource AND a org.fusesource.scalate directories in my ivy cache. Could it be related to this?

rslima commented Nov 17, 2011

FWIW I have a org.fusesource AND a org.fusesource.scalate directories in my ivy cache. Could it be related to this?

@mads-hartmann

This comment has been minimized.

Show comment
Hide comment
@mads-hartmann

mads-hartmann Nov 17, 2011

Member

Nope, it shouldn't be an issue :)

Just cleaned my entire ~/.ivy2/cache folder and ran the plugin and it worked on my machine. Very odd. Can you try and clean you cache as well? I will download A LOT of jars when you try and run the plugin again ;)

Member

mads-hartmann commented Nov 17, 2011

Nope, it shouldn't be an issue :)

Just cleaned my entire ~/.ivy2/cache folder and ran the plugin and it worked on my machine. Very odd. Can you try and clean you cache as well? I will download A LOT of jars when you try and run the plugin again ;)

@rslima

This comment has been minimized.

Show comment
Hide comment
@rslima

rslima Nov 17, 2011

That was it. It's working now. Thanks!

rslima commented Nov 17, 2011

That was it. It's working now. Thanks!

@rslima rslima closed this Nov 17, 2011

@mads-hartmann

This comment has been minimized.

Show comment
Hide comment
@mads-hartmann

mads-hartmann Nov 17, 2011

Member

Yay, I'm pretty sure that you did reveal a bug that I fixed - just needed to clear the cache to make the changes shine through :)

As always, if you find any more bugs please submit a bug request :)

Thanks,
Mads

Member

mads-hartmann commented Nov 17, 2011

Yay, I'm pretty sure that you did reveal a bug that I fixed - just needed to clear the cache to make the changes shine through :)

As always, if you find any more bugs please submit a bug request :)

Thanks,
Mads

@jayp

This comment has been minimized.

Show comment
Hide comment
@jayp

jayp Nov 17, 2011

Clearing out my .ivy2 cache and upgrading to 1.7.2 made it work for me. Thanks for the quick turnaround.

jayp commented Nov 17, 2011

Clearing out my .ivy2 cache and upgrading to 1.7.2 made it work for me. Thanks for the quick turnaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment