change port number for to change serial number
authorjihye kim <jihye1128.kim@samsung.com>
Thu, 22 Aug 2013 07:07:54 +0000 (16:07 +0900)
committerjihye kim <jihye1128.kim@samsung.com>
Thu, 22 Aug 2013 07:15:06 +0000 (16:15 +0900)
Change-Id: Ieb2e23a3a16041236a0536858d739267f2e0d8bc
Signed-off-by: jihye kim <jihye1128.kim@samsung.com>
ei-library/src/org/tizen/eilib/connection/Emulator.java
ei-library/src/org/tizen/eilib/connection/EventSocket.java
eventinjector-cli/.classpath
package/changelog
package/pkginfo.manifest

index 5c78178..4ae6b50 100644 (file)
@@ -57,7 +57,7 @@ public class Emulator {
         */
        public Emulator(IDevice device) {
                this.device = device;
-               setPort(Integer.parseInt(device.getSerialNumber().substring(9)) + 3);
+               setPort(Integer.parseInt(device.getSerialNumber().substring(9)) + 2);
                isMounted       = false;
                SDCardName      = "";
        }
@@ -100,7 +100,7 @@ public class Emulator {
         */
        public void setDevice(IDevice device) {
                this.device = device;
-               setPort(Integer.parseInt(device.getSerialNumber().substring(9)) + 3);
+               setPort(Integer.parseInt(device.getSerialNumber().substring(9)) + 2);
        }
 
        /**
index 5808c67..dc8914e 100644 (file)
@@ -73,7 +73,7 @@ public class EventSocket {
                        socket = SocketChannel.open(addr);
                } catch (IOException e) {
                        e.printStackTrace();
-                       return false;
+                       throw e;
                }
 
                // Start Receiver Thread
index af3ce1e..c51dfc3 100644 (file)
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
        <classpathentry kind="src" path="src"/>
-       <classpathentry kind="lib" path="lib/eilib.jar"/>
        <classpathentry kind="lib" path="lib/jline-1.0.jar"/>
        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
-       <classpathentry kind="lib" path="lib/sdblib.jar"/>
+       <classpathentry combineaccessrules="false" kind="src" path="/EILibrary"/>
+       <classpathentry kind="lib" path="/EILibrary/lib/sdblib.jar"/>
        <classpathentry kind="output" path="bin"/>
 </classpath>
index 54cfb13..bcab282 100644 (file)
@@ -1,3 +1,7 @@
+* 2.2.0
+- change port number bacause of change serial number.
+== jihye1128.kim <jihye1128.kim@samsung.com> 2013-08-22
+
 * 2.1.8
 - sync with sdblib
 == jihye1128.kim <jihye1128.kim@samsung.com> 2013-07-31
index ef4fbb8..7bd1226 100644 (file)
@@ -1,5 +1,5 @@
 Source: event-injector
-Version: 2.1.8
+Version: 2.2.0
 Maintainer: Yeong-Kyoon Lee<yeongkyoon.lee@samsung.com>
 
 Package: eventinjector-cli