On Thu, 2009-03-26 at 12:36 -0700, Matthew Fudge wrote:
> The way I have done this is 
>   addFlatDirResolver('serverlib').addArtifactPattern(new
>         File('libs/[artifact].[ext]')
> 
>     compile 'org.apache:apache-commons:unknown'

I tried:

addFlatDirResolver ( 'groovyLibUnversioned' ).addArtifactPattern ( new File ( 
groovyLib.absolutePath + '/[artifact].[ext]' ) )

and that gave me:

Cause: No signature of method: 
org.apache.ivy.plugins.resolver.FileSystemResolver.addArtifactPattern() is 
applicable for argument types: (java.io.File) values: 
{/usr/share/groovy/lib/[artifact].[ext]}

So I tried:

addFlatDirResolver ( 'groovyLibUnversioned' ).addArtifactPattern ( 
groovyLib.absolutePath + '/[artifact].[ext]' )

and that gave me:

Cause: No signature of method: java.util.Vector.getAt() is applicable for 
argument types: (java.lang.Integer) values: [0]

So close and yet so far :-(

-- 
Russel.
============================================================
Dr Russel Winder                 Partner

Concertant LLP          t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,     f: +44 8700 516 084    voip:  
sip:[email protected]
London SW11 1EN, UK.    m: +44 7770 465 077    xmpp: [email protected]

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to