Hotfix package name
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
yoyosource 2022-09-25 12:04:17 +02:00
Ursprung 69c8ac3861
Commit 3da72831fe

Datei anzeigen

@ -65,13 +65,10 @@ public class LinkageProcessor extends AbstractProcessor {
public synchronized void init(ProcessingEnvironment processingEnv) { public synchronized void init(ProcessingEnvironment processingEnv) {
super.init(processingEnv); super.init(processingEnv);
String name = new File(System.getProperty("user.dir")).getName(); name = new File(System.getProperty("user.dir")).getName().replaceAll("[^a-zA-Z]", "").toLowerCase();
if (name.contains(".")) name = name.substring(0, name.indexOf('.'));
name = name.toLowerCase();
messager = processingEnv.getMessager(); messager = processingEnv.getMessager();
this.name = name;
packageName = "de.steamwar." + name + ".linkage"; packageName = "de.steamwar." + name + ".linkage";
className = "LinkageUtils"; className = "LinkageUtils";
mainClass(); mainClass();