revert-dabc3590
Nirothipan 8 years ago
parent 9a2fe3cfb1
commit eccad44dff

@ -66,7 +66,6 @@ public class TryIt {
osSuffix = System.getProperty(Constants.OS_NAME_PROPERTY).toLowerCase(); osSuffix = System.getProperty(Constants.OS_NAME_PROPERTY).toLowerCase();
userHome = System.getProperty(Constants.USER_HOME_PROPERTY); userHome = System.getProperty(Constants.USER_HOME_PROPERTY);
workingDirectory = System.getProperty(Constants.USER_DIRECTORY_PROPERTY); workingDirectory = System.getProperty(Constants.USER_DIRECTORY_PROPERTY);
if (osSuffix.contains(Constants.WINDOWS_OS)) { if (osSuffix.contains(Constants.WINDOWS_OS)) {
osSuffix = Constants.WINDOWS_OS; osSuffix = Constants.WINDOWS_OS;
} }
@ -318,7 +317,6 @@ public class TryIt {
createAvdProcessBuilder.redirectOutput(ProcessBuilder.Redirect.INHERIT); createAvdProcessBuilder.redirectOutput(ProcessBuilder.Redirect.INHERIT);
Process createAvdProcess = createAvdProcessBuilder.start(); Process createAvdProcess = createAvdProcessBuilder.start();
createAvdProcess.waitFor(); createAvdProcess.waitFor();
} else { } else {
ProcessBuilder createAvd = new ProcessBuilder(androidPath, "create", "avd", "-n", ProcessBuilder createAvd = new ProcessBuilder(androidPath, "create", "avd", "-n",
Constants.WSO2_AVD_NAME, "-t", "android-23"); Constants.WSO2_AVD_NAME, "-t", "android-23");

@ -29,7 +29,7 @@
<target name="zip" depends="clean"> <target name="zip" depends="clean">
<zip destfile="${target-dir}/android-tryit.ZIP" update="true"> <zip destfile="${target-dir}/android-tryit.ZIP" update="true">
<zipfileset dir="src/main/resources/jaggeryapps/android-web-agent/app/pages/mdm.page.enrollments.android.download-agent/public/asset/" includes="android-agent.apk" fullpath="resources/android-agent.apk"/> <zipfileset dir="src/main/resources/jaggeryapps/android-web-agent/app/pages/mdm.page.enrollments.android.download-agent/public/asset/" includes="android-agent.apk" fullpath="resources/android-agent.apk"/>
<zipfileset dir="${src-dir}" /> <zipfileset dir="${src-dir}"/>
<zipfileset dir="${src-dir}/" includes="startEmulator.bat" filemode="755" /> <zipfileset dir="${src-dir}/" includes="startEmulator.bat" filemode="755" />
<zipfileset dir="${src-dir}/" includes="startEmulator.sh" filemode="755"/> <zipfileset dir="${src-dir}/" includes="startEmulator.sh" filemode="755"/>
</zip> </zip>

Loading…
Cancel
Save