MyEclipse7.5整合Flex builer3

MyEclipse7.5整合Flex builer3

    最近在用flex,公司同事因为众所周知的原因都是用myeclipse6.0+Flexbuiler3。后来查查Flex builer3大概最多支持3.4Xeclipse,再去查了下myeclipse整合eclipse3.4X最高版本是MyEclipse7.5 So,我想个人认为MyEclipse7.5整合Flex builer3肯定能整合,去网上soso果然有资料,做个记录吧。

   
需要先以下东西。
    1
MyEclipse7.5我的下载地址是:http://downloads.myeclipseide.com/downloads/products/eworkbench/7.0/myeclipse-7.5.0-win32.exe
    2.Flex builer3
(注意不是插件版本)下面是我的下载地址:http://b4.3ddown.com//Down/2009/02A/Adobe.Flex.Builder.Professional.v3.0.2.rar

   
先装MyEclipse7.5,装好后运行下面代码:

public class CreatePluginsConfig { private String path; public CreatePluginsConfig(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("//", "/"); return path; } public static void main(String[] args){ new CreatePluginsConfig("D://Program Files//Adobe//Flex Builder 3//plugins").print(); // 你的FlexBuilder3 地址 } } 

输出结果拷贝到MyEclipse7.5/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info

 

你可能感兴趣的:(MyEclipse7.5整合Flex builer3)