build from sources - latest snapshot - dists or distLibs ?

View: New views
8 Messages — Rating Filter:   Alert me  

build from sources - latest snapshot - dists or distLibs ?

by Tomek Kaczanowski-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi all,

I pulled the latest gradle src from git (and then downloaded latest
src from TeamCity to check it once again, and then from
http://snapshots.dist.codehaus.org/gradle/ to make sure I'm not
dreaming ;). I followed the http://gradle.org/build.html and run

./gradlew clean dists

but failed each time with:
FAILURE: Could not determine which tasks to execute.

* What went wrong:
Task 'dists' not found in root project 'gradle'.

* Try:
Run with -t to get a list of available tasks.

BUILD FAILED

./gradlew -t gives me plenty of tasks, but not "dists"

distLibs seems like a proper one to me. But I'm confused - build.gradle says:
 defaultTasks "clean", "dists"

?
--
Tomek

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

    http://xircles.codehaus.org/manage_email



Re: build from sources - latest snapshot - dists or distLibs ?

by John Murph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think 'dists' was renamed to 'archives'.  Maybe the defaultTasks was just overlooked?  I've been distracted lately and not been keeping up with changes, so I might be wrong.  :)


--
John Murph
Automated Logic Research Team

Re: build from sources - latest snapshot - dists or distLibs ?

by Adam Murdoch-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Some tasks you could use, depending on what you want to do: 'assemble',
'binZip' or 'install'

Tomek Kaczanowski wrote:

> hi all,
>
> I pulled the latest gradle src from git (and then downloaded latest
> src from TeamCity to check it once again, and then from
> http://snapshots.dist.codehaus.org/gradle/ to make sure I'm not
> dreaming ;). I followed the http://gradle.org/build.html and run
>
> ./gradlew clean dists
>
> but failed each time with:
> FAILURE: Could not determine which tasks to execute.
>
> * What went wrong:
> Task 'dists' not found in root project 'gradle'.
>
> * Try:
> Run with -t to get a list of available tasks.
>
> BUILD FAILED
>
> ./gradlew -t gives me plenty of tasks, but not "dists"
>
> distLibs seems like a proper one to me. But I'm confused - build.gradle says:
>  defaultTasks "clean", "dists"
>
> ?
> --
> Tomek
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>  

--
Adam Murdoch
Gradle Developer
http://www.gradle.org


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

    http://xircles.codehaus.org/manage_email



Re: build from sources - latest snapshot - dists or distLibs ?

by Tomek Kaczanowski-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

John, Adam - thanks.

but my point is that:
http://gradle.org/build.html is telling lies
and
build.gradle has default tasks that are no longer valid.

both things are misleading and do not help to start contributing to gradle.

--
Tomek



2009/10/22 Adam Murdoch <a@...>:

>
> Some tasks you could use, depending on what you want to do: 'assemble',
> 'binZip' or 'install'
>
> Tomek Kaczanowski wrote:
>>
>> hi all,
>>
>> I pulled the latest gradle src from git (and then downloaded latest
>> src from TeamCity to check it once again, and then from
>> http://snapshots.dist.codehaus.org/gradle/ to make sure I'm not
>> dreaming ;). I followed the http://gradle.org/build.html and run
>>
>> ./gradlew clean dists
>>
>> but failed each time with:
>> FAILURE: Could not determine which tasks to execute.
>>
>> * What went wrong:
>> Task 'dists' not found in root project 'gradle'.
>>
>> * Try:
>> Run with -t to get a list of available tasks.
>>
>> BUILD FAILED
>>
>> ./gradlew -t gives me plenty of tasks, but not "dists"
>>
>> distLibs seems like a proper one to me. But I'm confused - build.gradle
>> says:
>>  defaultTasks "clean", "dists"
>>
>> ?
>> --
>> Tomek
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>
> --
> Adam Murdoch
> Gradle Developer
> http://www.gradle.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

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

    http://xircles.codehaus.org/manage_email



Re: build from sources - latest snapshot - dists or distLibs ?

