[gradle-user] Re: Maven snapshot dependencies....

2013-10-01 Thread Peter Niederwieser
This list is no longer active. Please use http://forums.gradle.org instead. -- View this message in context: http://gradle.1045684.n5.nabble.com/Maven-snapshot-dependencies-tp5711909p5711910.html Sent from the gradle-user mailing list archive at Nabble.com.

[gradle-user] Re: Customizing JUnit reports

2013-10-01 Thread Peter Niederwieser
This list is no longer active. Please use http://forums.gradle.org instead. -- View this message in context: http://gradle.1045684.n5.nabble.com/Customizing-JUnit-reports-tp2265269p5711913.html Sent from the gradle-user mailing list archive at Nabble.com.

[gradle-user] Re: Understanding apply from: file

2013-08-05 Thread Peter Niederwieser
This list is no longer active. Please use http://forums.gradle.org instead. -- View this message in context: http://gradle.1045684.n5.nabble.com/Understanding-apply-from-file-tp4684988p5711603.html Sent from the gradle-user mailing list archive at Nabble.com.

[gradle-user] Re: Command line issues

2013-08-05 Thread Peter Niederwieser
This list is no longer active. Please use http://forums.gradle.org instead. -- View this message in context: http://gradle.1045684.n5.nabble.com/Command-line-issues-tp5711504p5711604.html Sent from the gradle-user mailing list archive at Nabble.com.

[gradle-user] Re: Gradle: Could not HEAD 'http://repo1.maven.org/maven2/commons-cli/commons-cli/1.1/c ommons-cli-1.1.jar'.

2013-05-02 Thread Peter Niederwieser
The user mailing list is no longer monitored actively. Please use http://forums.gradle.org. -- View this message in context: http://gradle.1045684.n5.nabble.com/Gradle-Could-not-HEAD-http-repo1-maven-org-maven2-commons-cli-commons-cli-1-1-c-ommons-cli-1-1-jar-tp5711262p5711267.html Sent from

[gradle-user] Re: FindbugsMain task can't find bcel's ClassFormatException

2013-03-27 Thread Peter Niederwieser
This mailing list isn't active anymore. Please use http://forums.gradle.org. -- View this message in context: http://gradle.1045684.n5.nabble.com/FindbugsMain-task-can-t-find-bcel-s-ClassFormatException-tp5711092p5711093.html Sent from the gradle-user mailing list archive at Nabble.com.

[gradle-user] Re: How to get file from server by url?

2012-07-12 Thread Peter Niederwieser
For some reason, your post wasn't accepted by the mailing list. Please use http://forums.gradle.org instead. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http

[gradle-user] Re: Getting stdout messages on command line

2012-06-07 Thread Peter Niederwieser
lidia wrote Any pointers on how I can get anything printed to command line from gradle appreciated. Are you trying to print to standard out from a build script? From a Gradle plugin? From a test? In general, a simple `println` should be enough. -- Peter Niederwieser Principal Engineer

[gradle-user] Re: Getting stdout messages on command line

2012-06-07 Thread Peter Niederwieser
example that allows us to reproduce the problem. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/Getting-stdout-messages-on-command

[gradle-user] Re: Copy file into WEB-INF, fail if not exists

2012-06-04 Thread Peter Niederwieser
: war.doFirst { assert file(datasource/${datasource}.xml).exists() } -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/Copy-file

[gradle-user] Re: [HowTo] Maven credentials reuse

2012-05-30 Thread Peter Niederwieser
Your post wasn't accepted by the mailing list. Please use http://forums.gradle.org instead. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684

[gradle-user] Re: Copy file into WEB-INF, fail if not exists

2012-05-30 Thread Peter Niederwieser
, or is this some kind of deliberate behavior? How do we get around it? I think it is deliberate. One way to get around it is to use `Copy.eachFile {}` to check which files are actually copied, and to compare that against your expectations. -- Peter Niederwieser Principal Engineer, Gradleware http

[gradle-user] Re: Gradleware - please comment on this issue

