自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

MyEclipse 7.1插件安裝詳解

開發(fā) 后端
MyEclipse 7.1插件安裝是如何進行的呢?那么本文將會給你做一個詳細的步驟講解。

MyEclipse工具的插件安裝從7.1開始變的垃圾了,大概是不想讓用戶裝別的公司的插件吧。

現(xiàn)有如下方法進行MyEclipse 7.1插件安裝:

MyEclipse 7.1插件安裝步驟1.復制如下代碼

Java代碼

  1. import java.io.File;  
  2. import java.util.ArrayList;  
  3. import java.util.List;  
  4.  
  5. /** */ 
  6. /**  
  7.  * Descript:  
  8.  *   
  9.  *   
  10.  */ 
  11.  
  12. public class Test {  
  13.  private String path;  
  14.  
  15.  public Test(String path) {  
  16.   this.path = path;  
  17.  }  
  18.  
  19.  public void print() {  
  20.   List list = getFileList(path);  
  21.   if (list == null) {  
  22.    return;  
  23.   }  
  24.  
  25.   int length = list.size();  
  26.   for (int i = 0; i < length; i++) {  
  27.    String result = "";  
  28.    String thePath = getFormatPath(getString(list.get(i)));  
  29.    File file = new File(thePath);  
  30.    if (file.isDirectory()) {  
  31.     String fileName = file.getName();  
  32.     if (fileName.indexOf("_") < 0) {  
  33.      continue;  
  34.     }  
  35.     String[] filenames = fileName.split("_");  
  36.     String filename1 = filenames[0];  
  37.     String filename2 = filenames[1];  
  38.     result = filename1 + "," + filename2 + ",file:/" + path + "\\" 
  39.       + fileName + "\\,4,false";  
  40.     System.out.println(result);  
  41.    } else if (file.isFile()) {  
  42.     String fileName = file.getName();  
  43.     if (fileName.indexOf("_") < 0) {  
  44.      continue;  
  45.     }  
  46.     String[] filenames = fileName.split("_");  
  47.     String filename1 = filenames[0];  
  48.     String filename2 = filenames[1].substring(0, filenames[1]  
  49.       .lastIndexOf("."));  
  50.     result = filename1 + "," + filename2 + ",file:/" + path + "\\" 
  51.       + fileName + ",4,false";  
  52.     System.out.println(result);  
  53.    }  
  54.  
  55.   }  
  56.  }  
  57.  
  58.  public List getFileList(String path) {  
  59.   path = getFormatPath(path);  
  60.   path = path + "/";  
  61.   File filePath = new File(path);  
  62.   if (!filePath.isDirectory()) {  
  63.    return null;  
  64.   }  
  65.   String[] filelist = filePath.list();  
  66.   List filelistFilter = new ArrayList();  
  67.  
  68.   for (int i = 0; i < filelist.length; i++) {  
  69.    String tempfilename = getFormatPath(path + filelist[i]);  
  70.    filelistFilter.add(tempfilename);  
  71.   }  
  72.   return filelistFilter;  
  73.  }  
  74.  
  75.  public String getString(Object object) {  
  76.   if (object == null) {  
  77.    return "";  
  78.   }  
  79.   return String.valueOf(object);  
  80.  }  
  81.  
  82.  public String getFormatPath(String path) {  
  83.   path = path.replaceAll("\\\\", "/");  
  84.   path = path.replaceAll("http://""/");  
  85.   return path;  
  86.  }  
  87.  
  88.  public static void main(String[] args) {  
  89.   new Test("D:\\software\\Flex_Builder_3\\com.adobe.flexbuilder.update.site\\plugins").print();  
  90.  }  

MyEclipse 7.1插件安裝步驟2.修改路徑

Java代碼

  1. public static void main(String[] args) {  
  2.   new Test("D:\\software\\Flex_Builder_3\\com.adobe.flexbuilder.update.site\\plugins").print();  
  3.  } 

 改成自己的插件路徑,

3.運行輸出結果

把輸出的結果復制到目錄:

Genuitec\MyEclipse 7.0\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info的最下邊即可。

插件下載地址site-1.0.6.zip:

http://taoistwar.javaeye.com/topics/download/e250e285-b9eb-3c2b-9be0-cb6e0c552630

MyEclipse 7.1插件安裝的過程就介紹到這里,是不是對你有所幫助呢?

【編輯推薦】

  1. MyEclipse UML架構設計淺談
  2. Myeclipse7.0漢化詳細圖解
  3. MyEclipse7.0插件安裝詳細圖解
  4. Myeclipse7.0 SVN插件安裝步驟淺析
  5. MyEclipse6.0下Weblogic9.0安裝配置使用詳談
責任編輯:仲衡 來源: JavaEye
相關推薦

2010-05-20 18:38:53

Myeclipse7.

2009-03-18 11:27:24

MyEclipse 7IDEMyEclipse新版

2009-07-10 10:30:29

MyEclipse7.

2009-06-24 09:56:27

MyEclipse7.

2009-06-24 16:57:47

MyEclipseJavaCC插件

2009-07-10 10:38:00

SVN插件Myeclipse7.

2009-03-17 09:48:45

MyEclipseRADJava

2010-05-26 16:52:55

SVN插件

2009-09-23 13:23:12

Hibernate M

2010-05-20 11:37:09

安裝SVN插件

2009-07-15 13:39:13

2009-09-04 10:45:18

MyEclipse使用

2010-05-20 09:29:08

安裝SVN插件

2009-06-18 14:28:24

Eclipse中添加M

2009-07-15 14:08:06

MyEclipse T

2009-09-09 09:53:02

MyEclipse W

2009-03-18 11:36:21

代理服務器下載MyEclipse7.

2010-05-20 11:12:13

SVN插件安裝

2012-04-25 09:31:55

MyEclipseJava

2009-07-14 08:56:34

點贊
收藏

51CTO技術棧公眾號