From c91e78b6a6503296457b4b86a73854fc2c4e01a2 Mon Sep 17 00:00:00 2001 From: m0rkeulv Date: Wed, 24 Jul 2024 23:27:48 +0200 Subject: [PATCH] Fixing 2024.2 code using API changed to internal --- .../org/jetbrains/jps/haxe/build/HaxeModuleLevelBuilder.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jps-plugin/src/main/java/org/jetbrains/jps/haxe/build/HaxeModuleLevelBuilder.java b/jps-plugin/src/main/java/org/jetbrains/jps/haxe/build/HaxeModuleLevelBuilder.java index adc5c31cd..eb2d378e9 100644 --- a/jps-plugin/src/main/java/org/jetbrains/jps/haxe/build/HaxeModuleLevelBuilder.java +++ b/jps-plugin/src/main/java/org/jetbrains/jps/haxe/build/HaxeModuleLevelBuilder.java @@ -43,7 +43,6 @@ import org.jetbrains.jps.incremental.messages.ProgressMessage; import org.jetbrains.jps.model.java.JpsJavaExtensionService; import org.jetbrains.jps.model.java.JpsJavaProjectExtension; -import org.jetbrains.jps.model.java.impl.JavaProjectExtensionRole; import org.jetbrains.jps.model.library.sdk.JpsSdk; import org.jetbrains.jps.model.module.JpsModule; import org.jetbrains.jps.model.module.JpsModuleSourceRoot; @@ -222,7 +221,7 @@ public String getModuleDefaultCompileOutputPath() { // return JpsPathUtil.urlToPath(outputRootUrl); // ... so we reach directly down to the project and grab its output path. - final JpsJavaProjectExtension projectExtension = module.getProject().getContainer().getChild(JavaProjectExtensionRole.INSTANCE); + final JpsJavaProjectExtension projectExtension = JpsJavaExtensionService.getInstance().getProjectExtension(module.getProject()); if (projectExtension != null) { final String url = projectExtension.getOutputUrl(); if (url != null) {