new file: OLTest.txt

new file:   UseOLMain.java
Test für die ComandLine-Version
This commit is contained in:
pl@gohorb.ba-horb.de 2020-01-21 14:34:09 +01:00
parent bf80361c1f
commit 8ec1c5148b
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,6 @@
java -jar ~/eclipse-workspace/JavaCompilerCore/target/JavaTXcompiler-0.2-jar-with-dependencies.jar de/test/OL.jav -d de/test/output
java -jar ~/eclipse-workspace/JavaCompilerCore/target/JavaTXcompiler-0.2-jar-with-dependencies.jar OLextends.jav -cp de/test/output
java -jar ~/eclipse-workspace/JavaCompilerCore/target/JavaTXcompiler-0.2-jar-with-dependencies.jar OLMain.jav -cp .:de/test/output
javac UseOLMain.java
java -cp .:de/test/output UseOLMain
rm -f UseOLMain.class

View File

@ -0,0 +1,5 @@
class UseOLMain {
public static void main(String[] arg) {
System.out.println(new OLMain().main(1+1));
}
}