On Mon, Jul 20, 2009 at 10:09 AM, Hans Dockter<[email protected]> wrote:
> The above repository handler know about the Maven notion of SNAPSHOT and
> will _always_ look for the newest snapshot. If they don't that would be a
> bug and we would like to ask you to file a Jira.
>
> There are other ways to get the latest revision of a specific dependency.
>
> dependencies {
> compile "junit:junit:4.+"
> }
>
> To learn more about version ranges have a look at the ivy documentation:
>
> http://ant.apache.org/ivy/history/2.1.0-rc1/ivyfile/dependency.html
>
> Does the above solve your problems?
It was a problem with repo that wasn't being updated. Sorry for the confusion.
But now I ran into another problem (Note I'm still on 0.5.2 since I
need the Scala plugin. Haven't had time to port this yet :-(
This build file used to work, but now it breaks finding SNAPSHOT jars:
I have this in my build.
addMavenStyleRepo('scala-releases', 'http://scala-tools.org/repo-releases/')
addMavenStyleRepo('scala-snapshots',
'http://scala-tools.org/repo-snapshots/')
scalaTools "org.scala-lang:scala-compiler:$scalaVersion",
"org.scala-lang:scala-library:$scalaVersion"
compile "org.scala-lang:scala-library:$scalaVersion",
"net.liftweb:lift-webkit:$liftVersion",
"net.liftweb:lift-mapper:$liftVersion",
"net.liftweb:lift-util:$liftVersion",
"net.liftweb:lift-widgets:$liftVersion",
"postgresql:postgresql:$postgresDriverVersion",
"org.apache.poi:poi:3.5-beta6",
"org.apache.poi:poi-ooxml:3.5-beta6"
But compilation fails with
io problem while parsing ivy file:
http://scala-tools.org/repo-snapshots/net/liftweb/lift/1.1-SNAPSHOT/lift-1.1-SNAPSHOT.pom:
Resetting to invalid mark
io problem while parsing ivy file:
http://scala-tools.org/repo-snapshots/net/liftweb/lift-webkit/1.1-SNAPSHOT/lift-webkit-1.1-SNAPSHOT.pom:
Impossible to load parent for
file:/Users/jeppe/.gradle/cache/net.liftweb/lift-webkit/ivy-1.1-SNAPSHOT.xml.original.
Parent=net.liftweb#lift;1.1-SNAPSHOT
module not found: net.liftweb#lift-webkit;1.1-SNAPSHOT
==== clientModule: tried
And it fails to resolve all the net.liftweb libs. The repo should be
ok, since I can build with maven.
I've tried deleting .gradle, ~/.gradle, but to no avail
Any hints?
/Jeppe
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email