NX01: Tested x4o-driver module for later
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 54s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 54s
This commit is contained in:
parent
11084d3d94
commit
441d764f39
19 changed files with 177 additions and 45 deletions
39
nx01-x4o-driver/module-info-test-m2e.java
Normal file
39
nx01-x4o-driver/module-info-test-m2e.java
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/// The NX01 x4o-driver module.
|
||||
///
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
open module ᣕᕁᐤᣳ.ᕽᙾᐤ.ᒄᣗᑊᘁᓫᣗ.ᐪᓫᔆᐪ {
|
||||
requires transitive ᣕᕁᐤᣳ.ᕽᙾᐤ.ᒄᣗᑊᘁᓫᣗ;
|
||||
requires java.desktop;
|
||||
//requires org.junit.jupiter.engine;
|
||||
//requires org.junit.jupiter.api;
|
||||
|
||||
// exports org.x4o.xml.test;
|
||||
}
|
||||
59
nx01-x4o-driver/module-info.java
Normal file
59
nx01-x4o-driver/module-info.java
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/// The NX01 x4o-driver module.
|
||||
///
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
open module ᣕᕁᐤᣳ.ᕽᙾᐤ.ᒄᣗᑊᘁᓫᣗ {
|
||||
// TODO: if driver is module than ClassLoader.getResources from /META-INF/* don't work anymore
|
||||
|
||||
requires transitive ᣕᕁᐤᣳ.ᕽᙾᐤ.ᔆᣔᕽᕀᕀᕀ;
|
||||
requires transitive ᣕᕁᐤᣳ.ᕽᙾᐤ.ᔿᣔᑊᔆᒄᐤᒼ;
|
||||
requires transitive ᣕᕁᐤᣳ.ᕽᙾᐤ.ᣘᒼᣳᔥ;
|
||||
requires transitive java.logging;
|
||||
requires transitive org.apache.tomcat.jasper.el;
|
||||
|
||||
// TEMP for tests only
|
||||
requires java.desktop;
|
||||
|
||||
exports org.x4o.xml;
|
||||
exports org.x4o.xml.conv;
|
||||
exports org.x4o.xml.conv.text;
|
||||
exports org.x4o.xml.el;
|
||||
exports org.x4o.xml.eld;
|
||||
exports org.x4o.xml.eld.doc;
|
||||
exports org.x4o.xml.eld.lang;
|
||||
exports org.x4o.xml.eld.xsd;
|
||||
exports org.x4o.xml.element;
|
||||
exports org.x4o.xml.io;
|
||||
exports org.x4o.xml.lang;
|
||||
exports org.x4o.xml.lang.meta;
|
||||
exports org.x4o.xml.lang.phase;
|
||||
exports org.x4o.xml.lang.task;
|
||||
exports org.x4o.xml.lang.task.run;
|
||||
}
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat</groupId>
|
||||
<artifactId>jasper-el</artifactId>
|
||||
<artifactId>tomcat-jasper-el</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
|
|
|
|||
|
|
@ -24,15 +24,15 @@ package org.x4o.xml.el;
|
|||
|
||||
import java.util.HashMap;
|
||||
|
||||
import javax.el.ArrayELResolver;
|
||||
import javax.el.BeanELResolver;
|
||||
import javax.el.CompositeELResolver;
|
||||
import javax.el.ELContext;
|
||||
import javax.el.ELResolver;
|
||||
import javax.el.FunctionMapper;
|
||||
import javax.el.ListELResolver;
|
||||
import javax.el.MapELResolver;
|
||||
import javax.el.VariableMapper;
|
||||
import jakarta.el.ArrayELResolver;
|
||||
import jakarta.el.BeanELResolver;
|
||||
import jakarta.el.CompositeELResolver;
|
||||
import jakarta.el.ELContext;
|
||||
import jakarta.el.ELResolver;
|
||||
import jakarta.el.FunctionMapper;
|
||||
import jakarta.el.ListELResolver;
|
||||
import jakarta.el.MapELResolver;
|
||||
import jakarta.el.VariableMapper;
|
||||
|
||||
/**
|
||||
* X4OELFunctionMapper simple EL context.
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import java.lang.reflect.Modifier;
|
|||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.el.FunctionMapper;
|
||||
import jakarta.el.FunctionMapper;
|
||||
|
||||
/**
|
||||
* X4OELFunctionMapper simple EL function mapper.
|
||||
|
|
|
|||
|
|
@ -25,9 +25,9 @@ package org.x4o.xml.el;
|
|||
import java.util.Iterator;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.el.ELContext;
|
||||
import javax.el.ELResolver;
|
||||
import javax.el.MapELResolver;
|
||||
import jakarta.el.ELContext;
|
||||
import jakarta.el.ELResolver;
|
||||
import jakarta.el.MapELResolver;
|
||||
|
||||
/**
|
||||
* X4OELResolver simple EL resolver.
|
||||
|
|
@ -75,12 +75,12 @@ public class X4OELResolver extends ELResolver {
|
|||
return delegate.getCommonPropertyType(context, base);
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
public Iterator getFeatureDescriptors(ELContext context, Object base) {
|
||||
base = checkBase(base);
|
||||
return delegate.getFeatureDescriptors(context, base);
|
||||
}
|
||||
// @Override
|
||||
// @SuppressWarnings({ "rawtypes", "unchecked" })
|
||||
// public Iterator getFeatureDescriptors(ELContext context, Object base) {
|
||||
// base = checkBase(base);
|
||||
// return delegate.getFeatureDescriptors(context, base);
|
||||
// }
|
||||
|
||||
@Override
|
||||
public Class<?> getType(ELContext context, Object base, Object property) {
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@ package org.x4o.xml.el;
|
|||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.el.ValueExpression;
|
||||
import javax.el.VariableMapper;
|
||||
import jakarta.el.ValueExpression;
|
||||
import jakarta.el.VariableMapper;
|
||||
|
||||
/**
|
||||
* X4OELVariableMapper simple EL variable mapper.
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@
|
|||
*/
|
||||
package org.x4o.xml.el;
|
||||
|
||||
import javax.el.ELContext;
|
||||
import javax.el.ExpressionFactory;
|
||||
import jakarta.el.ELContext;
|
||||
import jakarta.el.ExpressionFactory;
|
||||
|
||||
import org.x4o.xml.lang.X4OLanguageClassLoader;
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ package org.x4o.xml.eld;
|
|||
import java.io.IOException;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import javax.el.ValueExpression;
|
||||
import jakarta.el.ValueExpression;
|
||||
|
||||
import org.x4o.xml.X4ODriver;
|
||||
import org.x4o.xml.X4ODriverManager;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ package org.x4o.xml.element;
|
|||
import java.util.Locale;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import javax.el.ValueExpression;
|
||||
import jakarta.el.ValueExpression;
|
||||
|
||||
import org.x4o.xml.conv.ObjectConverterException;
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import java.util.HashMap;
|
|||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
||||
import javax.el.ValueExpression;
|
||||
import jakarta.el.ValueExpression;
|
||||
import javax.xml.parsers.ParserConfigurationException;
|
||||
|
||||
import org.x4o.sax3.io.ContentWriter;
|
||||
|
|
|
|||
|
|
@ -28,8 +28,8 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import javax.el.ELContext;
|
||||
import javax.el.ExpressionFactory;
|
||||
import jakarta.el.ELContext;
|
||||
import jakarta.el.ExpressionFactory;
|
||||
|
||||
import org.x4o.xml.element.Element;
|
||||
import org.x4o.xml.element.ElementAttributeValueParser;
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ package org.x4o.xml.lang;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import javax.el.ELContext;
|
||||
import javax.el.ExpressionFactory;
|
||||
import jakarta.el.ELContext;
|
||||
import jakarta.el.ExpressionFactory;
|
||||
|
||||
import org.x4o.xml.element.Element;
|
||||
import org.x4o.xml.element.ElementAttributeValueParser;
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ package org.x4o.xml.lang;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import javax.el.ELContext;
|
||||
import javax.el.ExpressionFactory;
|
||||
import jakarta.el.ELContext;
|
||||
import jakarta.el.ExpressionFactory;
|
||||
|
||||
import org.x4o.xml.element.ElementAttributeValueParser;
|
||||
import org.x4o.xml.element.ElementObjectPropertyValue;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ package org.x4o.xml.lang.meta;
|
|||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import javax.el.ValueExpression;
|
||||
import jakarta.el.ValueExpression;
|
||||
|
||||
import org.x4o.xml.element.AbstractElementNamespaceAttribute;
|
||||
import org.x4o.xml.element.Element;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ package org.x4o.xml.lang.meta;
|
|||
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import javax.el.ValueExpression;
|
||||
import jakarta.el.ValueExpression;
|
||||
|
||||
import org.x4o.xml.element.AbstractElement;
|
||||
import org.x4o.xml.element.ElementException;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ package org.x4o.xml.test.swixml;
|
|||
|
||||
import java.awt.Component;
|
||||
|
||||
import javax.el.ValueExpression;
|
||||
import jakarta.el.ValueExpression;
|
||||
|
||||
import org.x4o.xml.X4ODriver;
|
||||
import org.x4o.xml.X4ODriverManager;
|
||||
|
|
|
|||
39
nx01-x4o-maisdoc/src/main/java/module-info.java
Normal file
39
nx01-x4o-maisdoc/src/main/java/module-info.java
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/// The NX01 x4o-maisdoc module.
|
||||
///
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
module ᣕᕁᐤᣳ.ᕽᙾᐤ.ᔿᣔᑊᔆᒄᐤᒼ {
|
||||
requires transitive ᣕᕁᐤᣳ.ᕽᙾᐤ.ᔆᣔᕽᕀᕀᕀ;
|
||||
requires transitive java.logging;
|
||||
|
||||
exports org.x4o.maisdoc;
|
||||
exports org.x4o.maisdoc.flake;
|
||||
exports org.x4o.maisdoc.model;
|
||||
}
|
||||
13
pom.xml
13
pom.xml
|
|
@ -72,7 +72,7 @@
|
|||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter</artifactId>
|
||||
<version>5.11.0-M1</version>
|
||||
<version>6.0.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>ch.qos.logback</groupId>
|
||||
|
|
@ -191,13 +191,8 @@
|
|||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.tomcat</groupId>
|
||||
<artifactId>jasper-el</artifactId>
|
||||
<version>6.0.53</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>de.odysseus.juel</groupId>
|
||||
<artifactId>juel</artifactId>
|
||||
<version>2.1.0</version>
|
||||
<artifactId>tomcat-jasper-el</artifactId>
|
||||
<version>11.0.20</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.ant</groupId>
|
||||
|
|
@ -562,7 +557,7 @@
|
|||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>3.5.4</version>
|
||||
<version>3.5.5</version>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue