Re: [gradle-user] Using Maven SNAPSHOT Versions

2011-05-12 Thread Markus Schlichting
Hi Rene, I feel ashamed right now. It tried it again and its working. Strange - maybe it's about the snapshot timeout and it starts to handle even new snapshots properly after 24h What wasn't working: Gradle just can't download the latest (SNAPSHO

Re: [gradle-user] Re: Calling ant test target fails with junit classpath issue (newbie)

2011-05-12 Thread Sean Van Buggenum
yes, thanks from me also, I also came across this problem. I'm very grateful! sean On 12 May 2011 00:28, cwhite102 wrote: > Thank you for the quick response. > That fixed it. > > > > -- > View this message in context: > http://gradle.1045684.n5.nabble.com/Calling-ant-test-target-fails-with-jun

Re: [gradle-user] flatten directories for copy and/or zip

2011-05-12 Thread Sean Van Buggenum
Hi Jesper, thanks for the information! I'll give it a go, and play with it, and see what I can achieve, Kind Regards, sean

[gradle-user] Using the dependency resolver directly

2011-05-12 Thread James Carr
Hi, Is there a way to use the dependency resolver directly? As part of the release phases I'd like released artifacts to be published to our internal maven repository and then for the pre-prod and prod deployments simply deploy those artifacts rather than building them again. Currently I just wro

Re: [gradle-user] Re: Having odd issues downloading snapshot versions.

2011-05-12 Thread Eric Berry
Anyone have any ideas? I'm still having this issue. What's more is if I follow a normal release cycle: 11.1-SNAPSHOT, 11.1, 11.2-SNAPSHOT. This still doesn't work. It seems only to have to do with SNAPSHOT versions though. Putting 11.2 in there and having dependencies on 11.1, and 11.2 in 2 differe

Re: [gradle-user] Using Maven SNAPSHOT Versions

2011-05-12 Thread Rene Groeschke
Hi Markus, What Problem do you have? Cant you Access the repo in General or don't you get the latest Updates? In Case #2 you may Set the snapshot timout of your maveRepo to 0, otherwiseThe Default timeout is 24h i think. -- Rene Groeschke Email: r...@breskeby.com twitter: @breskeby Blog:

[gradle-user] Gradle unable to run schema validation test

2011-05-12 Thread Joe Schmetzer
Hi all, I'm having troubles running an xml schema validation unit test from Gradle. It's a relatively simple test, but it uses some XML Schema 1.1 features in the XSD. These features seem to really react badly to running in a Gradle worker process. Running exactly the same code from Ant has no pro

[gradle-user] Using Maven SNAPSHOT Versions

2011-05-12 Thread Markus Schlichting
Hi, is anyone around using the "LATEST" or "SNAPSHOT" Feature of Maven to retrieve the latest version of the required artifacts from a Sonatype Nexus Server? Using dependencies {     compile "com.canoo.project:ULCApplication:0.2-SNAPSHOT" }

[gradle-user] Re: [ANN} Gradle Eclipse Plugin

2011-05-12 Thread andrew.clement
> 1. I don't want to import stuff into STS, I just want Gradle support in > Eclipse like there is Gradle and Maven support in IntelliJ IDEA and > Maven support in Eclipse. The aim is that once eclipse has been told about your projects (currently it is told by 'importing' them, you have to tell

[gradle-user] Re: Gradle Eclipse Plugin Improvment

2011-05-12 Thread andrew.clement
Hi Elmar, > Maybe the sorting of dependencies could be an improvement for the STS > gradle plugin, > as currently the gradle managed dependencies are not sorted, and hard to > overlook. The best thing to do for requirements like this is raise an issue in our STS Jira: https://issuetracker.sprin

Re: [gradle-user] Re: Publishing to Maven: Remove dependency

2011-05-12 Thread Markus Schlichting
Hi, thank you for the quick answer, it seemed to work, but while digging deeper into this, i've found a second solution: uploadArchives { repositories.mavenDeployer { [] (some configuration) pom.whenConfigured {pom -> def shared = pom.dependencies.find {dep ->

[gradle-user] Gradle Eclipse Plugin Improvment

2011-05-12 Thread Elmar Kretzer
Hi all, first of all thanks to the gradle and STS team for providing a eclipse plugin! we recently migrated all projects to gradle and feel very cozy with it. One of the things we really appreciate while working with gradle is the ease to configure a eclipse project. Now we tried to make use of

Re: [gradle-user] Re: [ANN} Gradle Eclipse Plugin

