Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master branch fails to compile the CLI #74

Closed
manikmagar opened this issue Feb 11, 2023 · 1 comment
Closed

Master branch fails to compile the CLI #74

manikmagar opened this issue Feb 11, 2023 · 1 comment

Comments

@manikmagar
Copy link
Contributor

Unable to compile latest build from master -

GraalVM is used:

❯ jdk -version
openjdk version "11.0.17" 2022-10-18
OpenJDK Runtime Environment GraalVM CE 22.3.0 (build 11.0.17+8-jvmci-22.3-b08)
OpenJDK 64-Bit Server VM GraalVM CE 22.3.0 (build 11.0.17+8-jvmci-22.3-b08, mixed mode)

Compiling native CLI:

❯ ./gradlew native-cli:nativeCompile
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

> Configure project :native-cli
Generating Versions File.

> Task :native-cli:compileScala
[Error] ~/codebase/data-weave-cli/native-cli/src/main/scala/org/mule/weave/dwnative/NativeRuntime.scala:67:5: overloaded method constructor DataWeaveScriptingEngine with alternatives:
  (componentsFactory: org.mule.weave.v2.runtime.ModuleComponentsFactory,parsingConfiguration: org.mule.weave.v2.runtime.ParserConfiguration)org.mule.weave.v2.runtime.DataWeaveScriptingEngine <and>
  ()org.mule.weave.v2.runtime.DataWeaveScriptingEngine <and>
  (componentsFactory: org.mule.weave.v2.runtime.ModuleComponentsFactory,parsingConfiguration: org.mule.weave.v2.runtime.ParserConfiguration,configuration: java.util.Properties)org.mule.weave.v2.runtime.DataWeaveScriptingEngine
 cannot be applied to (org.mule.weave.dwnative.NativeModuleComponentFactory, org.mule.weave.v2.runtime.ParserConfiguration, java.util.Properties, languageLevelService: org.mule.weave.v2.model.service.LanguageLevelService)
one error found

> Task :native-cli:compileScala FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':native-cli:compileScala'.
> Compilation failed

* 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 7s
1 actionable task: 1 executed

machaval added a commit that referenced this issue Feb 13, 2023
machaval added a commit that referenced this issue Feb 14, 2023
* Fixing #74. Fixing build

* Trying to fix tests

* Trying to fix tests

* Trying to fix tests

* Trying to fix tests

* Trying to fix tests

* Trying to fix tests

* Adding compatibility version
@manikmagar
Copy link
Contributor Author

Fixed with #75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant