Re: [gradle-user] DefaultTask vs. DefaultTaskType

2010-11-30 Thread Adam Murdoch
On 30/11/2010, at 6:49 AM, Etienne Studer wrote: Hi Trying to explain the concept of task types, I realize that DefaultTask and all other task type classes should be named DefaultTaskType, etc. Any thoughts? I don't really understand why this should be. Could you explain a bit more?

Re: [gradle-user] Unresolved runtime dependencies for nested buildSrc project

2010-11-30 Thread Alexander Ulizko
Hi Adam, You asked for stack trace for exception java.lang.ClassNotFound Lorg/aopalliance/intercept/MethodInterceptor. Here it is: http://pastie.org/1335012. Thanks for clarification about guava dependency. 30.11.2010, в 11:57, Adam Murdoch написал(а): On 30/11/2010, at 5:59 PM,

Re: [gradle-user] Depending on one jar of a multi-jar project

2010-11-30 Thread Andrew Spina
Thanks for the suggestions everyone! I had actually looked right at Example 196 and not realized that was what I was trying to do. After a bit of time off (other work interfered) I've managed to get my build working! Thanks much. Andy On Nov 20, 2010, at 1:10 PM,

[gradle-user] avoid skipping tests

2010-11-30 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, my Hudson build server does not like it when tests are sometimes skipped in a build because the classes didn't change. How can I make sure the tests run for each build? Cheers, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10

Re: [gradle-user] avoid skipping tests

2010-11-30 Thread Robert Fischer
The easiest way is to call clean and/or delete the build directory and/or delete the .gradle directory. Your CI server should probably be working from a clean check-out (at least reasonably frequently...) anyway. ~~ Robert. On 30 November 2010 15:37, Marcus Better mar...@better.se wrote:

[gradle-user] Java Agent?

2010-11-30 Thread Robert Fischer
How can I use a Java agent when executing my tests? ~~ Robert.

[gradle-user] Compile Java - Exclude some; include some via reference

2010-11-30 Thread Chris Hane
I want to compile the server directories while excluding the client sub-directories except for the shared directories. Is there a way to do this? My source directories looks something like: /src/domain/client /src/domain/client/module1 /src/domain/client/module1/shared

Re: [gradle-user] avoid skipping tests

2010-11-30 Thread Rene Groeschke
Hi Marcus, caress friendly your hudson and using the following snippet should do the trick. test { outputs.upToDateWhen { false } } regards, René Am 30.11.10 21:37, schrieb Marcus Better: Hi, my Hudson build server does not like it when tests are sometimes skipped in a build

Re: [gradle-user] -x is diffeent from task.enabled = false

2010-11-30 Thread Adam Murdoch
On 29/11/2010, at 11:28 AM, Etienne Studer wrote: Hi Is it by design that excluding a task with -x on the cmd line behaves differently from disabling a task in the code with task.enabled = false. -x does smart merging, task.enabled = false does not. They are intended to work

Re: [gradle-user] Java Agent?

2010-11-30 Thread Adam Murdoch
On 01/12/2010, at 7:44 AM, Robert Fischer wrote: How can I use a Java agent when executing my tests? Probably, but I've not tried it. You should just be able to use the appropriate jvm args: test { jvmargs '-javaagent:blah' } -- Adam Murdoch Gradle Developer http://www.gradle.org CTO,

Re: [gradle-user] Gradle Daemon JVM memory args

2010-11-30 Thread Adam Murdoch
On 30/11/2010, at 10:02 PM, chris wrote: Any chance we can set these ourselves (now or in the future)? Looks like they're hardcoded at the mo in DaemonConnector.startDaemon(). They are. Could you add a JIRA issue for this? -- Adam Murdoch Gradle Developer http://www.gradle.org CTO, Gradle

Re: [gradle-user] avoid skipping tests

2010-11-30 Thread Rene Groeschke
Am 30.11.10 23:36, schrieb Adam Murdoch: On 01/12/2010, at 7:37 AM, Marcus Better wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, my Hudson build server does not like it when tests are sometimes skipped in a build because the classes didn't change. How can I make sure the tests

Re: [gradle-user] avoid skipping tests

2010-11-30 Thread Adam Murdoch
On 01/12/2010, at 9:39 AM, Rene Groeschke wrote: Am 30.11.10 23:36, schrieb Adam Murdoch: On 01/12/2010, at 7:37 AM, Marcus Better wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, my Hudson build server does not

Re: [gradle-user] avoid skipping tests

2010-11-30 Thread Rene Groeschke
Am 30.11.10 23:45, schrieb Adam Murdoch: On 01/12/2010, at 9:39 AM, Rene Groeschke wrote: Am 30.11.10 23:36, schrieb Adam Murdoch: On 01/12/2010, at 7:37 AM, Marcus Better wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi,

Re: [gradle-user] Compile Java - Exclude some; include some via reference

2010-11-30 Thread Adam Murdoch
On 01/12/2010, at 8:12 AM, Chris Hane wrote: I want to compile the server directories while excluding the client sub-directories except for the shared directories. Is there a way to do this? My source directories looks something like: /src/domain/client /src/domain/client/module1

Re: [gradle-user] Java Agent?

2010-11-30 Thread Robert Fischer
I'll give that a shot: thanks! ~~ Robert. On 30 November 2010 17:32, Adam Murdoch a...@gradle.biz wrote: On 01/12/2010, at 7:44 AM, Robert Fischer wrote: How can I use a Java agent when executing my tests? Probably, but I've not tried it. You should just be able to use the appropriate

[gradle-user] Re: Compile Java - Exclude some; include some via reference

2010-11-30 Thread chrish...@gmail.com
Adam Murdoch-3 wrote: Some options: option 1 - explicitly list all the included packages: sourceSets.main.java { srcDir 'src' include 'domain/client/**/shared/*' include 'domain/server/**' } option 2 - replicate the Gradle 0.7 behaviour: sourceSets.main.java {

[gradle-user] Issue: GRADLE-629

2010-11-30 Thread chrish...@gmail.com
Sorry for posting this here; I didn't want to register in yet another system. I had a comment that might be relevant. http://jira.codehaus.org/browse/GRADLE-629 There are two items in this issue. One is uploading a snapshot to a maven repository and the second is downloading the snapshot as