NX01: Fixed M2E build cycle into normal maven style compile
This commit is contained in:
parent
c34b7694c5
commit
2395cd1f1f
14 changed files with 76 additions and 59 deletions
|
|
@ -19,7 +19,7 @@
|
|||
</dependency>
|
||||
<dependency>
|
||||
<groupId>love.distributedrebirth.nx01</groupId>
|
||||
<artifactId>nx01-kode-gen</artifactId>
|
||||
<artifactId>nx01-kode-gen-nether</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
|
|
|||
|
|
@ -1,33 +0,0 @@
|
|||
/*
|
||||
* 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 nether tone tree slug index.
|
||||
/// @author للَّٰهِilLצسُو
|
||||
/// @version ©Δ∞ 仙上主天
|
||||
open module jpp.nether.dial.based {
|
||||
requires transitive jpp.nether.tone;
|
||||
}
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
</dependency>
|
||||
<dependency>
|
||||
<groupId>love.distributedrebirth.nx01</groupId>
|
||||
<artifactId>nx01-kode-gen</artifactId>
|
||||
<artifactId>nx01-kode-gen-nether</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
ᒢᐩᐩ.ᣕᓫᐪᑋᓫᣗ.ᒄᑊᣔᒻ.ᒻᑊᣕᕐᓑᣔ.ModelDialLingua
|
||||
|
|
@ -1 +0,0 @@
|
|||
ᒢᐩᐩ.ᣕᓫᐪᑋᓫᣗ.ᐪᐤᣕᓫ.ModelNetherTones
|
||||
25
nx01-kode-gen-nether/pom.xml
Normal file
25
nx01-kode-gen-nether/pom.xml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>love.distributedrebirth.nx01</groupId>
|
||||
<artifactId>nx01</artifactId>
|
||||
<version>5786.SHEVAT〄.1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>nx01-kode-gen-nether</artifactId>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>love.distributedrebirth.nx01</groupId>
|
||||
<artifactId>nx01-kode-gen</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>love.distributedrebirth.nx01</groupId>
|
||||
<artifactId>nx01-jpp-nether-tone</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
@ -25,11 +25,12 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᣕᓫᐪᑋᓫᣗ.ᒄᑊᣔᒻ.ᒃᣔᔆᓫᒄ;
|
||||
package love.distributedrebirth.nx01.kode.generator.nether;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import love.distributedrebirth.nx01.kode.generator.KodeGenModel;
|
||||
import love.distributedrebirth.nx01.kode.generator.klass.ModelKlass;
|
||||
import love.distributedrebirth.nx01.kode.generator.klass.ModelKlassWriter;
|
||||
|
||||
/// Generated the nether based interface tree forest.
|
||||
|
|
@ -47,10 +48,27 @@ public class ModelDialBased implements KodeGenModel {
|
|||
|
||||
@Override
|
||||
public String generatorModelHash() {
|
||||
return "1";
|
||||
return "2";
|
||||
}
|
||||
|
||||
@Override
|
||||
public void buildModels(ModelKlassWriter writer) throws IOException {
|
||||
buildModuleInfo(writer);
|
||||
}
|
||||
|
||||
private void buildModuleInfo(ModelKlassWriter writer) {
|
||||
ModelKlass klass = new ModelKlass("", "module-info");
|
||||
klass.addJavaDescription("The nether tone tree slug index.");
|
||||
writer.addModelKlass(klass);
|
||||
StringBuilder buf = klass.getBody();
|
||||
buf.append("module jpp.nether.dial.based {\n");
|
||||
buf.append("\trequires transitive jpp.nether.tone;\n");
|
||||
buf.append("\t\n");
|
||||
// for (String pack : splitSlugs.keySet()) {
|
||||
// buf.append("\texports ");
|
||||
// buf.append(BASE_PACK + "." + pack);
|
||||
// buf.append(";\n");
|
||||
// }
|
||||
buf.append("}\n");
|
||||
}
|
||||
}
|
||||
|
|
@ -25,19 +25,18 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᣕᓫᐪᑋᓫᣗ.ᒄᑊᣔᒻ.ᒻᑊᣕᕐᓑᣔ;
|
||||
package love.distributedrebirth.nx01.kode.generator.nether;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.FileSystems;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.io.InputStreamReader;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Comparator;
|
||||
import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import love.distributedrebirth.nx01.kode.generator.KodeGenModel;
|
||||
import love.distributedrebirth.nx01.kode.generator.klass.ModelKlass;
|
||||
|
|
@ -264,19 +263,14 @@ public class ModelDialLingua implements KodeGenModel {
|
|||
|
||||
private List<String> loadLinguaEntries() throws IOException {
|
||||
List<String> ext = new ArrayList<>();
|
||||
Path path = FileSystems.getDefault().getPath("src/test/resources", "lingua-lines.txt");
|
||||
List<String> lines = Files.lines(path).collect(Collectors.toList());
|
||||
ext.addAll(lines); // 00-99 (decimals but used as hex thus 0x99 = 153)
|
||||
|
||||
try (BufferedReader reader = new BufferedReader(new InputStreamReader(getClass().getClassLoader().getResourceAsStream("lingua-lines.txt"), StandardCharsets.UTF_8))) {
|
||||
ext.addAll(reader.lines().toList());
|
||||
}
|
||||
ext.add("52-ACB-aed+ Amersfoorts");
|
||||
ext.add("52-ACB-aee+ Spaokenburgs");
|
||||
ext.add("12-AAC-eaj+ Native Hiero");
|
||||
ext.add("12-AAB-abe+ Hinarī");
|
||||
|
||||
// Done manual, as this should be 1FF(512) to align 9b slug part
|
||||
//ext.add("FF= Internal voidzone");
|
||||
//ext.add("FF-ZZZ-zzz Undefined rootzone");
|
||||
|
||||
ext.sort(new Comparator<String>() {
|
||||
@Override
|
||||
public int compare(String arg0, String arg1) {
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
love.distributedrebirth.nx01.kode.generator.nether.ModelDialLingua
|
||||
love.distributedrebirth.nx01.kode.generator.nether.ModelDialBased
|
||||
|
|
@ -7,4 +7,11 @@
|
|||
<version>5786.SHEVAT〄.1-SNAPSHOT</version>
|
||||
</parent>
|
||||
<artifactId>nx01-kode-gen</artifactId>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
<artifactId>junit-jupiter</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
@ -25,13 +25,12 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᣕᓫᐪᑋᓫᣗ.ᐪᐤᣕᓫ;
|
||||
package love.distributedrebirth.nx01.kode.generator;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Iterator;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
import love.distributedrebirth.nx01.kode.generator.KodeGenModel;
|
||||
import love.distributedrebirth.nx01.kode.generator.klass.ModelKlass;
|
||||
import love.distributedrebirth.nx01.kode.generator.klass.ModelKlassWriter;
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
love.distributedrebirth.nx01.kode.generator.ModelNetherTones
|
||||
16
pom.xml
16
pom.xml
|
|
@ -33,6 +33,7 @@
|
|||
<module>nx01-king-java3doc</module>
|
||||
<module>nx01-king-java3seed</module>
|
||||
<module>nx01-kode-gen</module>
|
||||
<module>nx01-kode-gen-nether</module>
|
||||
<module>nx01-mushroom-mais</module>
|
||||
<module>nx01-mushroom-mais-duytsdoc</module>
|
||||
<module>nx01-mushroom-mais-fc18</module>
|
||||
|
|
@ -259,11 +260,6 @@
|
|||
<artifactId>nx01-jpp-base</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>love.distributedrebirth.nx01</groupId>
|
||||
<artifactId>nx01-jpp-nether-tone</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>love.distributedrebirth.nx01</groupId>
|
||||
<artifactId>nx01-jpp-nether-dial-based</artifactId>
|
||||
|
|
@ -274,6 +270,11 @@
|
|||
<artifactId>nx01-jpp-nether-dial-lingua</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>love.distributedrebirth.nx01</groupId>
|
||||
<artifactId>nx01-jpp-nether-tone</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>love.distributedrebirth.nx01</groupId>
|
||||
<artifactId>nx01-king-java3</artifactId>
|
||||
|
|
@ -304,6 +305,11 @@
|
|||
<artifactId>nx01-kode-gen</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>love.distributedrebirth.nx01</groupId>
|
||||
<artifactId>nx01-kode-gen-nether</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>love.distributedrebirth.nx01</groupId>
|
||||
<artifactId>nx01-mushroom-mais</artifactId>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue