bcel entfernen. pom.xml anlegen
This commit is contained in:
parent
db9298e383
commit
d24b2fa7d6
49
pom.xml
Normal file
49
pom.xml
Normal 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
0
src/de/dhbwstuttgart/core/ConsoleInterface.java
Executable file → Normal file
0
src/de/dhbwstuttgart/core/IItemWithOffset.java
Executable file → Normal file
0
src/de/dhbwstuttgart/core/IItemWithOffset.java
Executable file → Normal file
0
src/de/dhbwstuttgart/exceptions/TypeinferenceException.java
Executable file → Normal file
0
src/de/dhbwstuttgart/exceptions/TypeinferenceException.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/ClassOrInterface.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/ClassOrInterface.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/ExceptionList.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/ExceptionList.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/FormalParameter.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/FormalParameter.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/GenericTypeVar.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/GenericTypeVar.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/Method.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/Method.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/ParameterList.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/ParameterList.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/SourceFile.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/SourceFile.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/ArgumentList.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/ArgumentList.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Assign.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Assign.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Binary.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Binary.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/BinaryExpr.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/BinaryExpr.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Block.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Block.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/CastExpr.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/CastExpr.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/EmptyStmt.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/EmptyStmt.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Expression.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Expression.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/ForStmt.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/ForStmt.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/IfStmt.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/IfStmt.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/InstanceOf.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/InstanceOf.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/LambdaExpression.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/LambdaExpression.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/LocalVarDecl.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/LocalVarDecl.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/MethodCall.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/MethodCall.java
Executable file → Normal file
2
src/de/dhbwstuttgart/syntaxtree/statement/NegativeExpr.java
Executable file → Normal file
2
src/de/dhbwstuttgart/syntaxtree/statement/NegativeExpr.java
Executable file → Normal file
@ -3,8 +3,6 @@ import java.util.Hashtable;
|
||||
import java.util.Iterator;
|
||||
|
||||
import org.antlr.v4.runtime.Token;
|
||||
import org.apache.bcel.generic.ClassGen;
|
||||
import org.apache.bcel.generic.InstructionList;
|
||||
|
||||
|
||||
|
||||
|
0
src/de/dhbwstuttgart/syntaxtree/statement/NewArray.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/NewArray.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/NewClass.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/NewClass.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/NotExpr.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/NotExpr.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/PositivExpr.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/PositivExpr.java
Executable file → Normal file
2
src/de/dhbwstuttgart/syntaxtree/statement/PostDecExpr.java
Executable file → Normal file
2
src/de/dhbwstuttgart/syntaxtree/statement/PostDecExpr.java
Executable file → Normal file
@ -3,8 +3,6 @@ import java.util.Hashtable;
|
||||
import java.util.Iterator;
|
||||
|
||||
import de.dhbwstuttgart.parser.antlr.Java8Parser;
|
||||
import org.apache.bcel.generic.ClassGen;
|
||||
import org.apache.bcel.generic.InstructionList;
|
||||
|
||||
|
||||
|
||||
|
0
src/de/dhbwstuttgart/syntaxtree/statement/PostIncExpr.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/PostIncExpr.java
Executable file → Normal file
2
src/de/dhbwstuttgart/syntaxtree/statement/PreDecExpr.java
Executable file → Normal file
2
src/de/dhbwstuttgart/syntaxtree/statement/PreDecExpr.java
Executable file → Normal file
@ -3,8 +3,6 @@ import java.util.Hashtable;
|
||||
import java.util.Iterator;
|
||||
|
||||
import org.antlr.v4.runtime.Token;
|
||||
import org.apache.bcel.generic.ClassGen;
|
||||
import org.apache.bcel.generic.InstructionList;
|
||||
|
||||
|
||||
|
||||
|
0
src/de/dhbwstuttgart/syntaxtree/statement/PreIncExpr.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/PreIncExpr.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Receiver.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Receiver.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Return.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Return.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Statement.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Statement.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Super.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/Super.java
Executable file → Normal file
@ -4,10 +4,6 @@ import de.dhbwstuttgart.syntaxtree.StatementVisitor;
|
||||
import de.dhbwstuttgart.syntaxtree.type.RefType;
|
||||
import de.dhbwstuttgart.syntaxtree.type.Void;
|
||||
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;
|
||||
|
||||
|
0
src/de/dhbwstuttgart/syntaxtree/statement/This.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/This.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/UnaryExpr.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/UnaryExpr.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/UnaryMinus.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/UnaryMinus.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/UnaryNot.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/UnaryNot.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/UnaryPlus.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/UnaryPlus.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/WhileStmt.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/WhileStmt.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/literal/BoolLiteral.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/literal/BoolLiteral.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/literal/CharLiteral.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/literal/CharLiteral.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/literal/Literal.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/literal/Literal.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/literal/Null.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/literal/Null.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/literal/NumberLiteral.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/literal/NumberLiteral.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/literal/StringLiteral.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/statement/literal/StringLiteral.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/ExtendsWildcardType.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/ExtendsWildcardType.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/FunN.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/FunN.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/GenericRefType.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/GenericRefType.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/RefType.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/RefType.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/SuperWildcardType.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/SuperWildcardType.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/TypePlaceholder.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/TypePlaceholder.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/Void.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/Void.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/WildcardType.java
Executable file → Normal file
0
src/de/dhbwstuttgart/syntaxtree/type/WildcardType.java
Executable file → Normal file
@ -29,7 +29,6 @@ public class JavaTXCompilerTest {
|
||||
public JavaTXCompilerTest(){
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test() throws IOException, java.lang.ClassNotFoundException {
|
||||
if(fileToTest != null)filesToTest.add(fileToTest);
|
||||
//filesToTest.add(new File(rootDirectory+"Faculty.jav"));
|
||||
|
Loading…
Reference in New Issue
Block a user