On May 26, 2009, at 3:08 PM, Marcus Better wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I need to set a classpath attribute for an ant task to contain the artefacts
of some configuration. In Gradle 0.5 I did it like this:

 ant.java(classname: 'org.example.Clazz',
   classpath: dependencies.antpath('myconfig'))

But antpath() is no longer available on the configuration objects in Gradle
0.6, it seems. What is the recommended way to do the above?

configurations.myconfig.asPath

- Hans



Cheers,

Marcus

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkob6coACgkQXjXn6TzcAQnD1ACeO4YAEa6R3j9zIqdYuJtVPjYn
fskAoLZ+6che4Fw00CCqiEEWATanCKgM
=vkgV
-----END PGP SIGNATURE-----



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

   http://xircles.codehaus.org/manage_email



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





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

   http://xircles.codehaus.org/manage_email


Reply via email to