« Return to Thread: Client module for custom ant tasks

Re: Client module for custom ant tasks

by hdockter :: Rate this Message:

Reply to Author | View in Thread


On Jun 17, 2009, at 3:38 PM, JerodLass wrote:

>
> Any idea why
>
> project.configurations{
>    wsanttasks
> }
>
> project.dependencies{
>    wsanttasks module("com.ibm.websphere:runtime:6.1.0")
> }
>
> throws a nullpointerexception on the module line when I declare it  
> in a
> plugin?

It would also throw a NPE when you do it like this in the build script.

If you do: wsanttasks module("com.ibm.websphere:runtime:6.1.0") {}  
everything works. What is your reason for using a module if there are  
no dependencies? Why not saying for example:

wsanttasks "com.ibm.websphere:runtime:6.1.0@jar"

Anyway, Gradle should not throw an NPE, so we will fix this.

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Client module for custom ant tasks