Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature currently requires accessing the site using the built-in Safari browser.
Was für ein Buildsystem nutzt du dann? Wahrscheinlich ein NetBeans-internes, oder?Ich arbeite mit Netbeans und habe keine Erfahrung mit Gradle und Maven.
Das kann ich gut nachvollziehen. Dieses Problem hatte ich bei JavaScript-Buildsystemen vor paar Monaten. Unglaublich, wie viel Konfigurationsarbeit du da teilweise brauchst. Und dann kommen ganz komische Fehlermeldungen. Aber die obigen Links klingen da hoffnungsvoller.Und da ich auch nur sporadisch mit meinen privaten Java-Projekten arbeite, fehlt mir auch die Muse wochenlang nach einer Lösung zu suchen.
Diese Argumentation ich nicht nachvollziehen. Könntest du das vielleicht ausführen?[...] dass es auf einen SAX parser zurückgreift. Denn der will doch eigentlich auch auf jaxb mit javax.xml zugreifen
package getnok;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"S_URL",
"SCLASS"
})
@XmlRootElement(name = "allInitValues")
public class AllInitValues {
@XmlElement(name = "S_URL")
public String S_URL;
@XmlElement(name = "SCLASS")
public String SCLASS;
public AllInitValues() {
}
}
package getnok;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
@XmlRegistry
public class ObjectFactory {
private final static QName _AllInitValues_QNAME = new QName("", "AllInitValues");
public ObjectFactory() {
}
public AllInitValues createAllInitValues() {
return new AllInitValues();
}
@XmlElementDecl(namespace = "", name = "AllInitValues")
public JAXBElement<AllInitValues> createAllInitValues(
AllInitValues value) {
return new JAXBElement<>(_AllInitValues_QNAME, AllInitValues.class, null, value);
}
}
package getnok;
import GreLib.FinanzHTMLBasis;
import GreLib.logging.HTMLLogTool;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Unmarshaller;
public class GetNOK implements FinanzHTMLBasis {
public static AllInitValues mAIV = new AllInitValues();
public final static String CNAME = "GetNOK";
public static String logName = CNAME;
public static HTMLLogTool htmlLogTool;
public static String mFILE_PFAD = System.getProperty("user.home") + "\\Ini_Files\\";
public static void main(String[] args) {
File xmlFile = new File(mFILE_PFAD + CNAME + ".xml");
try {
Unmarshaller unmarshaller = JAXBContext.newInstance(CNAME.toLowerCase())
.createUnmarshaller();
mAIV = (AllInitValues) unmarshaller.unmarshal(new FileReader(xmlFile));
} catch (JAXBException | FileNotFoundException e) {
htmlLogTool.htmlLogHandler.reportException(e, CNAME, -1, "Ohne", "unmarshal");
}
}