" + fileName + ",4,false"; System.out.println(result); } } } public List<String> getFileList(String path) { path = getFormatPath(path); path = path + "/"; File filePath = new File(path); if (!filePath.isDirectory()) { return null; } String[] filelist = filePath.list(); List<String> filelistFilter = new ArrayList<String>(); for (int i = 0; i < filelist.length; i++) { String tempfilename = getFormatPath(path + filelist[i]); filelistFilter.add(tempfilename); } return filelistFilter; } public String getString(Object object) { if (object == null) { return ""; } return String.valueOf(object); } public String getFormatPath(String path) { path = path.replaceAll("////", "/"); path = path.replaceAll("//", "/"); return path; } public static void main(String[] args) { /*你新建的含有svn压缩文件的目录*/ String plugin = "改成含有svn压缩文件的目录"; new PluginConfigCreator().print(plugin); } }论文网
这里需要注意的是修改成为刚才svn所在路径,建议改为绝对路径。比如d:/myplugins/svn/。。。 5.找到
“$myeclipse_ 上一页 [1] [2] [3] [4] [5] [6] [7] 下一页
|