Hi Chris A simple workaround is to run gradle build first.
On Tue, Sep 27, 2011 at 3:56 PM, Chris Poulsen (Commented) (JIRA) <[email protected]> wrote: > > [ > https://issues.apache.org/jira/browse/TAP5-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13115385#comment-13115385 > ] > > Chris Poulsen commented on TAP5-1671: > ------------------------------------- > > Yes, if you mean using "gradlew idea". > > C:\code\framework\tap5-clean>svn status > > C:\code\framework\tap5-clean>gradlew.bat idea > :ideaModule > :ideaProject > :ideaWorkspace > :idea > :plastic:ideaModule > :plastic:idea > :quickstart:ideaModule > :quickstart:idea > :tapestry-beanvalidator:ideaModule > :tapestry-beanvalidator:idea > :tapestry-core:ideaModule > > FAILURE: Build failed with an exception. > > * Where: > Build file 'C:\code\framework\tap5-clean\tapestry-core\build.gradle' line: 56 > > * What went wrong: > Execution failed for task ':tapestry-core:ideaModule'. > Cause: Cannot invoke method minus() on null object > > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. > > BUILD FAILED > > Total time: 12.104 secs > > C:\code\framework\tap5-clean> > >> 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 > > > -- Regards Taha Hafeez Siddiqi (tawus) http://tawus.wordpress.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