2012-05-29 Thread Peter Niederwieser
, but might go into 1.1. or 1.2. If it is critical for you to get this bugfix prioritized over other work we are doing, there is always the option to get commercial support from Gradleware. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http

[gradle-user] Re: Best Practices for storing common configuration values

2012-05-23 Thread Peter Niederwieser
/${System.getProperty(user.name)}.gradle) if (userGradleScript.exists()) { apply from: userGradleScript } Now everyone can have his username.gradle, and can even check it in (assuming usernames are unique). -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http

[gradle-user] Re: Best Practices for storing common configuration values

2012-05-22 Thread Peter Niederwieser
(junit:junit:4.10) { exclude module: hamcrest-core }, spring: [ org.springframework:spring-core:$springVersion, org.springframework:spring-jdbc:$springVersion ] ] These are just a few examples for things that you cannot do with properties files. -- Peter Niederwieser Principal Engineer

[gradle-user] Re: Best Practices for storing common configuration values

2012-05-22 Thread Peter Niederwieser
Robert Fischer wrote Could you do apply from:configFile, to:dependencies? Would that effectively get you within the dependencies block? Yes it would. In the case of dependency declarations I don't see a benefit though. -- Peter Niederwieser Principal Engineer, Gradleware http

[gradle-user] Re: Publishing to Github?

2012-05-11 Thread Peter Niederwieser
If this is a script plugin, you just need to commit/push. If it is a binary plugin, you can publish the Jar to a Maven repo with file URL (e.g. file:///$projectDir/m2repo) and commit/push. Alternatively, https://github.com/RobertFischer/gradle-github-dev may be helpful too. -- Peter Niederwieser

[gradle-user] Re: buildDirName being ignored?

2012-05-09 Thread Peter Niederwieser
`buildDirName` was deprecated long ago and was eventually removed. Use `buildDir` instead. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5

[gradle-user] Re: Can not resolve artifacts with dynamic revisions from Ivy repository

2012-05-03 Thread Peter Niederwieser
Central, and it worked fine. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/Can-not-resolve-artifacts-with-dynamic-revisions-from-Ivy

[gradle-user] Re: Can not resolve artifacts with dynamic revisions from Ivy repository

2012-05-02 Thread Peter Niederwieser
with Ivy and Maven (performance penalty, semantics). For me and others that's reason enough not to use them. Chances are that if Spring and Hibernate get along without them, you will too. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http

[gradle-user] Re: Testing in multi-project builds

2012-04-27 Thread Peter Niederwieser
Adam Murdoch-2 wrote Sorry to resurrect a really old thread, but did this ever get implemented? Try `gradle build --continue`. Is this what you are looking for? -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org

[gradle-user] Re: Experimenting ways to produce GUIs from gradle scripts

2012-04-24 Thread Peter Niederwieser
Are you aware of `gradle --gui`? Anyway, you'll definitely want to use the tooling API. It's made for this use case and will solve both your problems. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw

[gradle-user] Re: Issue with 1.0-rc-1

2012-04-23 Thread Peter Niederwieser
Adam Murdoch wrote This should be fixed now. Can you try out the new snapshot: http://gradle.org/release-candidate This change fixes the GPars problem (I've already verified this) at the expense of creating other problems (*). I think it's better to fix this on the Groovy side (it's a

[gradle-user] Re: Hanging Unit Test

2012-04-23 Thread Peter Niederwieser
We'd definitely need more information (test code, thread dump) to help. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/Hanging

[gradle-user] Re: Get at Artifacts?

2012-04-22 Thread Peter Niederwieser
`configurations.archives.artifacts/allArtifacts` will get you a SetPublishArtifact. Is this what you are looking for? -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context

[gradle-user] Re: Get at Artifacts?

2012-04-22 Thread Peter Niederwieser
They are configured at configuration time (e.g. by the `java` plugin). Plugins should use the usual mechanisms (`artifacts.all { ... }`, convention mapping, `doFirst {}`, etc.) to cope with timing issues. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock

[gradle-user] Re: Issue with 1.0-rc-1

2012-04-21 Thread Peter Niederwieser
I can now reproduce the problem (not sure what I did before). For now, the solution is to always pass the transform class as a String. For example: @GroovyASTTransformationClass({groovyx.gpars.util.AsyncFunASTTransformation.class}) Making the classes variant of above annotation work again will

[gradle-user] Re: Issue with 1.0-rc-1

2012-04-21 Thread Peter Niederwieser
Correction: It's @GroovyASTTransformationClass({groovyx.gpars.util.AsyncFunASTTransformation}) -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle

[gradle-user] Re: not connecting to https repo through proxy

2012-04-20 Thread Peter Niederwieser
HTTPS proxy needs to be set up separately. Please see the user guide. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com

[gradle-user] Re: IDEA: Libraries not found = File dependencies not working (but Console build works)

2012-04-20 Thread Peter Niederwieser
Depends on how you integrate with IDEA. If you use Gradle's idea plugin, you'll have to execute 'gradle idea' or 'gradle cleanIdea idea'. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View

[gradle-user] Re: IDEA: Libraries not found = File dependencies not working (but Console build works)

2012-04-20 Thread Peter Niederwieser
plugin? -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/IDEA-Libraries-not-found-File-dependencies-not-working-but-Console-build-works

[gradle-user] Re: Get gradle cache path

2012-04-20 Thread Peter Niederwieser
The Gradle cache isn't meant to be used in this way. Instead, you'd publish the artifacts to a local file/Ivy/Maven repository. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message

[gradle-user] Re: Issue with 1.0-rc-1

2012-04-20 Thread Peter Niederwieser
I've just tried gradle clean build with master/HEAD, and the build succeeded. Did you do a clean build after switching Gradle versions? -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View

[gradle-user] Re: Proper way to do plugins?

2012-04-10 Thread Peter Niederwieser
will continue to publish frequent releases after 1.0. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/Proper-way-to-do-plugins

[gradle-user] Re: Strange compileGroovy behaviour

2012-03-29 Thread Peter Niederwieser
Your post didn't get through to the mailing list. Please use http://forums.gradle.org. instead. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle

[gradle-user] Re: unable to connect maven repo by using proxy

2012-03-28 Thread Peter Niederwieser
Your post isn't getting through. Please use http://forums.gradle.org instead. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com

[gradle-user] Re: passing jvm args to forked jvm

2012-03-28 Thread Peter Niederwieser
it. Typically, this limitation can be worked around by adding a few lines of code that map system or project properties to the desired model properties. I understand that this is not particularly pleasing, but it gets the job done. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com

[gradle-user] Re: passing jvm args to forked jvm

2012-03-21 Thread Peter Niederwieser
Gradle doesn't yet have a generic feature that allows to configure arbitrary model properties from the command line. But you can do it yourself (per property): test.jvmArgs System.getProperty(test.jvmArgs, []) -- View this message in context:

[gradle-user] Re: jpa autodiscovery failing after uprade to M9

2012-03-21 Thread Peter Niederwieser
See http://forums.gradle.org for the question and solution. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/jpa-autodiscovery

[gradle-user] Re: Migrating from M3 to M9, issues with IDEA plugin (for now)

2012-03-21 Thread Peter Niederwieser
Already answered on http://forums.gradle.org. The project in question was configured incorrectly. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle

[gradle-user] Re: passing jvm args to forked jvm

2012-03-21 Thread Peter Niederwieser
. As of Spock 0.6, you can't configure categories via system properties alone; you additionally need a spock configuration file. Starting with 0.7, a system property will suffice. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http

[gradle-user] Re: passing jvm args to forked jvm

2012-03-21 Thread Peter Niederwieser
No, it doesn't work. With -P you can (currently) only set project properties but not nested properties. That's essentially what this thread is about, even though the original author tried with -D. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework

[gradle-user] Re: groovydoc task

2012-03-14 Thread Peter Niederwieser
From what I can tell, the properties that Gradle is complaining about won't have any effect on Groovydoc generation. The Groovydoc task doesn't know about them. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter

[gradle-user] Re: Java debug information

2012-03-10 Thread Peter Niederwieser
debug information. That's also what the Ant docs say. It's also the default for the javac command line compiler. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http

[gradle-user] Re: Java debug information

2012-03-08 Thread Peter Niederwieser
? Can you also try with `tasks.withType(Compile) { options.useAnt = true }`? -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com

[gradle-user] Re: Importing multi-module project into eclipse

2012-03-08 Thread Peter Niederwieser
layout where the root project is in a sibling directory of the other projects. This is very common in the Eclipse world. 3. Use the STS Gradle plugin, which has great support for builds with hierarchical layout. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator

[gradle-user] Re: Java debug information

2012-03-08 Thread Peter Niederwieser
options.debugOptions.debugLevel yet. This is a bug. The workaround is: tasks.withType(Compile) { options.compilerArgs = [-g:source,lines,vars] } Without that, you should still get debug information for source and lines, but not for local variables. -- Peter Niederwieser Principal Engineer, Gradleware http

[gradle-user] Re: findbugs plugin gets IOException

2012-03-07 Thread Peter Niederwieser
Andrew.Oberstar wrote There are improvements between 1.3.9 and 2.0.0 (or whatever the default Gradle uses is) in passing the arguments to the findbugs process. Do you have any details on these improvements? Gradle's FindBugs plugin has defaulted to FindBugs 2.0.0 from the first release

[gradle-user] Re: Getting URL to runtime dependencies?

2012-03-04 Thread Peter Niederwieser
A dependency's artifacts don't have an URL per se; only after resolution it will be known which repository they were resolved against. There doesn't appear to be a way to get at this information from a build script. What would you like to do with this information? -- Peter Niederwieser Principal

[gradle-user] Re: Dist Layout problems

2012-03-04 Thread Peter Niederwieser
Instead of `releaseApprovedProjects.collect`, try `for (proj in releaseApprovedProjects)`. Does this solve the problem? -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message

[gradle-user] Re: Exception with Discarding connection. message

2012-02-28 Thread Peter Niederwieser
Do you have some failing tests that use Hibernate underneath? -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw PS: For some reason, your post wasn't accepted by the mailing list. Please use

[gradle-user] Re: Can I do Multi-Multi-Module builds?

2012-02-28 Thread Peter Niederwieser
. external dependencies. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/Can-I-do-Multi-Multi-Module-builds-tp5521116p5523909.html Sent

[gradle-user] Re: IDEA plugin to add top level dependencies for multi-module build?

2012-02-25 Thread Peter Niederwieser
top level tasks that IDEA understands Can you clarify what you mean by that? Are you talking about the Gradle support in IDEA 11? That's independent of the `idea` plugin. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http

[gradle-user] Re: IDEA plugin to add top level dependencies for multi-module build?

2012-02-25 Thread Peter Niederwieser
So you are talking about making the IDE understand Gradle build scripts? The `idea` plugin doesn't cover that, but I'm sure a future version of IDEA's own Gradle integration will. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http

[gradle-user] Re: Can Gradle generate a plain formatted junit report?

2012-02-24 Thread Peter Niederwieser
Gradle doesn't offer a plain-text test report (why are you looking for one?). What you can do is to add a test listener (`test.addTestListener(...)`) and generate a text report yourself. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http

[gradle-user] Re: What is the best way to define the execution of several tasks ?

2012-02-22 Thread Peter Niederwieser
I'm not exactly sure what you are looking for, but currently the only generic way to keep going when a task fails is --continue, and that won't execute tasks that depend on the failed task. There is no generic way to handle exceptions either. There are open JIRA issues for this. Cheers, Peter --

[gradle-user] Re: Getting a 3rd party plugin from a jar file doesn't work

2012-02-22 Thread Peter Niederwieser
For Gradle to successfully resolve an Ivy module, it needs to find the ivy.xml, which appears to be missing. If you want Gradle to just download one Jar, try `classpath 'edu.sc.seis:gradle-macappbundle:1.0.3@jar'`. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com

[gradle-user] Re: Getting a 3rd party plugin from a jar file doesn't work

2012-02-22 Thread Peter Niederwieser
You could code a simple solution in Groovy, but that would bypass Gradle's dependency management entirely, and you wouldn't get any of its benefits (lazy resolution, caching, etc.). -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http

[gradle-user] Re: What is the best way to define the execution of several tasks ?

2012-02-21 Thread Peter Niederwieser
`dependsOn` is the correct solution. Calling `execute` on a task is not supported and should be avoided. What's your problem with `dependsOn`? If it's just the syntax, you can easily write a helper method that lets you write something like `chain(preRelease, validate, compile)`. Not sure what you

[gradle-user] Gradle 1.0-milestone-8a released

2012-02-20 Thread Peter Niederwieser
The Gradle team is pleased to announce the release of Gradle 1.0-milestone-8a. This release addresses a critical issue with Gradle's dependency cache which could cause artifacts in remote repositories not to be found. You can read more in the release notes

[gradle-user] Gradle 1.0-milestone-8 released

2012-02-13 Thread Peter Niederwieser
The Gradle team is pleased to announce the release of Gradle 1.0-milestone-8. This release contains a large number of improvements and bug fixes, plus a few new plugins. You can read more in the release notes (http://wiki.gradle.org/display/GRADLE/Gradle+1.0-milestone-8+Release+Notes). Please

[gradle-user] Re: Moving from Ivy to Gradle

2012-02-06 Thread Peter Niederwieser
that has one. More on this in the user guide (see the chapter on multi-project builds). -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5

[gradle-user] Re: How to fail the build if sonar detects blockers

2012-02-02 Thread Peter Niederwieser
want to fail early (e.g. as part of your pre-commit build), consider using the Gradle code quality plugins. They just got a major overhaul for milestone 8. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw

[gradle-user] Re: Task to execute single test

2012-01-28 Thread Peter Niederwieser
You just need two test tasks that include the relevant tests. The DSL reference has the details (http://gradle.org/docs/current/dsl/org.gradle.api.tasks.testing.Test.html). -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http

[gradle-user] Re: Moving from Ivy to Gradle

2012-01-27 Thread Peter Niederwieser
the files, you can do it like so: task copyLibs(type: Copy) { from configurations.compile into /some/dir } A search in the forum (http://forums.gradle.org) might bring up additional information. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator

[gradle-user] Re: Moving from Ivy to Gradle

2012-01-27 Thread Peter Niederwieser
ad 2) All `compile` dependencies will automatically be passed to the compile task. For example, dependencies { compile foo:bar:1.0 } is enough to get module `foo:bar` on the compile class path. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator

[gradle-user] Re: Moving from Ivy to Gradle

2012-01-27 Thread Peter Niederwieser
ad 1) Without knowing your specific requirements, I'd say that you would typically model this as a Gradle multi-project build. In that case, describing the dependencies between the projects is enough for Gradle to build them in the correct order. -- Peter Niederwieser Principal Engineer

[gradle-user] Re: Tests are skipped due to: failed to scan parent class java/lang/Object

2012-01-27 Thread Peter Niederwieser
You are right in that TestNG support has to be enabled explicitly. This is well documented. If failed to scan parent class is just a debug message and not an error (as you stated earlier), I wouldn't be worried (as long as your tests run). -- Peter Niederwieser Principal Engineer, Gradleware

[gradle-user] Re: Tests are skipped due to: failed to scan parent class java/lang/Object

2012-01-27 Thread Peter Niederwieser
Sorry, looks like I misread your previous statement. I didn’t get that failed to scan parent class is just a debug message. Hope everything is working now. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter

[gradle-user] Re: Good practices for building with different Groovy versions

2012-01-27 Thread Peter Niederwieser
is what I do for Spock, and it works well for me. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/Good-practices-for-building

[gradle-user] Re: Moving from Ivy to Gradle

2012-01-27 Thread Peter Niederwieser
to take care of is to describe the inputs and outputs of any custom task implementations you might have. The user guide has more on this (see '14.8.1. Declaring a task's inputs and outputs'). -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http

[gradle-user] Re: Can't acces to project properties from buildscript closure

2012-01-26 Thread Peter Niederwieser
and move all the code into the `buildscript` closure. Then you should be able to access `generalPass` and `generalUser` from outside the closure with `buildscript.generalPass` and `buildscript.generalUser`. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock

[gradle-user] Re: Upload single third party JAR and POM to Maven Repository

2012-01-26 Thread Peter Niederwieser
generate and publish the same metadata files that you would get with a regular Maven upload. There may be ways to make that work too, but I can't tell offhand. PS: For some reason, your post wasn't accepted by the mailing list. I recommend to use the forum instead (http://forums.gradle.org). -- Peter

[gradle-user] Re: PermGen error while running Ant from gradle

2012-01-26 Thread Peter Niederwieser
Please don't double post. As I said on SO, the easyB Ant task seems to create a new process, which makes this a pure easyB (Ant task) question. I recommend to ask on the easyB list. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http

[gradle-user] Re: Gradle 1.0 milestone 5 fails to resolve dependency conflicts for idea modules

2012-01-24 Thread Peter Niederwieser
build-wide conflict resolution. Thanks for creating a sample project. This makes it so much easier to reproduce a problem. By the way, the best place to ask questions is http://forums.gradle.org. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework

[gradle-user] Re: Best Practices on extending Eclipse file generation.

2012-01-20 Thread Peter Niederwieser
to this approach is that you cannot control the order in which the Eclipse tasks run. Usually this won't be a problem. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http

[gradle-user] Re: Tests are skipped due to: failed to scan parent class java/lang/Object

2012-01-20 Thread Peter Niederwieser
Does it work when you configure the test classes to be executed manually? For example: test { include **/*Test.class } -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message

[gradle-user] Re: simple token replacement in gradle

2012-01-19 Thread Peter Niederwieser
had to do this with the Ant build. There are ways, both in Ant and in Gradle, to replace arbitrary strings. Again see the documentation. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View

[gradle-user] Re: Gradle default Dependency extension

2012-01-13 Thread Peter Niederwieser
the POMs. This would be easy to do with Gradle, but might not be so easy with Maven. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw k4rn4k wrote Hello, I'm trying to migrate a project from

[gradle-user] Re: Override startScripts in Application Plugin

2012-01-12 Thread Peter Niederwieser
error. I'm not sure why this package isn't imported by default (like so many others). It might be an oversight. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http

[gradle-user] Re: issues/advises with 'deep' multi-project build structures

2012-01-12 Thread Peter Niederwieser
find more information on these topics in the Gradle user guide (http://gradle.org/docs/current/userguide/userguide_single.html). -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message

[gradle-user] Re: How to disable compile warnings for generated classes?

2012-01-09 Thread Peter Niederwieser
Your post hasn't been accepted by the mailing list. Please use the forum instead (http://forums.gradle.org). -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http

[gradle-user] Re: Gradle daemon 160% CPU usage during long test run

2012-01-05 Thread Peter Niederwieser
Can you try without the Gradle daemon and see if it makes a difference? -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw gavares wrote We have a build which runs around 1300 unit tests. Under

[gradle-user] Re: Customizing preferences with Eclipse plugin

2011-12-31 Thread Peter Niederwieser
information for these files. Therefore the Gradle Eclipse plugin doesn't (need to) support them. Of course you can always script something which fits your needs. In the simplest case you'd just generate some static files. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator

[gradle-user] Re: Findbugs\PMD plugin

2011-12-29 Thread Peter Niederwieser
At a minimum, run with -s and post the full stack trace. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/Findbugs-PMD-plugin

[gradle-user] Re: Gradle inter project dependency via JAR in eclipse

2011-12-22 Thread Peter Niederwieser
For some reason, your post wasn't accepted by the mailing list. I suggest to use the new forum instead (http://forums.gradle.org). -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw errorken wrote

[gradle-user] Re: Why is gradle called gradle?

2011-12-19 Thread Peter Niederwieser
Your post wasn't accepted by the mailing list. I suggest to use the forum (http://forums.gradle.org) instead. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http

[gradle-user] Re: Best solution for generating Java Constants for a Tiles Project

2011-12-19 Thread Peter Niederwieser
I'd start out by implementing this as an ad-hoc task in the build script. Once you've got this working, you can think about moving the code into a script plugin in gradle/ or a task class in buildSrc/. Not sure if that's the answer you've been looking for. Hope it helps. -- Peter Niederwieser

[gradle-user] Re: Compile error because of unresolved dependencies in custom source sets

2011-12-17 Thread Peter Niederwieser
I don't know why this would have ever worked (without adding the `compile` configuration to the `antlr` source set's compile class path), but recent milestones automatically create `fooCompile` and `fooRuntime` configurations for every source set `foo`. In other words, once you change `compile` to

[gradle-user] Re: Any way to use existing pom.xml when using maven plugin?

2011-12-15 Thread Peter Niederwieser
Seems like your Nabble posts don't get through to the mailing list. I suggest to use the forum instead (http://forums.gradle.org). -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View

[gradle-user] Re: Groovyc fork failing on Windows?

2011-12-14 Thread Peter Niederwieser
script. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/Groovyc-fork-failing-on-Windows-tp3357060p5075016.html Sent from

[gradle-user] Re: Copy with non-existing source directory

2011-12-14 Thread Peter Niederwieser
is scheduled to run but the directory doesn't exist there. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw markusbischof wrote Hi forum, I have a copy-task which copies some files. I would like

[gradle-user] Re: Trouble generating pom

2011-12-04 Thread Peter Niederwieser
rather than repositories.mavenDeployer. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/Trouble-generating-pom-tp5047147p5047266

[gradle-user] Re: Trouble generating pom

2011-12-04 Thread Peter Niederwieser
repository? -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http://gradle.1045684.n5.nabble.com/Trouble-generating-pom-tp5047147p5047304.html Sent from the gradle-user

[gradle-user] Re: Trouble generating pom

2011-12-04 Thread Peter Niederwieser
For installing to the local Maven repo, the correct syntax is: install { repositories.mavenInstaller { pom.project { ... } } } -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw

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

2011-12-01 Thread Peter Niederwieser
Donal Mc Namee wrote 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. Looks like this isn't currently supported and you'll have to use the Ant task. Feel free to create an issue. -- Peter

[gradle-user] Re: Problem building groovy test code

2011-11-21 Thread Peter Niederwieser
and Groovy code. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw PS: http://forums.gradle.org is now the preferred place to ask questions. David Kowis wrote Since I last messed with gradle and our

[gradle-user] Re: Problem building groovy test code

2011-11-21 Thread Peter Niederwieser
flexible in that you can control which Java files are joint-compiled and which are passed directly to javac. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw -- View this message in context: http

[gradle-user] Re: Issue with Plugins applying other Plugins from 'apply from:' script.

2011-11-16 Thread Peter Niederwieser
Eric Berry wrote: Did you have any luck with this? Did the test project adequately show you the problem? Eric, I haven't had time to look into it. I had hoped for a simpler example. -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework

[gradle-user] Re: passing parameters to java for :buildSrc:compileGroovy task

2011-11-14 Thread Peter Niederwieser
(GroovyCompile) { groovyOptions.forkOptions.memoryMaximumSize = 256m } -- Peter Niederwieser Principal Engineer, Gradleware http://gradleware.com Creator, Spock Framework http://spockframework.org Twitter: @pniederw jean-philippe robichaud wrote: Hi, I'm really stuck: we're using gradle

  1   2   3   4   5   6   >