import java.io.InputStream;
import java.io.OutputStreamWriter;
import java.io.RandomAccessFile;
+import java.net.InetAddress;
+import java.net.InetSocketAddress;
+import java.net.Proxy;
import java.net.Socket;
import java.net.UnknownHostException;
import java.nio.channels.FileChannel;
private String reservedExecutablePath; //$NON-NLS-1$
private List<String> reservedLocalPackagePathList; //$NON-NLS-1$
- private String LOCAL_HOST = "localhost"; //$NON-NLS-1$
-
private final String IDE_DA_COMMUNICATION_TYPE_1 = "STATUS"; //$NON-NLS-1$
private final String IDE_DA_COMMUNICATION_TYPE_2 = "RUN"; //$NON-NLS-1$
private final String IDE_DA_COMMUNICATION_TYPE_3 = "SOURCE"; //$NON-NLS-1$
private boolean setServerSocket() {
try {
- ideClientSocket = new Socket(LOCAL_HOST, serverPort);
+ ideClientSocket = new Socket(Proxy.NO_PROXY); /* handle environment in Proxy network */
+ InetSocketAddress socketAddress = new InetSocketAddress(InetAddress.getLocalHost(), serverPort);
+ ideClientSocket.connect(socketAddress);
} catch (UnknownHostException e) {
e.printStackTrace();
ideClientSocket = null;
+* 2.2.12
+- Fix communication with DA tool proxy network environment
+== jungwook.ryu <jungwook.ryu@samsung.com> 2014-09-07
* 2.2.11
- Change the method name of PlatformRootstrap
== shihyun.kim <shihyun.kim@samsung.com> 2014-09-01