Hi Stefan,

On Oct 21, 2008, at 2:37 AM, Stefan Groschupf wrote:

... just checked out the gradle sources.
A couple questions:
Running sh gradlew eclipse - Does not work. It creates something but for sure not a valid eclipse configuration for this project -

The Eclipse plugin does not work for Groovy projects yet, only for Java projects.

Why are the java sources in src/main/groovy ? Shouldn't it be in src/main/java?

If you mix Groovy and Java in a way that the Java classes need the Groovy classes and vice versa, you can't compile them separately. Groovy comes with its own mixed compiler called groovyc. Everything in src/main/groovy gets compiled by groovyc, be it Java or Groovy. You could put also code in src/main/java. This code gets compiled by javac and must have no dependency on the groovy classes.

Even manually adding src/main/groovy as source folder there is source missing, see list below.

Getting started with gradle should be super super easy. It should take less than 10 min to setup the sources in my ide and debug why I have a NPE. I know you work hard to get more features in and bug fixed but keep in mind that making the project very contribution friendly would have a big viral effect moving the project forward.

I completely agree. 'gradle eclipse' should do the job (and will do the job eventually :)).

<snip>

- Hans

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





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

   http://xircles.codehaus.org/manage_email


Reply via email to