//\r
// Global Data initialization\r
//\r
+ File workspacePath = new File(getProject().getProperty("WORKSPACE"));\r
+ getProject().setProperty("WORKSPACE_DIR", workspacePath.getPath().replaceAll("(\\\\)", "/"));\r
GlobalData.initInfo("Tools" + File.separatorChar + "Conf" + File.separatorChar + "FrameworkDatabase.db",\r
- getProject().getProperty("WORKSPACE_DIR"), toolsDefFilename);\r
+ workspacePath.getPath(), toolsDefFilename);\r
\r
\r
\r
// Build every MSA files (SINGLE MODULE BUILD)\r
//\r
else if (buildFile.getName().endsWith(".msa")) {\r
+ File tmpFile = new File(GlobalData.getWorkspacePath() + File.separatorChar + activePlatform);\r
+ System.out.println("Using FPD file [" + tmpFile.getPath() + "] as active platform. ");\r
System.out.println("Start to build MSA file [" + buildFile.getPath() + "] ..>> ");\r
GenBuildTask genBuildTask = new GenBuildTask();\r
genBuildTask.setSingleModuleBuild(true);\r
GlobalData.setToolChainEnvInfo(envToolChainInfo);\r
\r
str = getValue("TOOL_CHAIN_CONF", targetFileInfo);\r
- if (str != null) {\r
+ if (str != null && str.trim().length() > 0) {\r
toolsDefFilename = str;\r
}\r
\r