in case the ide task is not yet available add the following in the build
scripts:

createTask('ide') {
    def libDir = file('lib')
    ant.delete(dir: libDir)
    [dependencies.runtime, dependencies.testRuntime].each {config ->
        config.files.each {file ->
            ant.copy(file: file, todir: libDir)
        }
    }
}

so you can run the ide tasks and get the Gradle dependencies in lib dirs.

2009/3/9 Tom Eyckmans <[email protected]>

> Have you run gradle ide in your "Gradle directory" and in "Gradle
> directory/buildSrc" directories and added the downloaded libraries to your
> eclipse project classpath?
>
> 2009/3/4 <[email protected]>
>
> hello there,
>> since i got no answer on my comment in the gradle wiki I try it here:
>>
>> in the gradle wiki is a howto for setting up the gradle project in eclipse
>> (
>> http://docs.codehaus.org/display/GRADLE/How+to+set+up+the+Gradle+project+in+Eclipse
>> )
>>
>> After I followed your instructions step by step, i still have to solve the
>> following problem:
>>
>> The project was not built since its build path is incomplete. Cannot find
>> the class file for org.jmock.integration.junit4.JUnit4Mockery. Fix the
>> build path then try building this project
>>
>> I could fix this manually, but is there a kind of best practice to solve
>> this issue?
>>
>> regards,
>> René Groeschke
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>

Reply via email to