bcel entfernen. pom.xml anlegen

This commit is contained in:
JanUlrich 2017-09-28 16:52:07 +02:00
parent db9298e383
commit d24b2fa7d6
60 changed files with 49 additions and 11 deletions

49
pom.xml Normal file
View File

@ -0,0 +1,49 @@
<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
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.dhbwstuttgart</groupId>
<artifactId>JavaTXcompiler</artifactId>
<packaging>jar</packaging>
<version>0.1</version>
<name>JavaTXcompiler</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4</artifactId>
<version>4.7</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>19.0</version>
</dependency>
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.11</version>
</dependency>
</dependencies>
<build>
<directory>target</directory>
<outputDirectory>target/classes</outputDirectory>
<finalName>${artifactId}-${version}</finalName>
<testOutputDirectory>target/test-classes</testOutputDirectory>
<sourceDirectory>src/</sourceDirectory>
<testSourceDirectory>test/</testSourceDirectory>
</build>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
</project>

0
src/de/dhbwstuttgart/core/ConsoleInterface.java Executable file → Normal file
View File

0
src/de/dhbwstuttgart/core/IItemWithOffset.java Executable file → Normal file
View File

View File

0
src/de/dhbwstuttgart/syntaxtree/ClassOrInterface.java Executable file → Normal file
View File

0
src/de/dhbwstuttgart/syntaxtree/ExceptionList.java Executable file → Normal file
View File

0
src/de/dhbwstuttgart/syntaxtree/FormalParameter.java Executable file → Normal file
View File

0
src/de/dhbwstuttgart/syntaxtree/GenericTypeVar.java Executable file → Normal file
View File

0
src/de/dhbwstuttgart/syntaxtree/Method.java Executable file → Normal file
View File

0
src/de/dhbwstuttgart/syntaxtree/ParameterList.java Executable file → Normal file
View File

0
src/de/dhbwstuttgart/syntaxtree/SourceFile.java Executable file → Normal file
View File

View File

0
src/de/dhbwstuttgart/syntaxtree/statement/Assign.java Executable file → Normal file
View File

0
src/de/dhbwstuttgart/syntaxtree/statement/Binary.java Executable file → Normal file
View File

View File

0
src/de/dhbwstuttgart/syntaxtree/statement/Block.java Executable file → Normal file
View File

View File

View File

View File

0
src/de/dhbwstuttgart/syntaxtree/statement/ForStmt.java Executable file → Normal file
View File

0
src/de/dhbwstuttgart/syntaxtree/statement/IfStmt.java Executable file → Normal file
View File

View File

View File

View File

View File

View File

@ -3,8 +3,6 @@ import java.util.Hashtable;
import java.util.Iterator; import java.util.Iterator;
import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.Token;
import org.apache.bcel.generic.ClassGen;
import org.apache.bcel.generic.InstructionList;

View File

View File

0
src/de/dhbwstuttgart/syntaxtree/statement/NotExpr.java Executable file → Normal file
View File

View File

View File

@ -3,8 +3,6 @@ import java.util.Hashtable;
import java.util.Iterator; import java.util.Iterator;
import de.dhbwstuttgart.parser.antlr.Java8Parser; import de.dhbwstuttgart.parser.antlr.Java8Parser;
import org.apache.bcel.generic.ClassGen;
import org.apache.bcel.generic.InstructionList;

View File

View File

@ -3,8 +3,6 @@ import java.util.Hashtable;
import java.util.Iterator; import java.util.Iterator;
import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.Token;
import org.apache.bcel.generic.ClassGen;
import org.apache.bcel.generic.InstructionList;

View File

View File

0
src/de/dhbwstuttgart/syntaxtree/statement/Return.java Executable file → Normal file
View File

View File

0
src/de/dhbwstuttgart/syntaxtree/statement/Super.java Executable file → Normal file
View File

View File

@ -4,10 +4,6 @@ import de.dhbwstuttgart.syntaxtree.StatementVisitor;
import de.dhbwstuttgart.syntaxtree.type.RefType; import de.dhbwstuttgart.syntaxtree.type.RefType;
import de.dhbwstuttgart.syntaxtree.type.Void; import de.dhbwstuttgart.syntaxtree.type.Void;
import org.antlr.v4.runtime.Token; import org.antlr.v4.runtime.Token;
import org.apache.bcel.Constants;
import org.apache.bcel.generic.InstructionFactory;
import org.apache.bcel.generic.InstructionHandle;
import org.apache.bcel.generic.InstructionList;
import de.dhbwstuttgart.syntaxtree.SyntaxTreeNode; import de.dhbwstuttgart.syntaxtree.SyntaxTreeNode;

0
src/de/dhbwstuttgart/syntaxtree/statement/This.java Executable file → Normal file
View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

0
src/de/dhbwstuttgart/syntaxtree/type/FunN.java Executable file → Normal file
View File

View File

0
src/de/dhbwstuttgart/syntaxtree/type/RefType.java Executable file → Normal file
View File

View File

View File

0
src/de/dhbwstuttgart/syntaxtree/type/Void.java Executable file → Normal file
View File

0
src/de/dhbwstuttgart/syntaxtree/type/WildcardType.java Executable file → Normal file
View File

View File

@ -29,7 +29,6 @@ public class JavaTXCompilerTest {
public JavaTXCompilerTest(){ public JavaTXCompilerTest(){
} }
@Test
public void test() throws IOException, java.lang.ClassNotFoundException { public void test() throws IOException, java.lang.ClassNotFoundException {
if(fileToTest != null)filesToTest.add(fileToTest); if(fileToTest != null)filesToTest.add(fileToTest);
//filesToTest.add(new File(rootDirectory+"Faculty.jav")); //filesToTest.add(new File(rootDirectory+"Faculty.jav"));