forked from JavaTX/JavaCompilerCore
Compare commits
4 Commits
performanc
...
matrixTest
Author | SHA1 | Date | |
---|---|---|---|
|
890f64c813 | ||
|
5aadb7545e | ||
|
0c0ac61a02 | ||
|
46192e3fd3 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,6 +1,5 @@
|
||||
CVS
|
||||
bin
|
||||
*.class
|
||||
*.log
|
||||
|
||||
# Mobile Tools for Java (J2ME)
|
||||
@@ -15,11 +14,9 @@ bin
|
||||
.classpath
|
||||
*.iml
|
||||
.idea/
|
||||
/target/
|
||||
.DS_Store
|
||||
.project
|
||||
.settings/
|
||||
/target/
|
||||
|
||||
#
|
||||
manually/
|
||||
|
4
pom.xml
4
pom.xml
@@ -54,8 +54,8 @@ http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<version>3.8.0</version>
|
||||
<configuration>
|
||||
<compilerArgs>--enable-preview</compilerArgs>
|
||||
<source>19</source>
|
||||
<target>19</target>
|
||||
<source>21</source>
|
||||
<target>21</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
@@ -88,7 +88,8 @@ public class JavaTXCompiler {
|
||||
this(sourceFiles, null);
|
||||
}
|
||||
public JavaTXCompiler(List<File> sources, List<File> contextPath) throws IOException, ClassNotFoundException {
|
||||
statistics = new FileWriter(new File(System.getProperty("user.dir") + "/" + sources.get(0).getName() + "_"+ new Timestamp(System.currentTimeMillis())));
|
||||
//statistics = new FileWriter(new File(System.getProperty("user.dir") + "/" + sources.get(0).getName() + "_"+ new Timestamp(System.currentTimeMillis())));
|
||||
statistics = new OutputStreamWriter(new NullOutputStream());
|
||||
statistics.write("test");
|
||||
if(contextPath == null || contextPath.isEmpty()){
|
||||
//When no contextPaths are given, the working directory is the sources root
|
||||
|
24
src/test/resources/log4jTesting.xml
Normal file
24
src/test/resources/log4jTesting.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
|
||||
|
||||
<log4j:configuration xmlns:log4j='http://jakarta.apache.org/log4j/'>
|
||||
|
||||
<appender name="CONSOLE" class="de.dhbwstuttgart.logger.ConsoleAppender">
|
||||
<param name="Target" value="System.out"/>
|
||||
|
||||
<layout class="de.dhbwstuttgart.logger.PatternLayout">
|
||||
<param name="ConversionPattern" value="%-15C{1} %-5p [%-9c] %m%n"/>
|
||||
</layout>
|
||||
</appender>
|
||||
|
||||
<logger name="trtest">
|
||||
<level value="DEBUG"/>
|
||||
<appender-ref ref="CONSOLE"/>
|
||||
</logger>
|
||||
|
||||
<logger name="funcTest">
|
||||
<level value="DEBUG"/>
|
||||
<appender-ref ref="CONSOLE"/>
|
||||
</logger>
|
||||
|
||||
</log4j:configuration>
|
BIN
src/test/resources/target/AA.class
Normal file
BIN
src/test/resources/target/AA.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/Arithmetic.class
Normal file
BIN
src/test/resources/target/Arithmetic.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/ArithmeticConvert.class
Normal file
BIN
src/test/resources/target/ArithmeticConvert.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/Conditional.class
Normal file
BIN
src/test/resources/target/Conditional.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/Empty.class
Normal file
BIN
src/test/resources/target/Empty.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/For.class
Normal file
BIN
src/test/resources/target/For.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/GreaterEqual.class
Normal file
BIN
src/test/resources/target/GreaterEqual.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/GreaterThan.class
Normal file
BIN
src/test/resources/target/GreaterThan.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/HelloWorld.class
Normal file
BIN
src/test/resources/target/HelloWorld.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/IfStmt.class
Normal file
BIN
src/test/resources/target/IfStmt.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/LessEqual.class
Normal file
BIN
src/test/resources/target/LessEqual.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/LessThan.class
Normal file
BIN
src/test/resources/target/LessThan.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/Matrix.class
Normal file
BIN
src/test/resources/target/Matrix.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/New.class
Normal file
BIN
src/test/resources/target/New.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/OL.class
Normal file
BIN
src/test/resources/target/OL.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/OLMain.class
Normal file
BIN
src/test/resources/target/OLMain.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/Overloading.class
Normal file
BIN
src/test/resources/target/Overloading.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/Overloading2.class
Normal file
BIN
src/test/resources/target/Overloading2.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/Point.class
Normal file
BIN
src/test/resources/target/Point.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/PostIncDec.class
Normal file
BIN
src/test/resources/target/PostIncDec.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/PreInc.class
Normal file
BIN
src/test/resources/target/PreInc.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/Put.class
Normal file
BIN
src/test/resources/target/Put.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/Scalar.class
Normal file
BIN
src/test/resources/target/Scalar.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/Sorting.class
Normal file
BIN
src/test/resources/target/Sorting.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/Unary.class
Normal file
BIN
src/test/resources/target/Unary.class
Normal file
Binary file not shown.
BIN
src/test/resources/target/While.class
Normal file
BIN
src/test/resources/target/While.class
Normal file
Binary file not shown.
Reference in New Issue
Block a user