Add apply plugin: 'java' either above or below your first apply line
then you'll see tasks, and you can create an eclipse project with
"gradle eclipse".  Without specifying a project type (java, groovy,
scala, war, osgi, etc) gradle doesn't know what you want to do.  It's
not like maven where it assumes you're going to be building a java
project by default.

On Mon, Jun 14, 2010 at 07:01, boardtc <[email protected]> wrote:
> Hi John,
> Thanks for your mail. Yes, I am running gradle in the directory which
> contains the file build.gradle (which has just the one line)
>
> Cheers,
>
> Tom.
>
>
> On 14 June 2010 13:45, John Murph <[email protected]> wrote:
>>
>> Some silly questions, but just in case:
>>
>> Are you running Gradle from the directory that contains your build file?
>> Is the build file called "build.gradle"?
>>
>> There are command line options to allow these constraints to be avoided,
>> but I wouldn't use those options until after I had it working.
>>
>> --
>> John Murph
>> Automated Logic Research Team
>
>



-- 
Jason Porter
http://lightguard-jp.blogspot.com
http://twitter.com/lightguardjp

Software Engineer
Open Source Advocate

PGP key id: 926CCFF5
PGP key available at: keyserver.net, pgp.mit.edu

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

    http://xircles.codehaus.org/manage_email


Reply via email to