[
https://issues.apache.org/jira/browse/OFBIZ-9791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16181250#comment-16181250 ]
Adam Heath commented on OFBIZ-9791:
-----------------------------------
That's not the bug. common.gradle has *custom* code that attempts to do file.eachDir against a file that does not exist. That then throws an exception.
It's easy to replicate. Do an svn checkout, then rm -rf plugins.
> builds in git fail quickly
> --------------------------
>
> Key: OFBIZ-9791
> URL:
https://issues.apache.org/jira/browse/OFBIZ-9791> Project: OFBiz
> Issue Type: Bug
> Components: Gradle
> Affects Versions: Trunk
> Reporter: Adam Heath
>
> Empty folders in git are not stored. Please make the build.gradle handle missing folders.
> The correct fix is to *NOT* store a README or something in the plugins/ folder.
> ==
> 10:43:01 -0500 adam@tooz(trunk):/srv/development/ofbiz/ofbiz-github$ ./gradlew build
> FAILURE: Build failed with an exception.
> * Where:
> Script '/srv/development/ofbiz/ofbiz-github/common.gradle' line: 37
> * What went wrong:
> A problem occurred evaluating settings 'ofbiz'.
> > /srv/development/ofbiz/ofbiz-github/plugins
> * 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: 0.415 secs
> ==
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)