Permalink
Browse files

Added an eclipse project and a way to generate a .classpath pointing …

…at the configured android.jar with the eclipse ant target.
  • Loading branch information...
1 parent 1083279 commit e225c1ec16286a7bb6adfd01e3bd85b273232b7f @jsankey committed Jul 4, 2012
Showing with 29 additions and 0 deletions.
  1. +7 −0 .classpath.template
  2. +17 −0 .project
  3. +5 −0 build.xml
View
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="lib" path="@android.jar@"/>
+ <classpathentry kind="output" path="build/classes"/>
+</classpath>
View
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>android-junit-report</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
View
@@ -14,6 +14,11 @@
<delete dir="${out.dir}"/>
</target>
+ <target name="eclipse">
+ <copy file=".classpath.template" tofile=".classpath"/>
+ <replace file=".classpath" token="@android.jar@" value="${android.jar}"/>
+ </target>
+
<target name="-init">
<mkdir dir="${out.dir}"/>
<mkdir dir="${classes.dir}"/>

0 comments on commit e225c1e

Please sign in to comment.