[gradle-user] How to create uncompressed Jar files using Java plug-in Jar task.

2011-12-01 Thread Donal Mc Namee
Hi, How can I tell the Java plug-ins 'jar' task to generate an uncompressed jar file? This can be done in Ant using the 'compress' attribute. (e.g.) jar destfile=${jar.dir}/${project.name}.jar basedir=${classes.dir} manifest=${config.dir}/MANIFEST.MF compress=false / Thanks!

RE: [gradle-user] Uploading artifact to Artifactory repo - Return code is: 405

2011-03-11 Thread Donal Mc Namee
Yes. That was the problem alright. Thanks all for your help! From: Brett Cave [mailto:br...@jemstep.com] Sent: 10 March 2011 15:30 To: user@gradle.codehaus.org Cc: Baruch Sadogursky Subject: Re: [gradle-user] Uploading artifact to Artifactory repo - Return code is: 405 On Thu, Mar 10,

[gradle-user] Uploading artifact to Artifactory repo - Return code is: 405

2011-03-10 Thread Donal Mc Namee
Hi, I have a Gradle build that's publishing artifacts to an Artifactory repository. This all works fine when I specify that the artifact is a SNAPSHOT. However, if I declare the version as final (i.e. not a SNAPSHOT) the 'uploadArchives' tasks with the following error: 12:10:06.145

[gradle-user] Trouble accessing sibling project configuration

2011-02-14 Thread Donal Mc Namee
Hi All, I have a multi-project build and I'm looking to find the version of a dependency declared in a sibling project. To access a dependency in the current project I can simply use: configurations.default.allDependencies And loop through until I find the one I want. But

[gradle-user] Update a Zip archive.

2010-11-08 Thread Donal Mc Namee
Is there an handy way to update an archive in a Zip file using Gradle? I reckon I could extract it, add the archive and recreate it - but I'm sure there's a better way. J Thanks, Donal.

RE: [gradle-user] Downloading SNAPSHOT dependencies

2010-10-15 Thread Donal Mc Namee
) } regards, René Am 13.10.10 18:54, schrieb Donal Mc Namee: Hi, I'm having trouble downloading SNAPSHOT dependencies. I'm able to publish a SNAPSHOT artifact to our local Artifactory snapshots-repository using the following code: apply { plugin 'maven

[gradle-user] Downloading SNAPSHOT dependencies

2010-10-13 Thread Donal Mc Namee
Hi, I'm having trouble downloading SNAPSHOT dependencies. I'm able to publish a SNAPSHOT artifact to our local Artifactory snapshots-repository using the following code: apply { plugin 'maven' } version = '1.1-SNAPSHOT' uploadArchives {

[gradle-user] uploadArchives not generating POM.xml

2010-09-08 Thread Donal Mc Namee
I'm running Gradle 0.7 and Section 29.5.4 of the Gradle user guide says that 'Maven poms are automatically generated by Gradle'. I have a simple project setup but when I run the uploadArchives task I get an 'build\ivy.xml' generated all right, but no pom.xml? I'm just looking for the pom and

RE: [gradle-user] afterPropertiesSet() not working

2010-05-21 Thread Donal Mc Namee
Please ignore, wrong mailing list. Apologies -Original Message- From: Donal Mc Namee [mailto:donal.mcna...@vhi.ie] Sent: 21 May 2010 10:11 To: user@gradle.codehaus.org Subject: [gradle-user] afterPropertiesSet() not working Hi, I'm having trouble accessing the grailsApplication

[gradle-user] How to execute a Java class

2010-03-01 Thread Donal Mc Namee
Hi, I'm migrating our ant scripts to Gradle and one of the scripts executes a 3rd party class like so: target name=transform-accept-server-file java classname=com.blazesoft.server.deploy.tools.NdServerConfigSerializer fork=true failonerror=true classpath path

[gradle-user] How to specify the version of a sub-project at build time.

2009-09-03 Thread Donal Mc Namee
Can anyone tell me how I can pass a specific 'version' to a sub-project when executing a build? For example, I want to define the version for sub-project-1 as '1.0' and sub-project-2 as '1.2' at build time. I've tried such things a providing '-Psub-project-1:version=1.0' or

RE: [gradle-user] Publishing a second artifact

2009-06-17 Thread Donal Mc Namee
Subject: Re: [gradle-user] Publishing a second artifact On Jun 16, 2009, at 11:40 AM, Donal Mc Namee wrote: I'm having difficulty publishing an artifact to my local Ivy repository with gradle uploadArchives. I have one project called 'ias_ta_common' that creates 2 Jars ('ias_ta_common.jar

[gradle-user] Publishing a second artifact

2009-06-16 Thread Donal Mc Namee
I'm having difficulty publishing an artifact to my local Ivy repository with gradle uploadArchives. I have one project called 'ias_ta_common' that creates 2 Jars ('ias_ta_common.jar', and 'ias_ta_common_service_facade.jar') Calling gradle uploadArchives will upload my 'ias_ta_common.jar' as