diff --git a/plugins/android/README.TXT b/plugins/android/README.TXT
index f3981dafbd69854cf057179ba6ec42c2108cf56c..3fa01aef2dd94c8155945279a062639c80bb8132 100644
--- a/plugins/android/README.TXT
+++ b/plugins/android/README.TXT
@@ -48,6 +48,8 @@ HOW TO GENERATE
 $ ant compileall              ==> compile the strict necessary
 $ ant jar                     ==> generate the microalign.jar library
 $ ant zip                     ==> gerenate the malign.zip file with necessary jars
+$ ant testindep               ==> recompile the sources in isolation for testing independence
+$ ant clean                   ==> restore the initial state of this directory
 
 HOW TO USE
 ----------
diff --git a/plugins/android/build.xml b/plugins/android/build.xml
index e6cc89911a40e240d04728e74269a74a288c913d..ba24f084323a2f9b54860c23f96a4a615319ad46 100644
--- a/plugins/android/build.xml
+++ b/plugins/android/build.xml
@@ -88,6 +88,23 @@
     <filter token="VERS" value="${version}"/>
   </target>
 
+  <target name="testindep" depends="init">
+    <echo message="Testing ..."/>
+    <antcall target="clean"/>
+    <!-- copy to src only what is necessary -->
+    <copy todir="src">
+      <fileset refid="musrc"/>
+    </copy>
+    <!-- compile all with the restricted path -->
+    <mkdir dir="classes"/>
+    <property name="javacargs" value="-deprecation" />
+    <javac deprecation="yes" nowarn="no" verbose="no" srcdir="src" destdir="classes" encoding="iso8859-15">
+      <compilerarg value="${javacargs}"/>
+      <classpath refid="classpath"/>
+    </javac>
+    <antcall target="clean"/>
+  </target>
+
   <!-- tested -->
   <!-- JEoid: not even sure it is necessary to recompile
     the otherway would be to select these files from classes and to do
@@ -132,25 +149,7 @@
     <delete>
       <fileset dir="." includes="classes/**/*.class"/>
     </delete>
-    <antcall target="cleanjar"/>
-    <antcall target="jar"/>
-  </target>
-
-  <target name="testindep" depends="init">
-    <echo message="Testing ..."/>
-    <antcall target="clean"/>
-    <!-- copy to src only what is necessary -->
-    <copy todir="src">
-      <fileset refid="musrc"/>
-    </copy>
-    <!-- compile all with the restricted path -->
-    <mkdir dir="classes"/>
-    <property name="javacargs" value="-deprecation" />
-    <javac deprecation="yes" nowarn="no" verbose="no" srcdir="src" destdir="classes" encoding="iso8859-15">
-      <compilerarg value="${javacargs}"/>
-      <classpath refid="classpath"/>
-    </javac>
-    <antcall target="clean"/>
+    <antcall target="compile"/>
   </target>
 
   <!-- tested -->
@@ -175,6 +174,7 @@
       <fileset dir="classes" includes="fr/**/*.class"/>
       <fileset dir="classes" includes="LICENSE.TXT"/>
     </jar>
+    <delete dir="classes" />
   </target>
 
   <!-- tested -->
@@ -187,12 +187,6 @@
     </zip>
   </target>
 
-  <!-- tested -->
-  <target name="cleanjar" depends="init">
-    <echo message="Erasing..."/>
-    <delete file="lib/microalign.jar"/>
-  </target>
-
   <!-- tested -->
   <target name="clean">
     <echo message="Cleaning..."/>