HiveMinds / tw-install

Automatically installs Taskwarrior, Taskserver (TODO: and Timewarrior). This project aims to support automated installation of all Taskwarrior hook scripts, configuration flavours etc. with a single command.
GNU Affero General Public License v3.0
17 stars 7 forks source link

Inspect why the sort due report is not generated correctly #65

Open a-t-0 opened 3 years ago

a-t-0 commented 3 years ago
      <p>For install setting 0 the sortDue report is not generated correctly,<br>

The due column date has format yyyy-mm-dd instead of yyyy-mm-ddThh:mm
And there is an error in compiling the gradle build with:

                                     Welcome to Gradle 5.6.4!  Here are the highlights of this release:  - Incremental Groovy compilation  - Groovy compile avoidance  - Test fixtures for Java projects  - Manage plugin versions via settings script  For more details see https://docs.gradle.org/5.6.4/release-notes.html                                                                                                                                                                           ------------------------------------------------------------ Gradle 5.6.4 ------------------------------------------------------------  Build time:                                                                               2019-11-01 20:42:00 UTC Revision:
  dd870424f9bd8e195d614dc14bb140f43c22da98  Kotlin:

 1.3.41 Groovy:

 2.5.4 Ant:

 Apache Ant(TM) version 1.9.14 compiled on March 12 2019 JVM:

 11.0.8 (Ubuntu 11.0.8+10-post-Ubuntu-0ubuntu118.04.1) OS:

  Linux 4.4.0-19041-Microsoft amd64
Step 4.17
/mnt/e/docs/personal/Programming/systems/git/Taskwarrior-installation/CustomSortServer/build.gradle

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processTestResources'.
> Could not copy file '/mnt/e/docs/personal/Programming/systems/git/Taskwarrior-installation/CustomSortServer/src/test/resources/testDataFiles' to '/mnt/e/docs/personal/Programming/systems/git/Taskwarrior-installation/CustomSortServer/build/resources/test/testDataFiles'.
   > Could not set file mode 777 on '/mnt/e/docs/personal/Programming/systems/git/Taskwarrior-installation/CustomSortServer/build/resources/test/testDataFiles'.

* 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

BUILD FAILED in 24s
21
Starting a Gradle Daemon (subsequent builds will be faster)  > Configure project : /mnt/e/docs/personal/Programming/systems/git/Taskwarrior-installation/CustomSortServer/build.gradle /mnt/e/docs/personal/Programming/systems/git/Taskwarrior-installation/CustomSortServer/build/libs/JavaServerSort /mnt/e/docs/personal/Programming/systems/git/Taskwarrior-installation/AutoInstallTaskwarrior/src/main/resources/autoinstalltaskwarrior/  > Task :compileJava UP-TO-DATE > Task :processResources NO-SOURCE > Task :classes UP-TO-DATE > Task :jar UP-TO-DATE > Task :assemble UP-TO-DATE > Task :compileTestJava UP-TO-DATE > Task :processTestResources FAILED 4 actionable tasks: 1 executed, 3 up-to-date
22
> Task :compileJava UP-TO-DATE > Task :processResources UP-TO-DATE > Task :classes UP-TO-DATE > Task :jar UP-TO-DATE > Task :assemble UP-TO-DATE > Task :compileTestJava UP-TO-DATE > Task :processTestResources NO-SOURCE > Task :testClasses UP-TO-DATE > Task :test UP-TO-DATE > Task :check UP-TO-DATE > Task :build UP-TO-DATE  BUILD SUCCESSFUL in 3s 5 actionable tasks: 5 up-to-date
Step 5. Installing Taskwarrior by running the jar file that is compiled by gradle. This is done with command (arguments are added later):
Incoming arguments =
-linuxUsername testlinuxname -linuxPassword mypassword -twOrg testOrg -twUsername testtwname -isMultiDevices True -isServer True -hostname 0.0.0.0 -isUseOnAndroid False -skipAndroidInstallation True -restoreBackup True -featuresAns abcde
Returning (without arguments)

Perhaps the software uses a pre-existing .jar file instead of a correctly compiled jar file.

Another option is that the gradle 5.6. version breaks the compilation. (I think it originally used 5.5).
Another option is that dependency updates from dependabot broke the installation.