Missing Enums

cstone949

Member
Joined
May 17, 2021
Posts
6
Likes
0
Hi All!

Going through the examples in the provided MotiveWave_Studies.zip I keep running into a missing symbol error for Enums in the code, e.g. in
overlay/DEMA2Lines.java:46

Code:
error: cannot find symbol
    inputs.addRow(new MAMethodDescriptor(Inputs.METHOD, get("METHOD"), Enums.MAMethod.EMA));
                                                                            ^
  symbol:   variable MAMethod
  location: interface Enums

The enums are imported using
Java:
import com.motivewave.platform.sdk.common.Enums;
and are defined in the mwave_sdk.jar as expected, from the newly released 6.6.15 (but the same happens with 6.6.14).

Building studies without Enums works fine.
Any help greatly appreciated!

Conrad
---------------------------

FWIW, this is with a Gradle build with JDK-19:
Code:
plugins {
    `java-library`
}

java {
    toolchain {
        languageVersion.set(JavaLanguageVersion.of(19))
    }
}

repositories {
    flatDir {
        dirs("/usr/share/motivewave/jar/")
    }
 }

dependencies {
    compileOnly("com.motivewave.platform.sdk:mwave_sdk")
}
version = "1.3.0"
 
Top