日韩黑丝制服一区视频播放|日韩欧美人妻丝袜视频在线观看|九九影院一级蜜桃|亚洲中文在线导航|青草草视频在线观看|婷婷五月色伊人网站|日本一区二区在线|国产AV一二三四区毛片|正在播放久草视频|亚洲色图精品一区

分享

MyEclipse7.1的插件安裝

 昵稱493314 2009-12-03

MyEclipse7.1的插件安裝

1樓  TaoistWar 2009-04-09

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

  現(xiàn)有如下方法安裝其它插件:

  1.復(fù)制如下代碼

import java.io.File;
                                    import java.util.ArrayList;
                                    import java.util.List;
                                    /** */
                                    /**
                                    * Descript:
                                    *
                                    *
                                    */
                                    public class Test {
                                    private String path;
                                    public Test(String path) {
                                    this.path = path;
                                    }
                                    public void print() {
                                    List list = getFileList(path);
                                    if (list == null) {
                                    return;
                                    }
                                    int length = list.size();
                                    for (int i = 0; i < length; i++) {
                                    String result = "";
                                    String thePath = getFormatPath(getString(list.get(i)));
                                    File file = new File(thePath);
                                    if (file.isDirectory()) {
                                    String fileName = file.getName();
                                    if (fileName.indexOf("_") < 0) {
                                    continue;
                                    }
                                    String[] filenames = fileName.split("_");
                                    String filename1 = filenames[0];
                                    String filename2 = filenames[1];
                                    result = filename1 + "," + filename2 + ",file:/" + path + "\\"
                                    + fileName + "\\,4,false";
                                    System.out.println(result);
                                    } else if (file.isFile()) {
                                    String fileName = file.getName();
                                    if (fileName.indexOf("_") < 0) {
                                    continue;
                                    }
                                    String[] filenames = fileName.split("_");
                                    String filename1 = filenames[0];
                                    String filename2 = filenames[1].substring(0, filenames[1]
                                    .lastIndexOf("."));
                                    result = filename1 + "," + filename2 + ",file:/" + path + "\\"
                                    + fileName + ",4,false";
                                    System.out.println(result);
                                    }
                                    }
                                    }
                                    public List getFileList(String path) {
                                    path = getFormatPath(path);
                                    path = path + "/";
                                    File filePath = new File(path);
                                    if (!filePath.isDirectory()) {
                                    return null;
                                    }
                                    String[] filelist = filePath.list();
                                    List filelistFilter = new ArrayList();
                                    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("http://", "/");
                                    return path;
                                    }
                                    public static void main(String[] args) {
                                    new Test("D:\\software\\Flex_Builder_3\\com.adobe.flexbuilder.update.site\\plugins").print();
                                    }
                                    }
                                    

2.修改路徑

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

改成自己的插件路徑,

3.運(yùn)行輸出結(jié)果

把輸出的結(jié)果復(fù)制到目錄:Genuitec\MyEclipse 7.0\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info的最下邊即可。


2樓  TaoistWar 2009-05-20

附件site-1.0.6.zip(6.7MB)是SVN的插件

3樓  TaoistWar 2009-05-20

wzh221300寫道

今天試著安裝個svn插件插件位置:\Genuitec\MyEclipse7.1\dropins\svnEclipse\eclipse\features和Genuitec\MyEclipse7.1\dropins\svnEclipse\eclipse\plugins重啟myeclipse后還是沒有成功?。。。。。。。。。。。。?!

剛用了\Genuitec\MyEclipse7.1\dropins這種方法,可以成功的.SVN版本1.0.6.zip
我的文件目錄為:
\Genuitec\MyEclipse7.1\svn
\Genuitec\MyEclipse7.1\svn\features
\Genuitec\MyEclipse7.1\svn\plugins
剛開始我把插件解壓不通用,我把site.xml刪除后,電腦重啟了一下,就可以用了.


4樓  wzh221300 2009-05-19

今天試著安裝個svn插件插件位置:\Genuitec\MyEclipse7.1\dropins\svnEclipse\eclipse\features和
Genuitec\MyEclipse7.1\dropins\svnEclipse\eclipse\plugins
重啟myeclipse后還是沒有成功?。。。。。。。。。。。。?!

5樓  TaoistWar 2009-04-27

引用

han2000lei2009-04-19回復(fù)刪除
今天又研究了一下,其實(shí)不像你所說的那樣。
現(xiàn)在的插件安裝方法比以前的更加方便,根本用不著編寫程序。只要在\Genuitec\MyEclipse7.1\dropins文件夾下來放置你的插件即可。而且連以前的links文件夾都可以省去不要了。只要你的插件符合這樣的路徑:
(dropins-------》插件文件夾-----》eclipse-------》plugins+features)。

簡單說來就是簡化了以前的links安裝方式,直接將插件拷到dropins下面,而去掉了那個links文件夾及其編寫的內(nèi)容

的確如你所說的,但是這樣反而不靈活了,如果那樣,我在別的地方通用的插件就需要再復(fù)制一份了.到底怎么設(shè)置只有各憑所好了

6樓  han2000lei 2009-04-19

今天又研究了一下,其實(shí)不像你所說的那樣。
現(xiàn)在的插件安裝方法比以前的更加方便,根本用不著編寫程序。只要在\Genuitec\MyEclipse7.1\dropins文件夾下來放置你的插件即可。而且連以前的links文件夾都可以省去不要了。只要你的插件符合這樣的路徑:
(dropins-------》插件文件夾-----》eclipse-------》plugins+features)。

簡單說來就是簡化了以前的links安裝方式,直接將插件拷到dropins下面,而去掉了那個links文件夾

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻(xiàn)花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多