// Parse FPD file\r
//\r
parseFpdFile();\r
- \r
+\r
+ getProject().setProperty("PLATFORM", platformId.getName());\r
+ getProject().setProperty("PLATFORM_DIR", platformId.getFpdFile().getParent().replaceAll("(\\\\)", "/"));\r
+ getProject().setProperty("PLATFORM_RELATIVE_DIR", platformId.getPlatformRelativeDir().replaceAll("(\\\\)", "/"));\r
+\r
//\r
// Pcd Collection. Call CollectPCDAction to collect pcd info.\r
//\r
try {\r
- System.out.println("Begin PCD collecttion!");\r
CollectPCDAction ca = new CollectPCDAction();\r
ca.perform(GlobalData.getWorkspacePath(),platformId.getFpdFile().getPath(),ActionMessage.NULL_MESSAGE_LEVEL);\r
- System.out.println("End PCD collection!"); \r
} catch (Exception e){\r
throw new BuildException(e.getMessage());\r
}\r
//\r
platformId = SurfaceAreaQuery.getFpdHeader();\r
platformId.setFpdFile(fpdFile);\r
- getProject().setProperty("PLATFORM", platformId.getName());\r
- getProject().setProperty("PLATFORM_DIR", platformId.getFpdFile().getParent().replaceAll("(\\\\)", "/"));\r
- getProject().setProperty("PLATFORM_RELATIVE_DIR", platformId.getPlatformRelativeDir().replaceAll("(\\\\)", "/"));\r
\r
//\r
// Build mode. User-defined output dir. \r