On Jul 22, 2009, at 5:48 AM, Hans Dockter wrote:


On Jul 21, 2009, at 9:14 PM, Philip Crotwell wrote:

Hi

Thanks, that helped. All external dependencies and the artifact of the
current project are put in the lib dir correctly. However, this is a
multiproject with dependencies like:

dependencies {
  compile project(':seisFile') {
      transitive = true
  }
}

but instead of seisFile-1.0.6.jar in the lib dir, I get seisFile.jar.
The default configuration for the dependency project has:
.gradle/internal-repository/edu.sc.seis/seisFile/1.0.6/jars/ seisFile.jar
but the jar does not have the version in the filename, so the simple
ant.copy doesn't either.

I have this task now, which parses the path of the file to get the
version number, but this seems a bit of a hack, and probably very
fragile. Is there a way to get jarfiles with the version without
parsing this path?

Or is the internal-repository configurable to have the version as part
of the filename?

No. But I agree that we should change the internal repository naming schema. There is a Jira for this: http://jira.codehaus.org/browse/GRADLE-564 . This will be fixed in 0.7.1.

This is fixed in branch and trunk. You might grab a snapshot of the release branch project from out TeamCity CI server.

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to