Hi Jmix Team,
Our team is using the CUBA 7.2.10 and during the last discussion with your sale team they suggested to migrate to Jmix.
Before migrate my management wanted to know how much time or hours it takes migrate from cuba to jmix.
you sale team provide below github link to build and run the migration advisor tool but its failing for me.
cuba version: CUBA Platform version: 7.2.10
CUBA Studio plugin version: 15.10-213
IntelliJ version: IntelliJ IDEA 2022.2.3 (Community Edition)
Java version: java --version
openjdk 11.0.21 2023-10-17 LTS
OpenJDK Runtime Environment Zulu11.68+17-CA (build 11.0.21+9-LTS)
OpenJDK 64-Bit Server VM Zulu11.68+17-CA (build 11.0.21+9-LTS, mixed mode)
Here is the exception I am facing during the building the distribution.
jmix-migration-advisor-main % ./gradlew zipDist
Starting a Gradle Daemon (subsequent builds will be faster)
Task :compileJava FAILED
/Users/gnarayanaswamy/Downloads/jmix-migration-advisor-main/src/main/java/io/jmix/migration/analysis/parser/screen/ScreenControllerParser.java:248: error: cannot find symbol
.toList();
^
symbol: method toList()
location: interface Stream
/Users/gnarayanaswamy/Downloads/jmix-migration-advisor-main/src/main/java/io/jmix/migration/analysis/parser/screen/ScreenFacetsParser.java:29: error: cannot find symbol
.toList();
^
symbol: method toList()
location: interface Stream
/Users/gnarayanaswamy/Downloads/jmix-migration-advisor-main/src/main/java/io/jmix/migration/analysis/parser/general/WebXmlParser.java:68: error: cannot find symbol
appComponents = Arrays.stream(StringUtils.normalizeSpace(paramValueElementValue).split(" ")).toList();
^
symbol: method toList()
location: interface Stream
/Users/gnarayanaswamy/Downloads/jmix-migration-advisor-main/src/main/java/io/jmix/migration/analysis/parser/GlobalModuleJavaParser.java:68: error: cannot find symbol
.toList();
^
symbol: method toList()
location: interface Stream
/Users/gnarayanaswamy/Downloads/jmix-migration-advisor-main/src/main/java/io/jmix/migration/analysis/estimation/ScreenEstimator.java:56: error: cannot find symbol
}).toList();
^
symbol: method toList()
location: interface Stream
/Users/gnarayanaswamy/Downloads/jmix-migration-advisor-main/src/main/java/io/jmix/migration/analysis/estimation/EstimationDataProvider.java:250: error: cannot find symbol
.toList();
^
symbol: method toList()
location: interface Stream<ThresholdItem<Integer,V>>
where V is a type-variable:
V extends Object declared in method createThresholdItems(List,Function<String,V>,ThresholdItemGenerator)
/Users/gnarayanaswamy/Downloads/jmix-migration-advisor-main/src/main/java/io/jmix/migration/analysis/estimation/EstimationDataProvider.java:254: error: cannot find symbol
return THRESHOLDS_XPATH_TEMPLATE.formatted(estimationUnitName);
^
symbol: method formatted(String)
location: variable THRESHOLDS_XPATH_TEMPLATE of type String
/Users/gnarayanaswamy/Downloads/jmix-migration-advisor-main/src/main/java/io/jmix/migration/analysis/estimation/EstimationDataProvider.java:258: error: cannot find symbol
return SIMPLE_COST_VALUE_XPATH_TEMPLATE.formatted(estimationUnitName);
^
symbol: method formatted(String)
location: variable SIMPLE_COST_VALUE_XPATH_TEMPLATE of type String
8 errors
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:compileJava’.
Compilation failed; see the compiler error output for details.
- Try:
Run with --info option to get more log output.
Run with --scan to get full insights.
BUILD FAILED in 4s
2 actionable tasks: 2 executed