Class name from file name issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Class name from file name issue

Russel Winder-2
I see that the build.gradle file becomes the build_gradle class.  This
is exactly what used to happen with Gant, build.gant -> build_gant.
However it turns out that this leads to serious debugging problems in
Eclipse (and elsewhere?) -- cf. GANT-30.  Gant now chops off the .gant
or .groovy extension of the script before app;lying the '.' -> '_'
transform to make the filename a value class name.  Can I suggest Gradle
does the same with the .gradle or .groovy extension?

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

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

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Class name from file name issue

hans_d
Administrator

On Oct 6, 2008, at 1:25 PM, Russel Winder wrote:

> I see that the build.gradle file becomes the build_gradle class.  This
> is exactly what used to happen with Gant, build.gant -> build_gant.
> However it turns out that this leads to serious debugging problems in
> Eclipse (and elsewhere?) -- cf. GANT-30.  Gant now chops off the .gant
> or .groovy extension of the script before app;lying the '.' -> '_'
> transform to make the filename a value class name.  Can I suggest  
> Gradle
> does the same with the .gradle or .groovy extension?

I would like to reproduce the problem first. This is a good exercise  
for me to learn about the progress of the Groovy Eclipse Plugin.

- Hans

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





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

    http://xircles.codehaus.org/manage_email