bw.newLine();\r
} else {\r
//\r
- //modify at the first time, and there should be *ACTIVE_PLATFORM*=* in the line\r
+ //modify at the first time, and there should be "*ACTIVE_PLATFORM*=*" in the line\r
//\r
if (textLine.indexOf("ACTIVE_PLATFORM") != -1) {\r
if(pflag == true){\r
return true;\r
}\r
\r
- private static String convertStr(String str){\r
- String convertStr = null;\r
- \r
- if( str.compareTo("-p") == 0 ){\r
- convertStr = "ACTIVE_PLATFORM";\r
- }else if( str.compareTo("-a") == 0){\r
- convertStr = "TARGET_ARCH";\r
- }else if( str.compareTo("-t") == 0){\r
- convertStr = "TARGET";\r
- }else if( str.compareTo("-c") == 0){\r
- convertStr = "TOOL_CHAIN_CONF";\r
- }else if( str.compareTo("-n") == 0){\r
- convertStr = "TOOL_CHAIN_TAG";\r
- }else if( str.compareTo("-m") == 0){\r
- convertStr = "MAX_CONCURRENT_THREAD_NUMBER";\r
- }\r
- \r
- return convertStr;\r
- }\r
- \r
\r
/**\r
* according to user's input args, write the file directly\r