File toFile = new File(Workspace.getCurrentWorkspace() + File.separatorChar\r
+ packageModel.getValueAt(i, 3));\r
if (!isPackagePathValid(toFile)) {\r
- Log.err(packageVector.get(i) + " path already has package now. ");\r
+ Log.wrn("Install far", packageVector.get(i) + " path already has package now. ");\r
return;\r
}\r
if (allNewPath.contains(toFile)) {\r
- Log.err("Path " + packageModel.getValueAt(i, 3) + " is specified by twice. ");\r
+ Log.wrn("Install far", "Path " + packageModel.getValueAt(i, 3) + " is specified by twice. ");\r
return;\r
}\r
allNewPath.add(toFile);\r
File toFile = new File(Workspace.getCurrentWorkspace() + File.separatorChar\r
+ platformModel.getValueAt(i, 3));\r
if (!isPlatformPathValid(toFile)) {\r
- Log.err(platformVector.get(i) + " path already has platform now. ");\r
+ Log.wrn("Install far", platformVector.get(i) + " path already has platform now. ");\r
return;\r
}\r
File fpdFile = new File((String) platformModel.getValueAt(i, 3) + File.separatorChar\r
WorkspaceTools wt = new WorkspaceTools();\r
wt.addFarToDb(packageList, platformList, far.mainfest.getHeader());\r
} catch (Exception ex) {\r
- ex.printStackTrace();\r
- Log.err("Install error. ");\r
+ Log.wrn("Install far", ex.getMessage());\r
+ Log.err("Install far", ex.getMessage());\r
return;\r
}\r
\r