[x3d-public] Apparently, renaming X3DJSAIL jar might cause problems with JSON output
John Carlson
yottzumm at gmail.com
Wed Mar 27 18:55:51 PDT 2024
This is the only way I know how to get JSON output from X3DJSAIL using
Gradle configuration. XML output is okay.
First, I had to rename the X3DJSAIL jar, to include a "-" before the 4.
Gradle changes from previous post to my app:
diff --git a/Jaminate/app/build.gradle b/Jaminate/app/build.gradle
index 8cf371e..e87c061 100644
--- a/Jaminate/app/build.gradle
+++ b/Jaminate/app/build.gradle
@@ -60,7 +60,7 @@ dependencies {
implementation 'org.graalvm.shadowed:icu4j:24.0.0'
implementation 'org.graalvm.truffle:truffle-runtime:24.0.0'
- implementation 'org.web3d.x3d:X3DJSAIL:4.0-SNAPSHOT'
+ implementation 'org.web3d.x3d:X3DJSAIL:4.0.full'
}
This is because the X3DJSAIL jar does not contain a "-" before the version.
I am patching X3DJSAIL, to allow for X3DJSAIL-4.0.*.jar to allow for Gradle
conventions. I couldn't do it. Here's my attempt.
public static final ArrayList<String> X3DJSAIL_JAR_RELEASE_VERSIONS =
new ArrayList<>(Arrays.asList("X3DJSAIL-4.0.classes.jar",
"X3DJSAIL.4.0.classes.jar", "X3DJSAIL-4.0.full.jar",
"X3DJSAIL.4.0.full.jar", "X3DJSAIL.3.3.classes.jar",
"X3DJSAIL.3.3.full.jar"));
I am commenting out requiring the Jar in
CreateX3dSceneAccessInterfaceJava.xslt classpath test for now. Grr!
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20240327/7c162cee/attachment.html>
More information about the x3d-public
mailing list