public static void writeSrcProperties(String projN, ArrayList<String> tl, ArrayList<String> wf){
        ArrayList<String> srcPpts=rfa.readInputStream(GenerateInitScripts.class.getResourceAsStream("config/srcOds/template.properties"),"UTF-8");
        StringBuffer content=new StringBuffer();

        for(int i=0; i<srcPpts.size(); ++i){
            if(srcPpts.get(i).contains("{db-config-generate}")){
                content.append("#sqoop db config\n");
                content.append("#sqoop db username\n");
                content.append("data_db_username="+un+"\n");
                content.append("#sqoop db password\n");
                content.append("#dev\n");
                content.append("data_db_password="+epwd+"\n");
                content.append("#sqoop db dbURL\n");
                content.append("#dev\n");
                content.append("data_db_url="+dbconS+"\n");
            }else if(srcPpts.get(i).contains("{start-time-config-generate}")){
                content.append("job_start="+new SimpleDateFormat("yyyy-MM-dd").format(new Date())+"T08:00+0800\n");
            }else if(srcPpts.get(i).contains("{shell-scripts-config-generate}")){
                for(int j=0; j<tl.size(); ++j){
                    String index=((j+1)<10?"0"+Integer.toString(j+1):Integer.toString(j+1));
                    content.append(wf.get(j)+"="+tl.get(j)+".sh\n");
                }
            }else if(srcPpts.get(i).contains("{application-path-config-generate}")){
                content.append("application_path=${namenode_address}/apps/hduser0401/Pad-dbw/"+projN+"\n");
            }else
                content.append(srcPpts.get(i)+"\n");
        }

        String initPath=System.getProperty("user.dir")+File.separator+projN;
        wfa.mkdirs(initPath);
        wfa.writeFromStringBuffer(initPath+File.separator+projN+".properties","UTF-8",content);
    }