com.plantuml.api.cheerpj.v1.RunInit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package com.plantuml.api.cheerpj.v1;
import java.io.IOException;
import com.plantuml.api.cheerpj.StaticMemory;
import net.sourceforge.plantuml.version.Version;
public class RunInit {
public static void main(String[] argsArray) throws IOException {
if (argsArray.length > 0)
StaticMemory.cheerpjPath = argsArray[0];
if (argsArray.length > 1)
StaticMemory.elementIdDebugJava = argsArray[1];
if (StaticMemory.cheerpjPath.endsWith("/") == false)
StaticMemory.cheerpjPath = StaticMemory.cheerpjPath + "/";
System.err.print("PlantUML Version: " + Version.versionString());
System.err.print("Init ok. cheerpjPath is " + StaticMemory.cheerpjPath);
if (StaticMemory.elementIdDebugJava != null)
System.err.print("I will echo debug message to element id " + StaticMemory.elementIdDebugJava);
}
}