roblem while parsing ivy file / Impossible to load parent

760 views
Skip to first unread message

itemState

unread,
Sep 30, 2010, 10:48:34 AM9/30/10
to simple-build-tool
hey,

i am trying to use scala-refactoring as a dependancy:

http://scala-tools.org/repo-snapshots/org/scala-refactoring/org.scala-refactoring.library/0.2.0-SNAPSHOT/

but i can't get it to work. unfortunately i am completely ignorant of
maven and ivy. i tried

class ScalaColliderUGensProject( info: ProjectInfo ) extends
DefaultProject( info ) {
val refactoring = "org.scala-refactoring" % "org.scala-
refactoring.library" % "0.2.0-SNAPSHOT"
val scalaToolsSnaps = "Scala-Tools Snapshots" at "http://scala-
tools.org/repo-snapshots"
}

but that gives me

[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.scala-refactoring#org.scala-refactoring.library;0.2.0-
SNAPSHOT: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[info]
[warn] :: problems summary ::
[warn] :::: WARNINGS
[warn] io problem while parsing ivy file:
http://scala-tools.org/repo-snapshots/org/scala-refactoring/org.scala-refactoring.library/0.2.0-SNAPSHOT/org.scala-refactoring.library-0.2.0-20100921.164431-23.pom:
Impossible to load parent for file:/Users/rutz/.ivy2/cache/org.scala-
refactoring/org.scala-refactoring.library/ivy-0.2.0-
SNAPSHOT.xml.original. Parent=org.scala-refactoring#org.scala-
refactoring;0.2.0-SNAPSHOT
[warn] module not found: org.scala-refactoring#org.scala-
refactoring.library;0.2.0-SNAPSHOT
[warn] ==== Scala-Tools Snapshots: tried
[warn]
http://scala-tools.org/repo-snapshots/org/scala-refactoring/org.scala-refactoring/0.2.0-SNAPSHOT/org.scala-refactoring-0.2.0-SNAPSHOT.pom
[warn] -- artifact org.scala-refactoring#org.scala-refactoring;
0.2.0-SNAPSHOT!org.scala-refactoring.jar:
[warn]
http://scala-tools.org/repo-snapshots/org/scala-refactoring/org.scala-refactoring/0.2.0-SNAPSHOT/org.scala-refactoring-0.2.0-SNAPSHOT.jar
...

maybe is related to:

http://groups.google.com/group/simple-build-tool/browse_thread/thread/93afb0a28b8dd39/ce3117836a077a00?lnk=gst&q=pom+snapshot#ce3117836a077a00

any way to get this dependancy working?

thanks a bunch!

best, -sciss-

MattR

unread,
Sep 30, 2010, 12:22:56 PM9/30/10
to simple-build-tool
On Sep 30, 3:48 pm, itemState <annablume1...@yahoo.de> wrote:
> hey,
>
> i am trying to use scala-refactoring as a dependancy:

Coincidence -- I just came here to report this exact issue with this
library. It does look like it's snipping off the ".library" suffix in
the URLs it reports trying.

You can append a specific URL as a workaround:

val scalaRefactoring = "org.scala-refactoring" % "org.scala-
refactoring.library" % "0.2.0-SNAPSHOT" from "http://scala-tools.org/
repo-snapshots/org/scala-refactoring/org.scala-refactoring.library/
0.2.0-SNAPSHOT/org.scala-
refactoring.library-0.2.0-20100921.164431-23.jar"

-- Matt

itemState

unread,
Oct 6, 2010, 4:05:04 PM10/6/10
to simple-build-tool
ah yes, that works, thanks!
Reply all
Reply to author
Forward
0 new messages