by Steve Appling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I miss my explodedDist :(
I think someone should be able to build a working install without having to set
any extra properties.  Does anyone mind if I make the change to provide a
default value for gradle_installPath of 'build/install'.

For me, at least, 'clean, install' seem to be good default tasks.

Adam Murdoch wrote:

>
> Some tasks you could use, depending on what you want to do: 'assemble',
> 'binZip' or 'install'
>
> Tomek Kaczanowski wrote:
>> hi all,
>>
>> I pulled the latest gradle src from git (and then downloaded latest
>> src from TeamCity to check it once again, and then from
>> http://snapshots.dist.codehaus.org/gradle/ to make sure I'm not
>> dreaming ;). I followed the http://gradle.org/build.html and run
>>
>> ./gradlew clean dists
>>
>> but failed each time with:
>> FAILURE: Could not determine which tasks to execute.
>>
>> * What went wrong:
>> Task 'dists' not found in root project 'gradle'.
>>
>> * Try:
>> Run with -t to get a list of available tasks.
>>
>> BUILD FAILED
>>
>> ./gradlew -t gives me plenty of tasks, but not "dists"
>>
>> distLibs seems like a proper one to me. But I'm confused -
>> build.gradle says:
>>  defaultTasks "clean", "dists"
>>
>> ?
>> --
>> Tomek
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>>
>>  
>

--
Steve Appling
Automated Logic Research Team

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

    http://xircles.codehaus.org/manage_email



Re: build from sources - latest snapshot - dists or distLibs ?

by Russel Winder-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, 2009-10-22 at 08:35 -0400, Steve Appling wrote:
> I miss my explodedDist :(

I agree that not having explodedDist is a pain.  Bring back explodedDist
-- though perhaps a term other than exploded would be good so as to
avoid the gaze of the anti-terrorist units ;-)
 
> I think someone should be able to build a working install without having to set
> any extra properties.  Does anyone mind if I make the change to provide a
> default value for gradle_installPath of 'build/install'.
>
> For me, at least, 'clean, install' seem to be good default tasks.

I am not convinced by having a default location.  Having to set
gradle_installPath in ~/.gradle/gradle.properties strikes me as being
right.

I still think there should be a gradle-docs:install target so as to
install the built docs into gradle_installPath along with the executable
gradle.

Perhaps I should just create these and commit them?

--
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: russel@...
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:russel.winder@...
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder


signature.asc (204 bytes) Download Attachment

Re: build from sources - latest snapshot - dists or distLibs ?

by Thomas Kinnen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think it should be assemble, as dists changed to assemble with gradle
0.7 => 0.8.

I posted a patch for this on the mailing lists on the 30.9.2009, seems
it never made it to the repo.

Thomas


Tomek Kaczanowski wrote:

> John, Adam - thanks.
>
> but my point is that:
> http://gradle.org/build.html is telling lies
> and
> build.gradle has default tasks that are no longer valid.
>
> both things are misleading and do not help to start contributing to gradle.
>
> --
> Tomek
>
>
>
> 2009/10/22 Adam Murdoch <a@...>:
>  
>> Some tasks you could use, depending on what you want to do: 'assemble',
>> 'binZip' or 'install'
>>
>> Tomek Kaczanowski wrote:
>>    
>>> hi all,
>>>
>>> I pulled the latest gradle src from git (and then downloaded latest
>>> src from TeamCity to check it once again, and then from
>>> http://snapshots.dist.codehaus.org/gradle/ to make sure I'm not
>>> dreaming ;). I followed the http://gradle.org/build.html and run
>>>
>>> ./gradlew clean dists
>>>
>>> but failed each time with:
>>> FAILURE: Could not determine which tasks to execute.
>>>
>>> * What went wrong:
>>> Task 'dists' not found in root project 'gradle'.
>>>
>>> * Try:
>>> Run with -t to get a list of available tasks.
>>>
>>> BUILD FAILED
>>>
>>> ./gradlew -t gives me plenty of tasks, but not "dists"
>>>
>>> distLibs seems like a proper one to me. But I'm confused - build.gradle
>>> says:
>>>  defaultTasks "clean", "dists"
>>>
>>> ?
>>> --
>>> Tomek
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>>      
>> --
>> Adam Murdoch
>> Gradle Developer
>> http://www.gradle.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>   http://xircles.codehaus.org/manage_email
>>
>>
>>
>>    
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>
>
>  


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

    http://xircles.codehaus.org/manage_email



Re: build from sources - latest snapshot - dists or distLibs ?

by Tomek Kaczanowski-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> I think it should be assemble, as dists changed to assemble with gradle 0.7
> => 0.8.
> I posted a patch for this on the mailing lists on the 30.9.2009, seems it
> never made it to the repo.
So let us make it more "official" :)
http://jira.codehaus.org/browse/GRADLE-717

please comment on this JIRA issue if you know how it should be done properly

--
Tomek

>
> Thomas
>
>
> Tomek Kaczanowski wrote:
>>
>> John, Adam - thanks.
>>
>> but my point is that:
>> http://gradle.org/build.html is telling lies
>> and
>> build.gradle has default tasks that are no longer valid.
>>
>> both things are misleading and do not help to start contributing to
>> gradle.
>>
>> --
>> Tomek
>>
>>
>>
>> 2009/10/22 Adam Murdoch <a@...>:
>>
>>>
>>> Some tasks you could use, depending on what you want to do: 'assemble',
>>> 'binZip' or 'install'
>>>
>>> Tomek Kaczanowski wrote:
>>>
>>>>
>>>> hi all,
>>>>
>>>> I pulled the latest gradle src from git (and then downloaded latest
>>>> src from TeamCity to check it once again, and then from
>>>> http://snapshots.dist.codehaus.org/gradle/ to make sure I'm not
>>>> dreaming ;). I followed the http://gradle.org/build.html and run
>>>>
>>>> ./gradlew clean dists
>>>>
>>>> but failed each time with:
>>>> FAILURE: Could not determine which tasks to execute.
>>>>
>>>> * What went wrong:
>>>> Task 'dists' not found in root project 'gradle'.
>>>>
>>>> * Try:
>>>> Run with -t to get a list of available tasks.
>>>>
>>>> BUILD FAILED
>>>>
>>>> ./gradlew -t gives me plenty of tasks, but not "dists"
>>>>
>>>> distLibs seems like a proper one to me. But I'm confused - build.gradle
>>>> says:
>>>>  defaultTasks "clean", "dists"
>>>>
>>>> ?
>>>> --
>>>> Tomek
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe from this list, please visit:
>>>>
>>>>   http://xircles.codehaus.org/manage_email
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> Adam Murdoch
>>> Gradle Developer
>>> http://www.gradle.org
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>  http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>
>

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

    http://xircles.codehaus.org/manage_email