[Title] use InstallCommand's another constructor.
authorTaeyoung Son <taeyoung2.son@samsung.com>
Sat, 30 Mar 2013 05:09:07 +0000 (14:09 +0900)
committerTaeyoung Son <taeyoung2.son@samsung.com>
Sat, 30 Mar 2013 05:09:07 +0000 (14:09 +0900)
[Desc.]
[Issue]

Change-Id: I8a4b97644ea59042d8ca75deee7fd0cc736fba3a

org.tizen.cli/src/org/tizen/cli/exec/install/Main.java

index 022a70b..21e8548 100755 (executable)
@@ -122,9 +122,8 @@ extends WRTLauncher
         logger.trace( "local widget file name : {}", fileName );
 
         // core operation
-        InstallCommand install_command = new InstallCommand();
+        InstallCommand install_command = new InstallCommand(getDevice(), fileName);
         install_command.setLocalPath( filePath );
-        install_command.setWidget( fileName );
         install_command.setDevice( getDevice() );
         install_command.setTime( getTime() );
         String remotePath = install_command.getRemotePath() + fileName;