You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Chris Poulsen (Updated) (JIRA)" <ji...@apache.org> on 2011/09/27 11:06:11 UTC

[jira] [Updated] (TAP5-1671) Running "gradle idea" fails on a clean checkout

     [ https://issues.apache.org/jira/browse/TAP5-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Poulsen updated TAP5-1671:
--------------------------------

    Attachment: fix_gradle_idea_on_clean_checkout.patch

I don't know much about gradle/groovy. 

So I've just wrapped the offending line in a try/catch and default it to an empty set if an exception is thrown.

If the task is truly dependent on some generated folders being present I guess we should make sure that the build task is marked as a dependency of the idea task.
                
> Running "gradle idea" fails on a clean checkout
> -----------------------------------------------
>
>                 Key: TAP5-1671
>                 URL: https://issues.apache.org/jira/browse/TAP5-1671
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3, 5.2
>            Reporter: Chris Poulsen
>            Priority: Minor
>              Labels: gradle, tapestry-core
>         Attachments: fix_gradle_idea_on_clean_checkout.patch
>
>
> This have been mentioned on the mailing list before. Steps to reproduce: 
> 1) Perform a clean checkout of trunk
> 2) Issue "gradle idea"
> 3) The build fails with some error about "could not invoke minus on null"
> A work around is to do "gradle build" before attempting to generate the idea project.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira