[jira] [Commented] (FINERACT-1186) Failing to Build latest code
[ https://issues.apache.org/jira/browse/FINERACT-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17214435#comment-17214435 ] ibrahim kimbugwe commented on FINERACT-1186: It was an issue on my machine as well but I'll try to look into it as well comparing with [~francisguchie]'s solution > Failing to Build latest code > > > Key: FINERACT-1186 > URL: https://issues.apache.org/jira/browse/FINERACT-1186 > Project: Apache Fineract > Issue Type: New Feature > Components: Build >Affects Versions: 1.4.0, 1.5.0 >Reporter: Francis Guchie >Assignee: Francis Guchie >Priority: Major > Labels: hard_to_verify, windows > Fix For: 1.5.0 > > Attachments: image-2020-10-12-18-31-01-132.png > > > > Task :buildSwaggerCodeFineract > Starting a Gradle Daemon (subsequent builds will be faster) > > Task :clean UP-TO-DATE > > Task :compileJava > Note: > D:\0a\fineract\build\swagger-code-fineract\src\main\java\org\apache\fineract\client\ApiClient.java > uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > > Task :processResources NO-SOURCE > > Task :classes > > Task :jar > > Task :assemble > > Task :compileTestJava > > Task :processTestResources NO-SOURCE > > Task :testClasses > > Task :test > > Task :check > > Task :build > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6/userguide/command_line_interface.html#sec:command_line_warnings > BUILD SUCCESSFUL in 55s > 5 actionable tasks: 4 executed, 1 up-to-date > > Task :srcDistTar FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':srcDistTar'. > > Could not add file > > 'D:\0a\fineract\fineract-provider\.gradle\6.6.1\executionHistory\executionHistory.lock' > > to TAR > > 'D:\0a\fineract\build\distributions\apache-fineract-1.4.0-src-release-1.4.0-661-g43fdde5-dirty.tar.gz'. > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. Run with --scan to get full insights. > * Get more help at https://help.gradle.org > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings > BUILD FAILED in 6m 20s > 25 actionable tasks: 25 executed -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (FINERACT-1186) Failing to Build latest code
[ https://issues.apache.org/jira/browse/FINERACT-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212612#comment-17212612 ] Francis Guchie commented on FINERACT-1186: -- This issue can ought to be closed > Failing to Build latest code > > > Key: FINERACT-1186 > URL: https://issues.apache.org/jira/browse/FINERACT-1186 > Project: Apache Fineract > Issue Type: New Feature > Components: Build >Affects Versions: 1.4.0, 1.5.0 >Reporter: Francis Guchie >Priority: Major > Labels: hard_to_verify, windows > Attachments: image-2020-10-12-18-31-01-132.png > > > > Task :buildSwaggerCodeFineract > Starting a Gradle Daemon (subsequent builds will be faster) > > Task :clean UP-TO-DATE > > Task :compileJava > Note: > D:\0a\fineract\build\swagger-code-fineract\src\main\java\org\apache\fineract\client\ApiClient.java > uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > > Task :processResources NO-SOURCE > > Task :classes > > Task :jar > > Task :assemble > > Task :compileTestJava > > Task :processTestResources NO-SOURCE > > Task :testClasses > > Task :test > > Task :check > > Task :build > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6/userguide/command_line_interface.html#sec:command_line_warnings > BUILD SUCCESSFUL in 55s > 5 actionable tasks: 4 executed, 1 up-to-date > > Task :srcDistTar FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':srcDistTar'. > > Could not add file > > 'D:\0a\fineract\fineract-provider\.gradle\6.6.1\executionHistory\executionHistory.lock' > > to TAR > > 'D:\0a\fineract\build\distributions\apache-fineract-1.4.0-src-release-1.4.0-661-g43fdde5-dirty.tar.gz'. > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. Run with --scan to get full insights. > * Get more help at https://help.gradle.org > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings > BUILD FAILED in 6m 20s > 25 actionable tasks: 25 executed -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (FINERACT-1186) Failing to Build latest code
[ https://issues.apache.org/jira/browse/FINERACT-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212611#comment-17212611 ] Francis Guchie commented on FINERACT-1186: -- [~vorburger] said running with -Pfineract.release (this is what i will test next time.) I had to stop a java process on the windows PC before making another successful build because as [~aleks] rightfully said there seemed to be another gradle process running in the background Hope this helps someone like [~ikimbrah] > Failing to Build latest code > > > Key: FINERACT-1186 > URL: https://issues.apache.org/jira/browse/FINERACT-1186 > Project: Apache Fineract > Issue Type: New Feature > Components: Build >Affects Versions: 1.4.0, 1.5.0 >Reporter: Francis Guchie >Priority: Major > Labels: hard_to_verify, windows > Attachments: image-2020-10-12-18-31-01-132.png > > > > Task :buildSwaggerCodeFineract > Starting a Gradle Daemon (subsequent builds will be faster) > > Task :clean UP-TO-DATE > > Task :compileJava > Note: > D:\0a\fineract\build\swagger-code-fineract\src\main\java\org\apache\fineract\client\ApiClient.java > uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > > Task :processResources NO-SOURCE > > Task :classes > > Task :jar > > Task :assemble > > Task :compileTestJava > > Task :processTestResources NO-SOURCE > > Task :testClasses > > Task :test > > Task :check > > Task :build > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6/userguide/command_line_interface.html#sec:command_line_warnings > BUILD SUCCESSFUL in 55s > 5 actionable tasks: 4 executed, 1 up-to-date > > Task :srcDistTar FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':srcDistTar'. > > Could not add file > > 'D:\0a\fineract\fineract-provider\.gradle\6.6.1\executionHistory\executionHistory.lock' > > to TAR > > 'D:\0a\fineract\build\distributions\apache-fineract-1.4.0-src-release-1.4.0-661-g43fdde5-dirty.tar.gz'. > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. Run with --scan to get full insights. > * Get more help at https://help.gradle.org > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings > BUILD FAILED in 6m 20s > 25 actionable tasks: 25 executed -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (FINERACT-1186) Failing to Build latest code
[ https://issues.apache.org/jira/browse/FINERACT-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212604#comment-17212604 ] Aleksandar Vidakovic commented on FINERACT-1186: [~francisguchie] Good to hear you are unstuck and thanks for the description; might help others who run into the same situation. > Failing to Build latest code > > > Key: FINERACT-1186 > URL: https://issues.apache.org/jira/browse/FINERACT-1186 > Project: Apache Fineract > Issue Type: New Feature > Components: Build >Affects Versions: 1.4.0, 1.5.0 >Reporter: Francis Guchie >Priority: Major > Labels: hard_to_verify, windows > Attachments: image-2020-10-12-18-31-01-132.png > > > > Task :buildSwaggerCodeFineract > Starting a Gradle Daemon (subsequent builds will be faster) > > Task :clean UP-TO-DATE > > Task :compileJava > Note: > D:\0a\fineract\build\swagger-code-fineract\src\main\java\org\apache\fineract\client\ApiClient.java > uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > > Task :processResources NO-SOURCE > > Task :classes > > Task :jar > > Task :assemble > > Task :compileTestJava > > Task :processTestResources NO-SOURCE > > Task :testClasses > > Task :test > > Task :check > > Task :build > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6/userguide/command_line_interface.html#sec:command_line_warnings > BUILD SUCCESSFUL in 55s > 5 actionable tasks: 4 executed, 1 up-to-date > > Task :srcDistTar FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':srcDistTar'. > > Could not add file > > 'D:\0a\fineract\fineract-provider\.gradle\6.6.1\executionHistory\executionHistory.lock' > > to TAR > > 'D:\0a\fineract\build\distributions\apache-fineract-1.4.0-src-release-1.4.0-661-g43fdde5-dirty.tar.gz'. > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. Run with --scan to get full insights. > * Get more help at https://help.gradle.org > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings > BUILD FAILED in 6m 20s > 25 actionable tasks: 25 executed -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (FINERACT-1186) Failing to Build latest code
[ https://issues.apache.org/jira/browse/FINERACT-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212591#comment-17212591 ] Francis Guchie commented on FINERACT-1186: -- I think we we can close this issue > Failing to Build latest code > > > Key: FINERACT-1186 > URL: https://issues.apache.org/jira/browse/FINERACT-1186 > Project: Apache Fineract > Issue Type: New Feature > Components: Build >Affects Versions: 1.4.0, 1.5.0 >Reporter: Francis Guchie >Priority: Major > Labels: hard_to_verify, windows > Attachments: image-2020-10-12-18-31-01-132.png > > > > Task :buildSwaggerCodeFineract > Starting a Gradle Daemon (subsequent builds will be faster) > > Task :clean UP-TO-DATE > > Task :compileJava > Note: > D:\0a\fineract\build\swagger-code-fineract\src\main\java\org\apache\fineract\client\ApiClient.java > uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > > Task :processResources NO-SOURCE > > Task :classes > > Task :jar > > Task :assemble > > Task :compileTestJava > > Task :processTestResources NO-SOURCE > > Task :testClasses > > Task :test > > Task :check > > Task :build > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6/userguide/command_line_interface.html#sec:command_line_warnings > BUILD SUCCESSFUL in 55s > 5 actionable tasks: 4 executed, 1 up-to-date > > Task :srcDistTar FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':srcDistTar'. > > Could not add file > > 'D:\0a\fineract\fineract-provider\.gradle\6.6.1\executionHistory\executionHistory.lock' > > to TAR > > 'D:\0a\fineract\build\distributions\apache-fineract-1.4.0-src-release-1.4.0-661-g43fdde5-dirty.tar.gz'. > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. Run with --scan to get full insights. > * Get more help at https://help.gradle.org > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings > BUILD FAILED in 6m 20s > 25 actionable tasks: 25 executed -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (FINERACT-1186) Failing to Build latest code
[ https://issues.apache.org/jira/browse/FINERACT-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212589#comment-17212589 ] Francis Guchie commented on FINERACT-1186: -- [~aleks], [~vorburger] [~awasum] i managed to reproduce this error as you can see below, the windows have their own minds we need to make them understand after a successful build, i had a failed build - and when i checked the swagger-code-fineract folder was being big headed to go away. Please see image below BUILD SUCCESSFUL in 11m 14s 41 actionable tasks: 38 executed, 3 up-to-date $ ./gradlew clean bootWar > Task :fineract-provider:clean FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':fineract-provider:clean'. > java.io.IOException: Unable to delete directory 'D:\0a\fineract\build' Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory. - D:\0a\fineract\build\swagger-code-fineract !image-2020-10-12-18-31-01-132.png! > Failing to Build latest code > > > Key: FINERACT-1186 > URL: https://issues.apache.org/jira/browse/FINERACT-1186 > Project: Apache Fineract > Issue Type: New Feature > Components: Build >Affects Versions: 1.4.0, 1.5.0 >Reporter: Francis Guchie >Priority: Major > Labels: hard_to_verify, windows > Attachments: image-2020-10-12-18-31-01-132.png > > > > Task :buildSwaggerCodeFineract > Starting a Gradle Daemon (subsequent builds will be faster) > > Task :clean UP-TO-DATE > > Task :compileJava > Note: > D:\0a\fineract\build\swagger-code-fineract\src\main\java\org\apache\fineract\client\ApiClient.java > uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > > Task :processResources NO-SOURCE > > Task :classes > > Task :jar > > Task :assemble > > Task :compileTestJava > > Task :processTestResources NO-SOURCE > > Task :testClasses > > Task :test > > Task :check > > Task :build > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6/userguide/command_line_interface.html#sec:command_line_warnings > BUILD SUCCESSFUL in 55s > 5 actionable tasks: 4 executed, 1 up-to-date > > Task :srcDistTar FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':srcDistTar'. > > Could not add file > > 'D:\0a\fineract\fineract-provider\.gradle\6.6.1\executionHistory\executionHistory.lock' > > to TAR > > 'D:\0a\fineract\build\distributions\apache-fineract-1.4.0-src-release-1.4.0-661-g43fdde5-dirty.tar.gz'. > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. Run with --scan to get full insights. > * Get more help at https://help.gradle.org > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings > BUILD FAILED in 6m 20s > 25 actionable tasks: 25 executed -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (FINERACT-1186) Failing to Build latest code
[ https://issues.apache.org/jira/browse/FINERACT-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212480#comment-17212480 ] Francis Guchie commented on FINERACT-1186: -- [~aleks] and [~awasum] Picked up the latest develop branch and the build was successful - And I cannot reproduce the error above. This issues should be closed i think this is a windows specific issue like [~vorburger] says > Failing to Build latest code > > > Key: FINERACT-1186 > URL: https://issues.apache.org/jira/browse/FINERACT-1186 > Project: Apache Fineract > Issue Type: New Feature > Components: Build >Affects Versions: 1.4.0, 1.5.0 >Reporter: Francis Guchie >Priority: Major > Labels: hard_to_verify, windows > > > Task :buildSwaggerCodeFineract > Starting a Gradle Daemon (subsequent builds will be faster) > > Task :clean UP-TO-DATE > > Task :compileJava > Note: > D:\0a\fineract\build\swagger-code-fineract\src\main\java\org\apache\fineract\client\ApiClient.java > uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > > Task :processResources NO-SOURCE > > Task :classes > > Task :jar > > Task :assemble > > Task :compileTestJava > > Task :processTestResources NO-SOURCE > > Task :testClasses > > Task :test > > Task :check > > Task :build > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6/userguide/command_line_interface.html#sec:command_line_warnings > BUILD SUCCESSFUL in 55s > 5 actionable tasks: 4 executed, 1 up-to-date > > Task :srcDistTar FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':srcDistTar'. > > Could not add file > > 'D:\0a\fineract\fineract-provider\.gradle\6.6.1\executionHistory\executionHistory.lock' > > to TAR > > 'D:\0a\fineract\build\distributions\apache-fineract-1.4.0-src-release-1.4.0-661-g43fdde5-dirty.tar.gz'. > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. Run with --scan to get full insights. > * Get more help at https://help.gradle.org > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings > BUILD FAILED in 6m 20s > 25 actionable tasks: 25 executed -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (FINERACT-1186) Failing to Build latest code
[ https://issues.apache.org/jira/browse/FINERACT-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211076#comment-17211076 ] Francis Guchie commented on FINERACT-1186: -- [~aleks] i did the following one at a time and waited for completion 1- git add . 2- ./gradlew spotlessApply – 4m 17s successfull 3- ./gradlew clean build this one failed with error shared > Failing to Build latest code > > > Key: FINERACT-1186 > URL: https://issues.apache.org/jira/browse/FINERACT-1186 > Project: Apache Fineract > Issue Type: New Feature > Components: Build >Affects Versions: 1.4.0, 1.5.0 >Reporter: Francis Guchie >Priority: Major > Labels: hard_to_verify, windows > > > Task :buildSwaggerCodeFineract > Starting a Gradle Daemon (subsequent builds will be faster) > > Task :clean UP-TO-DATE > > Task :compileJava > Note: > D:\0a\fineract\build\swagger-code-fineract\src\main\java\org\apache\fineract\client\ApiClient.java > uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > > Task :processResources NO-SOURCE > > Task :classes > > Task :jar > > Task :assemble > > Task :compileTestJava > > Task :processTestResources NO-SOURCE > > Task :testClasses > > Task :test > > Task :check > > Task :build > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6/userguide/command_line_interface.html#sec:command_line_warnings > BUILD SUCCESSFUL in 55s > 5 actionable tasks: 4 executed, 1 up-to-date > > Task :srcDistTar FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':srcDistTar'. > > Could not add file > > 'D:\0a\fineract\fineract-provider\.gradle\6.6.1\executionHistory\executionHistory.lock' > > to TAR > > 'D:\0a\fineract\build\distributions\apache-fineract-1.4.0-src-release-1.4.0-661-g43fdde5-dirty.tar.gz'. > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. Run with --scan to get full insights. > * Get more help at https://help.gradle.org > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings > BUILD FAILED in 6m 20s > 25 actionable tasks: 25 executed -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (FINERACT-1186) Failing to Build latest code
[ https://issues.apache.org/jira/browse/FINERACT-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211048#comment-17211048 ] Aleksandar Vidakovic commented on FINERACT-1186: [~francisguchie] could it be that another Gradle process is running? Maybe in your IDE? Looks like there are 2 Gradle instances competing... > Failing to Build latest code > > > Key: FINERACT-1186 > URL: https://issues.apache.org/jira/browse/FINERACT-1186 > Project: Apache Fineract > Issue Type: New Feature > Components: Build >Affects Versions: 1.4.0, 1.5.0 >Reporter: Francis Guchie >Priority: Major > Labels: hard_to_verify, windows > > > Task :buildSwaggerCodeFineract > Starting a Gradle Daemon (subsequent builds will be faster) > > Task :clean UP-TO-DATE > > Task :compileJava > Note: > D:\0a\fineract\build\swagger-code-fineract\src\main\java\org\apache\fineract\client\ApiClient.java > uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > > Task :processResources NO-SOURCE > > Task :classes > > Task :jar > > Task :assemble > > Task :compileTestJava > > Task :processTestResources NO-SOURCE > > Task :testClasses > > Task :test > > Task :check > > Task :build > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6/userguide/command_line_interface.html#sec:command_line_warnings > BUILD SUCCESSFUL in 55s > 5 actionable tasks: 4 executed, 1 up-to-date > > Task :srcDistTar FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':srcDistTar'. > > Could not add file > > 'D:\0a\fineract\fineract-provider\.gradle\6.6.1\executionHistory\executionHistory.lock' > > to TAR > > 'D:\0a\fineract\build\distributions\apache-fineract-1.4.0-src-release-1.4.0-661-g43fdde5-dirty.tar.gz'. > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. Run with --scan to get full insights. > * Get more help at https://help.gradle.org > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings > BUILD FAILED in 6m 20s > 25 actionable tasks: 25 executed -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (FINERACT-1186) Failing to Build latest code
[ https://issues.apache.org/jira/browse/FINERACT-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17210929#comment-17210929 ] Michael Vorburger commented on FINERACT-1186: - [~francisguchie] this smells like it may (could, not sure) be some Windows specific issue. It looks like, from above, that you may be trying to run with {{-Pfineract.release}} for [https://github.com/apache/fineract/#releasing?] Unless you really really need that (why? it's typically only for preparing major releases for [https://fineract.apache.org|https://fineract.apache.org/]), isn't simply using e.g. {{./gradlew clean bootJar}} as per [https://github.com/apache/fineract/#instructions-to-build-the-jar-file], which probably works just fine even under Windows, simpler and sufficient? Or you could Google for the error message and see if you can find out more about it. [~aleks] [~ptuomola] perhaps you can spot more than me that jumps out above - but probably likely some Windows FS file locking issue kind of thing? > Failing to Build latest code > > > Key: FINERACT-1186 > URL: https://issues.apache.org/jira/browse/FINERACT-1186 > Project: Apache Fineract > Issue Type: New Feature > Components: Build >Affects Versions: 1.4.0, 1.5.0 >Reporter: Francis Guchie >Priority: Major > Labels: hard_to_verify > > > Task :buildSwaggerCodeFineract > Starting a Gradle Daemon (subsequent builds will be faster) > > Task :clean UP-TO-DATE > > Task :compileJava > Note: > D:\0a\fineract\build\swagger-code-fineract\src\main\java\org\apache\fineract\client\ApiClient.java > uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > > Task :processResources NO-SOURCE > > Task :classes > > Task :jar > > Task :assemble > > Task :compileTestJava > > Task :processTestResources NO-SOURCE > > Task :testClasses > > Task :test > > Task :check > > Task :build > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6/userguide/command_line_interface.html#sec:command_line_warnings > BUILD SUCCESSFUL in 55s > 5 actionable tasks: 4 executed, 1 up-to-date > > Task :srcDistTar FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':srcDistTar'. > > Could not add file > > 'D:\0a\fineract\fineract-provider\.gradle\6.6.1\executionHistory\executionHistory.lock' > > to TAR > > 'D:\0a\fineract\build\distributions\apache-fineract-1.4.0-src-release-1.4.0-661-g43fdde5-dirty.tar.gz'. > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. Run with --scan to get full insights. > * Get more help at https://help.gradle.org > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings > BUILD FAILED in 6m 20s > 25 actionable tasks: 25 executed -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (FINERACT-1186) Failing to Build latest code
[ https://issues.apache.org/jira/browse/FINERACT-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17210713#comment-17210713 ] Awasum Yannick commented on FINERACT-1186: -- Did you discuss this on the mailing list? someone might be able to help over there. > Failing to Build latest code > > > Key: FINERACT-1186 > URL: https://issues.apache.org/jira/browse/FINERACT-1186 > Project: Apache Fineract > Issue Type: New Feature > Components: Build >Affects Versions: 1.4.0, 1.5.0 >Reporter: Francis Guchie >Priority: Major > Labels: hard_to_verify > > > Task :buildSwaggerCodeFineract > Starting a Gradle Daemon (subsequent builds will be faster) > > Task :clean UP-TO-DATE > > Task :compileJava > Note: > D:\0a\fineract\build\swagger-code-fineract\src\main\java\org\apache\fineract\client\ApiClient.java > uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > > Task :processResources NO-SOURCE > > Task :classes > > Task :jar > > Task :assemble > > Task :compileTestJava > > Task :processTestResources NO-SOURCE > > Task :testClasses > > Task :test > > Task :check > > Task :build > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6/userguide/command_line_interface.html#sec:command_line_warnings > BUILD SUCCESSFUL in 55s > 5 actionable tasks: 4 executed, 1 up-to-date > > Task :srcDistTar FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':srcDistTar'. > > Could not add file > > 'D:\0a\fineract\fineract-provider\.gradle\6.6.1\executionHistory\executionHistory.lock' > > to TAR > > 'D:\0a\fineract\build\distributions\apache-fineract-1.4.0-src-release-1.4.0-661-g43fdde5-dirty.tar.gz'. > * Try: > Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output. Run with --scan to get full insights. > * Get more help at https://help.gradle.org > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.6.1/userguide/command_line_interface.html#sec:command_line_warnings > BUILD FAILED in 6m 20s > 25 actionable tasks: 25 executed -- This message was sent by Atlassian Jira (v8.3.4#803005)