new build command?

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

new build command?

JerodLass
I tried going to my shiny new gradle 0.2 source folder and punching in:
gradlew clean dists
since that's how I built it before, but I got in trouble after 6 seconds since "clean" and "dists" are unknown tasks.  What am I doing wrong?

-Jerod
Reply | Threaded
Open this post in threaded view
|

Re: new build command?

hans_d
Administrator

On Jun 17, 2008, at 7:48 PM, JerodLass wrote:

>
> I tried going to my shiny new gradle 0.2 source folder and punching  
> in:
> gradlew clean dists
> since that's how I built it before, but I got in trouble after 6  
> seconds
> since "clean" and "dists" are unknown tasks.  What am I doing wrong?

What is your directory layout? Which files are in your current dir?

I've just checked out the 0.2 release branch and could build via  
gradlew without problems.

- Hans

>
> -Jerod
> --
> View this message in context: http://www.nabble.com/new-build- 
> command--tp17927179p17927179.html
> Sent from the gradle-user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

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





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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: new build command?

JerodLass
My directory is 'gradle-2.0-src'.  It has the gradlew files, and the src, lib, buildSrc, and build-resolver directories.

Update: I was building from the src download, not the svn version.  There was no build.gradle file which would seem likely as the reason it couldn't find the task.  I updated svn and stole the build script from there and now it builds.

hdockter wrote
On Jun 17, 2008, at 7:48 PM, JerodLass wrote:

>
> I tried going to my shiny new gradle 0.2 source folder and punching  
> in:
> gradlew clean dists
> since that's how I built it before, but I got in trouble after 6  
> seconds
> since "clean" and "dists" are unknown tasks.  What am I doing wrong?

What is your directory layout? Which files are in your current dir?

I've just checked out the 0.2 release branch and could build via  
gradlew without problems.

- Hans

>
> -Jerod
> --
> View this message in context: http://www.nabble.com/new-build- 
> command--tp17927179p17927179.html
> Sent from the gradle-user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

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





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

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|

Re: new build command?

hans_d
Administrator

On Jun 17, 2008, at 8:17 PM, JerodLass wrote:

>
> My directory is 'gradle-2.0-src'.  It has the gradlew files, and  
> the src,
> lib, buildSrc, and build-resolver directories

Is this a checkout from svn or the gradle-0.2-src.zip?

- Hans

>
>
> hdockter wrote:
>>
>>
>> On Jun 17, 2008, at 7:48 PM, JerodLass wrote:
>>
>>>
>>> I tried going to my shiny new gradle 0.2 source folder and punching
>>> in:
>>> gradlew clean dists
>>> since that's how I built it before, but I got in trouble after 6
>>> seconds
>>> since "clean" and "dists" are unknown tasks.  What am I doing wrong?
>>
>> What is your directory layout? Which files are in your current dir?
>>
>> I've just checked out the 0.2 release branch and could build via
>> gradlew without problems.
>>
>> - Hans
>>
>>>
>>> -Jerod
>>> --
>>> View this message in context: http://www.nabble.com/new-build-
>>> command--tp17927179p17927179.html
>>> Sent from the gradle-user mailing list archive at Nabble.com.
>>>
>>>
>>> --------------------------------------------------------------------
>>> -
>>> To unsubscribe from this list, please visit:
>>>
>>>     http://xircles.codehaus.org/manage_email
>>>
>>>
>>
>> --
>> Hans Dockter
>> Gradle Project lead
>> http://www.gradle.org
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/new-build- 
> command--tp17927179p17930934.html
> Sent from the gradle-user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

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





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

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: new build command?

JerodLass
In reply to this post by JerodLass
gradle-0.2-src.zip, sorry

Update: I was building from the src download, not the svn version.  There was no build.gradle file which would seem likely as the reason it couldn't find the task.  I updated svn and stole the build script from there and now it builds.


JerodLass wrote
My directory is 'gradle-2.0-src'.  It has the gradlew files, and the src, lib, buildSrc, and build-resolver directories.

Update: I was building from the src download, not the svn version.  There was no build.gradle file which would seem likely as the reason it couldn't find the task.  I updated svn and stole the build script from there and now it builds.

hdockter wrote
On Jun 17, 2008, at 7:48 PM, JerodLass wrote:

>
> I tried going to my shiny new gradle 0.2 source folder and punching  
> in:
> gradlew clean dists
> since that's how I built it before, but I got in trouble after 6  
> seconds
> since "clean" and "dists" are unknown tasks.  What am I doing wrong?

What is your directory layout? Which files are in your current dir?

I've just checked out the 0.2 release branch and could build via  
gradlew without problems.

- Hans

>
> -Jerod
> --
> View this message in context: http://www.nabble.com/new-build- 
> command--tp17927179p17927179.html
> Sent from the gradle-user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

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





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

    http://xircles.codehaus.org/manage_email

Reply | Threaded
Open this post in threaded view
|

Re: new build command?

hans_d
Administrator

On Jun 17, 2008, at 8:50 PM, JerodLass wrote:

>
> gradle-0.2-src.zip, sorry
>
> Update: I was building from the src download, not the svn version.  
> There
> was no build.gradle file which would seem likely as the reason it  
> couldn't
> find the task.  I updated svn and stole the build script from there  
> and now
> it builds.

Sorry for this. There is a bug in the assembly of the source  
distribution (hasn't been updated to the new name of the build files).

- Hans

>
>
>
> JerodLass wrote:
>>
>> My directory is 'gradle-2.0-src'.  It has the gradlew files, and  
>> the src,
>> lib, buildSrc, and build-resolver directories.
>>
>> Update: I was building from the src download, not the svn  
>> version.  There
>> was no build.gradle file which would seem likely as the reason it  
>> couldn't
>> find the task.  I updated svn and stole the build script from  
>> there and
>> now it builds.
>>
>>
>> hdockter wrote:
>>>
>>>
>>> On Jun 17, 2008, at 7:48 PM, JerodLass wrote:
>>>
>>>>
>>>> I tried going to my shiny new gradle 0.2 source folder and punching
>>>> in:
>>>> gradlew clean dists
>>>> since that's how I built it before, but I got in trouble after 6
>>>> seconds
>>>> since "clean" and "dists" are unknown tasks.  What am I doing  
>>>> wrong?
>>>
>>> What is your directory layout? Which files are in your current dir?
>>>
>>> I've just checked out the 0.2 release branch and could build via
>>> gradlew without problems.
>>>
>>> - Hans
>>>
>>>>
>>>> -Jerod
>>>> --
>>>> View this message in context: http://www.nabble.com/new-build-
>>>> command--tp17927179p17927179.html
>>>> Sent from the gradle-user mailing list archive at Nabble.com.
>>>>
>>>>
>>>> -------------------------------------------------------------------
>>>> --
>>>> To unsubscribe from this list, please visit:
>>>>
>>>>     http://xircles.codehaus.org/manage_email
>>>>
>>>>
>>>
>>> --
>>> Hans Dockter
>>> Gradle Project lead
>>> http://www.gradle.org
>>>
>>>
>>>
>>>
>>>
>>> --------------------------------------------------------------------
>>> -
>>> To unsubscribe from this list, please visit:
>>>
>>>     http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/new-build- 
> command--tp17927179p17932770.html
> Sent from the gradle-user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

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





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

    http://xircles.codehaus.org/manage_email