OpenASR / idiolect

🎙️ Handsfree Audio Development Interface
https://arxiv.org/pdf/2305.03089.pdf
Apache License 2.0
93 stars 10 forks source link

"unexpected token" `configure<IntelliJPluginExtension>` #30

Closed nalbion closed 7 years ago

nalbion commented 7 years ago

From a fresh checkout, I run gradle runIdea and get a compile error:

FAILURE: Build failed with an exception.

* Where:
Build file '/workspace/idear/build.gradle.kts' line: 25

* What went wrong:
Could not compile build file '/workspace/idear/build.gradle.kts'.
> startup failed:
  build file '/workspace/idear/build.gradle.kts': 25: unexpected token: > @ line 25, column 34.
     configure<IntelliJPluginExtension> {
                                      ^
$ gradle --version

------------------------------------------------------------
Gradle 2.10
------------------------------------------------------------

Build time:   2016-01-26 15:17:49 UTC
Build number: none
Revision:     UNKNOWN

Groovy:       2.4.5
Ant:          Apache Ant(TM) version 1.9.6 compiled on July 8 2015
JVM:          1.8.0_131 (Oracle Corporation 25.131-b11)
OS:           Linux 4.8.0-53-generic amd64
$ java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)
nalbion commented 7 years ago

I'm also getting an error when running gradlew:

$ ./gradlew

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'idear'.
> Cannot find builtin plugin com.johnlindquist.acejump for IDE: /home/nalbion/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/LATEST-EAP-SNAPSHOT/fc5be73e7ba03823aaf79a8f7b5cb176a80adb5e/ideaIC-LATEST-EAP-SNAPSHOT
IntelliJ IDEA 2017.1.4
Build #IU-171.4694.23, built on June 6, 2017
JRE: 1.8.0_112-release-736-b21 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.8.0-53-generic
nalbion commented 7 years ago

Copying gradle-wrapper.properties from acejump, specifically changing distributionUrl:

distributionUrl=https\://repo.gradle.org/gradle/dist-snapshots/gradle-kotlin-dsl-4.1-20170624053347+0000-all.zip

I've moved onto a new error:

$ ./gradlew runIdea 

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':prepareSandbox'.
> Could not resolve all files for configuration ':runtime'.
   > Could not resolve de.dfki.mary:marytts-runtime:5.2-SNAPSHOT.
     Required by:
         project :
      > Could not resolve de.dfki.mary:marytts-runtime:5.2-SNAPSHOT.
         > inconsistent module metadata found. Descriptor: com.jetbrains:ideaIC:LATEST-EAP-SNAPSHOT Errors: bad group: expected='de.dfki.mary' found='com.jetbrains'
           bad module name: expected='marytts-runtime' found='ideaIC'
           bad version: expected='5.2-SNAPSHOT' found='LATEST-EAP-SNAPSHOT'
   > Could not resolve de.dfki.mary:marytts-lang-en:5.2-SNAPSHOT.
     Required by:
         project :
      > Could not resolve de.dfki.mary:marytts-lang-en:5.2-SNAPSHOT.
         > inconsistent module metadata found. Descriptor: com.jetbrains:ideaIC:LATEST-EAP-SNAPSHOT Errors: bad group: expected='de.dfki.mary' found='com.jetbrains'
           bad module name: expected='marytts-lang-en' found='ideaIC'
           bad version: expected='5.2-SNAPSHOT' found='LATEST-EAP-SNAPSHOT'
   > Could not resolve de.dfki.mary:voice-cmu-slt-hsmm:5.2-SNAPSHOT.
     Required by:
         project :
      > Could not resolve de.dfki.mary:voice-cmu-slt-hsmm:5.2-SNAPSHOT.
         > inconsistent module metadata found. Descriptor: com.jetbrains:ideaIC:LATEST-EAP-SNAPSHOT Errors: bad group: expected='de.dfki.mary' found='com.jetbrains'
           bad module name: expected='voice-cmu-slt-hsmm' found='ideaIC'
           bad version: expected='5.2-SNAPSHOT' found='LATEST-EAP-SNAPSHOT'
nalbion commented 7 years ago

I'm also getting the same errors on Windows:

* What went wrong:
A problem occurred configuring root project 'idear'.
> Cannot find builtin plugin com.johnlindquist.acejump for IDE: C:\Users\Nick\.gradle\caches\modules-2\files-2.1\com.jetbrains.intellij.idea\ideaIC\LATEST-EAP-SNAPSHOT\fc5be73e7ba03823aaf79a8f7b5cb176a80adb5e\ideaIC-LATEST-EAP-SNAPSHOT
>gradle --version

------------------------------------------------------------
Gradle 4.0
------------------------------------------------------------

Build time:   2017-06-14 15:11:08 UTC
Revision:     316546a5fcb4e2dfe1d6aa0b73a4e09e8cecb5a5

Groovy:       2.4.11
Ant:          Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM:          1.8.0_131 (Oracle Corporation 25.131-b11)
OS:           Windows 10 10.0 amd64
breandan commented 7 years ago

Thanks for reporting! It should build correctly work now, let me know if you have any questions or trouble. Been a while since I've touched this project.

breandan commented 7 years ago

Whoops, I see your last error too. Reopening.

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':prepareSandbox'.
> Could not resolve all files for configuration ':runtime'.
   > Could not resolve de.dfki.mary:marytts-runtime:5.2-SNAPSHOT.
     Required by:
         project :
      > Could not resolve de.dfki.mary:marytts-runtime:5.2-SNAPSHOT.
         > inconsistent module metadata found. Descriptor: com.jetbrains:ideaIC:LATEST-EAP-SNAPSHOT Errors: bad group: expected='de.dfki.mary' found='com.jetbrains'
           bad module name: expected='marytts-runtime' found='ideaIC'
           bad version: expected='5.2-SNAPSHOT' found='LATEST-EAP-SNAPSHOT'
   > Could not resolve de.dfki.mary:marytts-lang-en:5.2-SNAPSHOT.
     Required by:
         project :
      > Could not resolve de.dfki.mary:marytts-lang-en:5.2-SNAPSHOT.
         > inconsistent module metadata found. Descriptor: com.jetbrains:ideaIC:LATEST-EAP-SNAPSHOT Errors: bad group: expected='de.dfki.mary' found='com.jetbrains'
           bad module name: expected='marytts-lang-en' found='ideaIC'
           bad version: expected='5.2-SNAPSHOT' found='LATEST-EAP-SNAPSHOT'
   > Could not resolve de.dfki.mary:voice-cmu-slt-hsmm:5.2-SNAPSHOT.
     Required by:
         project :
      > Could not resolve de.dfki.mary:voice-cmu-slt-hsmm:5.2-SNAPSHOT.
         > inconsistent module metadata found. Descriptor: com.jetbrains:ideaIC:LATEST-EAP-SNAPSHOT Errors: bad group: expected='de.dfki.mary' found='com.jetbrains'
           bad module name: expected='voice-cmu-slt-hsmm' found='ideaIC'
           bad version: expected='5.2-SNAPSHOT' found='LATEST-EAP-SNAPSHOT'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED in 19m 13s
nalbion commented 7 years ago

Thanks, it seems to be running now