public String configPropertyFileForApp(String fileFolder, String appName, String workingFolder, StringBuffer result) {
		File folder = new File(fileFolder);
		if (!folder.exists()) {
			folder.mkdir();
		}
		else if (folder.isFile()){
			folder.delete();
			folder.mkdir();
		}
		
		String appPropFilePath = fileFolder + File.separator + appName.trim().replace(" ",  "") + WSAdminUtil.CONF_PROPFILE_SUFFIX;
		//System.out.println(appPropFilePath);
		File propFile = new File(appPropFilePath);
		if (propFile.exists()) {
			propFile.delete();
		}
		List<String> cmds = WSAdminUtil.getCmdsForExtractConfigProperties();
		
		for (String cmd : cmds) {
			int index = cmds.indexOf(cmd);
			if (cmd.indexOf(WSAdminUtil.CMD_PARAMETER_APPNAME) != -1) {
				cmd = cmd.replaceAll(WSAdminUtil.CMD_PARAMETER_APPNAME, appName);
			}
			if (cmd.indexOf(WSAdminUtil.CMD_PARAMETER_PROPFILE) != -1) {
				cmd = cmd.replaceAll(WSAdminUtil.CMD_PARAMETER_PROPFILE, appPropFilePath.replace('\\', '/'));
			}
			cmds.set(index, cmd);
		}
		
		result.append(WSAdminUtil.executeCommnd(cmds, workingFolder));
		System.out.println("generate config prop file for '" + appName + "'\n" + result + "\n");

		Pattern failPattern = Pattern.compile(RegularPatterns.REG_WSADMIN_ERR);
		Matcher failMatcher = failPattern.matcher(result);
		if (failMatcher.find()) {
			logger.log(LogLevel.ERROR, "Failed to generate config propert file for Application: '" + appName + "'." + System.getProperty("line.separator"));
			//appPropFilePath = null;
		}
		return appPropFilePath;
	}