test-server/build.xml in calabash-android-0.2.0.pre7 vs test-server/build.xml in calabash-android-0.2.0.pre8
- old
+ new
@@ -108,10 +108,12 @@
<antcall target="-stage" />
<javac
srcdir="${staging.dir}/src"
destdir="${bin.dir}"
verbose="${verbose}"
+ source="1.6"
+ target="1.6"
bootclasspathref="android.target.classpath"
classpath="${extensible.classpath}"
classpathref="jar.libs.ref">
</javac>
</target>
@@ -176,16 +178,24 @@
</exec>
</target>
<target name ="-sign">
- <signjar
- jar="${test.app.unsigned}"
- signedjar="${test.app.signed}"
- keystore="${key.store}"
- storepass="${key.store.password}"
- alias="${key.alias}"
- keypass="${key.alias.password}"
- verbose="false"/>
+ <exec executable="jarsigner">
+ <arg value="-sigalg" />
+ <arg value="MD5withRSA" />
+ <arg value="-digestalg" />
+ <arg value="SHA1" />
+ <arg value="-signedjar" />
+ <arg file="${test.app.signed}" />
+ <arg value="-storepass" />
+ <arg value="${key.store.password}" />
+ <arg value="-keystore" />
+ <arg file="${key.store}" />
+
+ <arg file="${test.app.unsigned}" />
+ <arg value="${key.alias}" />
+
+ </exec>
</target>
</project>