Open mi-hol opened 7 months ago
https://github.com/GoogleChromeLabs/bubblewrap/issues/791#issuecomment-1589077234 seems to indicate an outdated Android SDK as root cause
updating java_console/inifile/src/main/java/com/rusefi/tune/xml/package-info.java to comment below reduces the number of errors from 17 to 15
// @XmlSchema(
// namespace = "http://www.msefi.com/:msq",
// elementFormDefault = XmlNsForm.QUALIFIED
// )
java_console/.idea/misc.xml
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" project-jdk-name="1.8" project-jdk-type="JavaSDK">
and
java_console/.idea/libraries/XML_for_11.xml seems to set jaxb library version
<component name="libraryTable">
<library name="XML for 11">
<CLASSES>
<root url="jar://$PROJECT_DIR$/lib/jaxb-api.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
from https://javaee.github.io/jaxb-v2/doc/user-guide/ch06.html#d0e6862 " Q: | Can I run my existing JAXB 1.0.x applications on the JAXB 2.0 runtime? A: | This is no longer supported. However, you should be able to deploy http://search.maven.org/remotecontent?filepath=com/sun/xml/bind/jaxb1-impl/2.2.5-1/jaxb1-impl-2.2.5-1.jar with your with your application application. "
Down to 2 errors:
Task :ui:compileJava FAILED /home/runner/work/fome-fw/fome-fw/java_console/ui/src/main/java/com/rusefi/tools/ConsoleTools.java:23: error: package javax.xml.bind does not exist import javax.xml.bind.JAXBException; ^ /home/runner/work/fome-fw/fome-fw/java_console/ui/src/main/java/com/rusefi/tools/ConsoleTools.java:206: error: cannot find symbol private static void convertBinaryToXml(String[] args) throws IOException, JAXBException { ^ symbol: class JAXBException location: class ConsoleTools
https://github.com/FOME-Tech/fome-fw/actions/runs/7534234159/job/20508238031#step:9:291
fails despite updated java_console/ui/build.gradle with apply from: '../../java_tools/dependencies.gradle
root cause seems java_tools/jaxb1-impl-2.2.5-1.jar gets NOT used for compiling java_console/ui/src/main/java/com/rusefi/tools/ConsoleTools.java as for the other java source files in java_console/inifile/src/main/java/com/rusefi/tune/xml/
What do I miss?
Thanks to Andrey's hint pointing to https://github.com/rusefi/rusefi/commit/513b075eae1300b2bae0ca6c4656960f35300646 everything compiles now successfully
Thanks to Andrey's hint pointing to rusefi/rusefi@513b075 everything compiles now successfully
PR?
PR?
Would love to cherry-pick but it seems I screwed up my local fork when I used git commands in pwsh :( GH Desktop seems limited to work only with a single repo, did I get this right?
Note to myself "OpenJDK Java 21 will serve as the default system JDK of Fedora 40. OpenJDK 21 is replacing the former default on Fedora Linux of OpenJDK 17. JDK 8 and JDK 11 will remain available in Fedora." "Install OpenJDK 17 on Debian 12 (Bookworm). By installing the " default-jdk " package, you get both OpenJDK 17 and OpenJRE 17 installed on your system simultaneously"
https://github.com/FOME-Tech/fome-fw/actions/runs/7462204158/job/20303988887