On 14/04/10 7:05 AM, Tomek Kaczanowski wrote:
Hello All,
this works:
class SvnDoc extends DefaultTask {
String destDir
String userName
...
}
but this throws an exception (see below)
class SvnDoc extends DefaultTask {
String destDir
String user
...
}
Why ? Is it because AbstractTask has "user" field ?
I don't think there's any fundamental reason why a task can't have a
'user' field. I've just tried it and it works for me.
From the stack trace, it looks like the problem might be somewhere in
how you're adding the task to the project. Can you send in the snippet
of the build file that adds the task to the project?
The exception message is not helpful at all...
No, it's not helpful. When we figure out what the problem is, I can tidy
up the error reporting.
--
Adam Murdoch
Gradle Developer
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email