Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Update build and add Eclipse project for easy getting-started
Browse files Browse the repository at this point in the history
  • Loading branch information
roscopeco committed Jun 21, 2018
1 parent 11a398c commit e824c0c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
18 changes: 10 additions & 8 deletions .classpath
@@ -1,16 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin/main" path="src"/>
<classpathentry kind="src" output="bin/main" path="gen_src"/>
<classpathentry kind="src" output="bin/test" path="test"/>
<classpathentry kind="src" path="gen_src"/>
<classpathentry kind="src" output="bin/test" path="jartest"/>
<classpathentry kind="lib" path="lib/antlr-runtime-3.4.jar"/>
<classpathentry kind="lib" path="lib/dex-reader-1.10.jar"/>
<classpathentry kind="lib" path="lib/powermock-mockito-1.4.12-full.jar"/>
<classpathentry kind="lib" path="lib/javassist-3.16.1-GA.jar"/>
<classpathentry kind="lib" path="lib/mockito-all-1.9.0.jar"/>
<classpathentry kind="lib" path="lib/dexmaker-1.0.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="lib/cglib-nodep-2.2.2.jar"/>
<classpathentry kind="lib" path="lib/hamcrest-core-1.3.jar"/>
<classpathentry kind="lib" path="lib/javassist-3.21.0-GA.jar"/>
<classpathentry kind="lib" path="lib/junit-4.12.jar"/>
<classpathentry kind="lib" path="lib/objenesis-2.4.jar"/>
<classpathentry kind="lib" path="lib/mockito-core-1.10.19.jar"/>
<classpathentry kind="lib" path="lib/powermock-mockito-1.7.1-full.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/dexmaker-1.0.jar"/>
<classpathentry kind="output" path="bin/main"/>
</classpath>
7 changes: 7 additions & 0 deletions .project
Expand Up @@ -20,4 +20,11 @@
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.deved.antlride.core.nature</nature>
</natures>
<linkedResources>
<link>
<name>main</name>
<type>2</type>
<locationURI>bin/main</locationURI>
</link>
</linkedResources>
</projectDescription>
4 changes: 2 additions & 2 deletions build.xml
Expand Up @@ -47,7 +47,7 @@
</target>

<target name="compile-main" description="Compile the main code" depends="_make-bindirs, generate-parser">
<javac destdir="${main.classes.dir}" includeantruntime="false" source="1.6" target="1.6">
<javac destdir="${main.classes.dir}" includeantruntime="false" source="1.8" target="1.8">
<src path="${main.src.dir}"/>
<src path="${gen.src.dir}"/>
<classpath path="${lib.dir}/antlr-runtime-3.4.jar:${lib.dir}/dexmaker-1.0.jar"/>
Expand Down Expand Up @@ -80,7 +80,7 @@
<target name="compile" description="Compile all code" depends="compile-main, compile-tests, compile-jartests"/>
<target name="test" description="Run JUnit4 tests" depends="compile-tests">
<junit printsummary="true" fork="true" haltonfailure="on" showoutput="on">
<jvmarg value="-XX:-UseSplitVerifier"/>
<formatter type="plain" usefile="false" />
<classpath>
<pathelement location="${main.classes.dir}"/>
<pathelement location="${test.classes.dir}"/>
Expand Down

0 comments on commit e824c0c

Please sign in to comment.