reformatting code

revert-dabc3590
Nirothipan 8 years ago
parent 6388ea1e45
commit a2d703334a

@ -44,7 +44,7 @@ class Constants {
static final String DOWNLOADED_BUILD_TOOL_NAME = "downloaded.build.tool.name"; static final String DOWNLOADED_BUILD_TOOL_NAME = "downloaded.build.tool.name";
static final String BUILD_TOOLS_VERSION = "build.tool.version"; static final String BUILD_TOOLS_VERSION = "build.tool.version";
static final String DOWNLOADED_PLATFORM_NAME = "downloaded.platform.name"; static final String DOWNLOADED_PLATFORM_NAME = "downloaded.platform.name";
static final String TARGET_VERSION = "target.version"; static final String TARGET_VERSION = "target.version";
static final String OS_TARGET = "os.target"; static final String OS_TARGET = "os.target";
// WSO2 AVD specific variables // WSO2 AVD specific variables
static final String WSO2_AVD_NAME = "WSO2_AVD"; static final String WSO2_AVD_NAME = "WSO2_AVD";

@ -113,6 +113,7 @@ public class TryIt {
/** /**
* This method is called when then is an error in getting system properties * This method is called when then is an error in getting system properties
*
* @param error - system property name * @param error - system property name
*/ */
private void sysPropertyError(String error) { private void sysPropertyError(String error) {

@ -57,15 +57,15 @@ public class TryItEmulator implements Runnable {
System.out.println("Error in starting " + deviceId); System.out.println("Error in starting " + deviceId);
e.printStackTrace(); e.printStackTrace();
} finally { } finally {
try { try {
if (reader != null){ if (reader != null) {
reader.close(); reader.close();
} }
if (writer != null) { if (writer != null) {
writer.close(); writer.close();
} }
} catch (IOException ignored) { } catch (IOException ignored) {
// //
} }
} }
System.exit(0); System.exit(0);

@ -18,7 +18,8 @@
~ under the License. ~ under the License.
--> -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent> <parent>
<artifactId>android-plugin</artifactId> <artifactId>android-plugin</artifactId>
@ -52,7 +53,8 @@
<artifactId>org.wso2.carbon.device.mgt.mobile.android.emulator</artifactId> <artifactId>org.wso2.carbon.device.mgt.mobile.android.emulator</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
<overWrite>true</overWrite> <overWrite>true</overWrite>
<outputDirectory>${project.basedir}/src/main/resources/android-tryit/</outputDirectory> <outputDirectory>${project.basedir}/src/main/resources/android-tryit/
</outputDirectory>
<destFileName>JavaApp.jar</destFileName> <destFileName>JavaApp.jar</destFileName>
</artifactItem> </artifactItem>
</artifactItems> </artifactItems>
@ -68,7 +70,7 @@
<phase>process-resources</phase> <phase>process-resources</phase>
<configuration> <configuration>
<target> <target>
<ant antfile="build.xml" target="zip" /> <ant antfile="build.xml" target="zip"/>
</target> </target>
</configuration> </configuration>
<goals> <goals>

Loading…
Cancel
Save