2011-05-12 Thread Russel Winder
On Thu, 2011-05-12 at 14:13 +0100, Luke Taylor wrote: > On 12/05/2011 10:55, Russel Winder wrote: > > > > > What is UAA? > > > > http://static.springsource.org/sts/docs/2.7.0.M1/reference/html/gradle/faq.html#a19 Oh a "phone home" thing. Well it is important to say no to that, which I already

Re: [gradle-user] flatten directories for copy and/or zip

2011-05-12 Thread Jesper Skov
On Thu, May 12, 2011 at 7:07 AM, Sean Van Buggenum wrote: > Hi all, > > I notice in my googling that there used to be a remapTarget directive of > the Copy (and probably zip) tasks. > That has since been removed, and while some have said some version of it > will reappear > > http://gradle.104568

Re: [gradle-user] Re: [ANN} Gradle Eclipse Plugin

2011-05-12 Thread Luke Taylor
On 12/05/2011 10:55, Russel Winder wrote: > > What is UAA? > http://static.springsource.org/sts/docs/2.7.0.M1/reference/html/gradle/faq.html#a19 > So now I have it all installed is a build.gradle file supposed to behave > as a pom.xml file does using the Maven integration? > http://static.sp

[gradle-user] Re: Strange classpath issue when starting tomcat 7 programmatically

2011-05-12 Thread Benjamin Muschko
Hi, The https://github.com/downloads/bmuschko/gradle-tomcat-plugin/gradle-tomcat-plugin-0.7.jar plugin JAR file in the GitHub download section definitely has the class in it. Did you try to build the plugin from source? If yes you might have called the wrong Gradle task. If that doesn't help try

Re: [gradle-user] [ANN} Gradle Eclipse Plugin

2011-05-12 Thread Szczepan Faber
>Should I raise a JIRA about this? Yes, please. >With M3, it explodes because it can't find the source JARs We had similar problem recently in our build. Would you mind trying out today's snapshot and running gradle eclipse? distributionUrl=http\:// repo.gradle.org/gradle/distributions/gradle-s

Re: [gradle-user] [ANN} Gradle Eclipse Plugin

2011-05-12 Thread Andrew Thorburn
Ok, it appears to be a regression in Milestone 3, not with the Eclipse Plugin. With M1, 'gradle eclipse' runs without errors. With M3, it explodes because it can't find the source JARs (but it definitely finds the class file JARs, looking at the debug output). Should I raise a JIRA about this? A q

Re: [gradle-user] [ANN} Gradle Eclipse Plugin

2011-05-12 Thread Szczepan Faber
Hey On reflection, I haven't tried building it on the command line with > Milestone 3, only Milestone 1, so it's possible there are breaking > changes introduced there that are the cause of this. > That's a good idea. Also, does 'gradle eclipse' task work for you fine? Cheers, Szczepan

Re: [gradle-user] Re: [ANN} Gradle Eclipse Plugin

2011-05-12 Thread Russel Winder
Andrew, Hans, On Wed, 2011-05-11 at 11:09 -0700, andrew.clement wrote: > Hey, > > The doc needs updating. You do not require STS, you just require an Eclipse > 3.6. As you have probably seen, further down the page you referenced: > > "If you are installing in a plain Eclipse, you will also nee

[gradle-user] Re: Strange classpath issue when starting tomcat 7 programmatically

2011-05-12 Thread chrish
Hi, I tested the plugin's version 0.7. Unfortunately I get a CNFE (for both Tomcat 6 and Tomcat 7) when running tomcatRun: 10:55:25.655 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':test:tomcatRun'. 10:55:25.686 [ERROR] [o

Re: [gradle-user] [ANN} Gradle Eclipse Plugin

2011-05-12 Thread Andrew Thorburn
On reflection, I haven't tried building it on the command line with Milestone 3, only Milestone 1, so it's possible there are breaking changes introduced there that are the cause of this. - Andrew On Thu, May 12, 2011 at 8:11 PM, Andrew Thorburn wrote: > Doesn't work very well for me. I have a b

Re: [gradle-user] [ANN} Gradle Eclipse Plugin

2011-05-12 Thread Andrew Thorburn
Doesn't work very well for me. I have a bunch of projects (nested up to 5 levels deep, a total of 21 Gradle projects, 14 of which I consider 'real' projects), and it can't get the dependencies for any of them (well, it sets up the other projects correctly, but not the external libraries). Now, thi

Re: [gradle-user] Re: [ANN} Gradle Eclipse Plugin

2011-05-12 Thread Russel Winder
On Wed, 2011-05-11 at 11:53 -0700, andrew.clement wrote: > > If I install now will the extra stuff be ejected when it is not needed? > > Unfortunately I doubt that will happen (i.e. it won't be actively > uninstalled), it will still be around. However when we stop actively > depending on it then