On Sep 24, 2009, at 1:18 PM, Trond Andersen wrote:
I've have the need to sign a jar file and the path I'm looking at is
using the ant.signJar task, but I would like to have a property to
ask for getting the jar file that this project is producing. I could
get this jar file by using the builtin libsDir property of the
project:
jar.doLast {
jarfile = project.libsDir.path + File.separator + project.Name +
'-' + project.version + '.jar'
ant.signJar(jar: jarfile, ....
}
jar.archivePath returns a File object pointing to the generated jar
file.
- Hans
--
Hans Dockter
Gradle Project Manager
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email