在Eclipse3.3安装Visual Editor

Visual Editor 目前官方只有针对Eclipse.3.2 的版本,但Eclipse逐渐转移到3.3版本,但官方还有出Visual Editor for Eclipse ,昨天为公司集成一个统一的开发工具环境,选了Eclipse3.3 ,一直装不上Visual Editor ,找了好久在http://wiki.eclipse.org/VE/Installing 终于找到答案。但见国内还没相应的资料,将安装大概意思在这里重述一遍,严重建议有能力的读者读原文

1 反安装 VE

2下载 3.0M1  http://download.eclipse.org/webtools/downloads/   ,需要里面的JEM( 点击 3.0M1 ,选择下载wtp-sdk zip,然后通过Eclipse  Help > Software Updates > Manage Configuration  或 Help > Software Updates >Find and install 安装 (建议安装路径不要跟Eclipse 混在一起)

3 安装 VE ,从 SourceForge 下载

下载网址   http://sourceforge.net/project/showfiles.php?group_id=131065&package_id=154855  点击 "Visual Editor patched as in bug 202562"  选择  org.eclipse.visualeditor-1.3.0.200709121813.zip 下载,接着安装,安装方法同 上面 2

4 建立相应的配置文件

在安装3.0M1的plugins 目录下查找所有 org.eclipse.jem* ,将查找到plugins 拷贝到 安装  org.eclipse.visualeditor-1.3.0.200709121813.zip 的目录的plugins 下,并在该安装目录下的feature建立所有plugins jar名字对应的文件夹,每个文件夹都放置一下两个文件  feature.properties  , feature.xml ,其中feature.properties  的内容都一样如下

featureName=Java EMF Model
providerName=Eclipse.org
updateSiteName=Visual Editor update site

feature.xml对应不同的文件夹内容不一样,注意 安装 org.eclipse.visualeditor-1.3.0.200709121813.zip ,里面有的feature.properties,feature.xml不能东

org.eclipse.jem_2.0.0.v200705302225

<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="org.eclipse.jem"
      label="%featureName"
      version="2.0.0.v200705302225"
      provider-name="%providerName"
      image="eclipse_update_120.jpg">
   <description>
      %description
   </description>
   <copyright url="http://www.eclipse.org/legal/epl-v10.html">
      Copyright (c) 2002-2007 IBM Corporation and others.
All rights reserved.   This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
   </copyright>
   <license url="%licenseURL">
      %license
   </license>
   <url>
      <update label="%updateSiteName" url="http://download.eclipse.org/tools/gef/update-site/releases/site.xml"/>
      <discovery label="%updateSiteName" url="http://download.eclipse.org/tools/gef/update-site/releases/site.xml"/>
   </url>
   <requires>
      <import plugin="org.eclipse.emf.ecore.xmi"/>
      <import plugin="org.eclipse.jem.proxy"/>
      <import plugin="org.eclipse.core.runtime"/>
      <import plugin="org.eclipse.jem.util"/>
   </requires>
   <plugin
         id="org.eclipse.jem"
         download-size="0"
         install-size="0"
         version="2.0.0.v200705302225"
         unpack="false"/>
</feature>
org.eclipse.jem.workbench_2.0.0.v200705302225
<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="org.eclipse.jem.workbench"
      label="%featureName"
      version="2.0.0.v200705302225"
      provider-name="%providerName"
      image="eclipse_update_120.jpg">
   <description>
      %description
   </description>
   <copyright url="http://www.eclipse.org/legal/epl-v10.html">
      Copyright (c) 2002-2007 IBM Corporation and others.
All rights reserved.   This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
   </copyright>
   <license url="%licenseURL">
      %license
   </license>
   <url>
      <update label="%updateSiteName" url="http://download.eclipse.org/tools/gef/update-site/releases/site.xml"/>
      <discovery label="%updateSiteName" url="http://download.eclipse.org/tools/gef/update-site/releases/site.xml"/>
   </url>
   <requires>
      <import plugin="org.eclipse.jem"/>
      <import plugin="org.eclipse.jdt.core"/>
      <import plugin="org.eclipse.core.resources"/>
      <import plugin="org.eclipse.emf.ecore.xmi"/>
      <import plugin="org.eclipse.core.runtime"/>
      <import plugin="org.eclipse.jem.util"/>
   </requires>
   <plugin
         id="org.eclipse.jem.workbench"
         download-size="0"
         install-size="0"
         version="2.0.0.v200705302225"
         unpack="false"/>
</feature>
org.eclipse.jem.util_2.0.0.v200708131600
<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="org.eclipse.jem.util"
      label="%featureName"
      version="2.0.0.v200708131600"
      provider-name="%providerName"
      image="eclipse_update_120.jpg">
   <description>
      %description
   </description>
   <copyright url="http://www.eclipse.org/legal/epl-v10.html">
      Copyright (c) 2002-2007 IBM Corporation and others.
All rights reserved.   This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
   </copyright>
   <license url="%licenseURL">
      %license
   </license>
   <url>
      <update label="%updateSiteName" url="http://download.eclipse.org/tools/gef/update-site/releases/site.xml"/>
      <discovery label="%updateSiteName" url="http://download.eclipse.org/tools/gef/update-site/releases/site.xml"/>
   </url>
   <requires>
      <import plugin="org.eclipse.core.runtime"/>
      <import plugin="org.eclipse.core.resources"/>
      <import plugin="org.eclipse.emf.ecore"/>
      <import plugin="org.eclipse.emf.ecore.xmi"/>
      <import plugin="com.ibm.icu"/>
   </requires>
   <plugin
         id="org.eclipse.jem.util"
         download-size="0"
         install-size="0"
         version="2.0.0.v200708131600"
         unpack="false"/>
</feature>
org.eclipse.jem.ui_2.0.0.v200705302225
<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="org.eclipse.jem.ui"
      label="%featureName"
      version="2.0.0.v200705302225"
      provider-name="%providerName"
      image="eclipse_update_120.jpg">
   <description>
      %description
   </description>
   <copyright url="http://www.eclipse.org/legal/epl-v10.html">
      Copyright (c) 2002-2007 IBM Corporation and others.
All rights reserved.   This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
   </copyright>
   <license url="%licenseURL">
      %license
   </license>
   <url>
      <update label="%updateSiteName" url="http://download.eclipse.org/tools/gef/update-site/releases/site.xml"/>
      <discovery label="%updateSiteName" url="http://download.eclipse.org/tools/gef/update-site/releases/site.xml"/>
   </url>
   <requires>
     	<import plugin="org.eclipse.jdt.core"/>
	<import plugin="org.eclipse.ui"/>
	<import plugin="org.eclipse.jdt.ui"/>
	<import plugin="org.eclipse.jem.beaninfo"/>
	<import plugin="org.eclipse.ui.ide"/>
	<import plugin="org.eclipse.debug.ui"/>
	<import plugin="org.eclipse.jem.proxy"/>
	<import plugin="org.eclipse.jdt.launching"/>
	<import plugin="org.eclipse.jdt.debug.ui"/>
	<import plugin="org.eclipse.jem.util"/>
	<import plugin="org.eclipse.core.runtime"/>
	<import plugin="org.eclipse.ui.editors"/>
   </requires>
   <plugin
         id="org.eclipse.jem.ui"
         download-size="0"
         install-size="0"
         version="2.0.0.v200705302225"
         unpack="false"/>
</feature>
 
org.eclipse.jem.proxy_2.0.0.v200705302225
<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="org.eclipse.jem.proxy"
      label="%featureName"
      version="2.0.0.v200705302225"
      provider-name="%providerName"
      image="eclipse_update_120.jpg">
   <description>
      %description
   </description>
   <copyright url="http://www.eclipse.org/legal/epl-v10.html">
      Copyright (c) 2002-2007 IBM Corporation and others.
All rights reserved.   This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
   </copyright>
   <license url="%licenseURL">
      %license
   </license>
   <url>
      <update label="%updateSiteName" url="http://download.eclipse.org/tools/gef/update-site/releases/site.xml"/>
      <discovery label="%updateSiteName" url="http://download.eclipse.org/tools/gef/update-site/releases/site.xml"/>
   </url>
  <requires>
     	<import plugin="org.eclipse.jdt.launching"/>
	<import plugin="org.eclipse.jdt.core"/>
	<import plugin="org.eclipse.debug.core"/>
	<import plugin="org.eclipse.jem.util"/>
	<import plugin="org.eclipse.pde.core"/>
	<import plugin="org.eclipse.core.runtime"/>
	<import plugin="org.eclipse.ui"/>
   </requires>
   <plugin
         id="org.eclipse.jem.proxy"
         download-size="0"
         install-size="0"
         version="2.0.0.v200705302225"
         unpack="false"/>
</feature>
org.eclipse.jem.beaninfo_2.0.0.v200705302225
<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="org.eclipse.jem.beaninfo"
      label="%featureName"
      version="2.0.0.v200705302225"
      provider-name="%providerName"
      image="eclipse_update_120.jpg">
   <description>
      %description
   </description>
   <copyright url="http://www.eclipse.org/legal/epl-v10.html">
      Copyright (c) 2002-2007 IBM Corporation and others.
All rights reserved.   This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
   </copyright>
   <license url="%licenseURL">
      %license
   </license>
   <url>
      <update label="%updateSiteName" url="http://download.eclipse.org/tools/gef/update-site/releases/site.xml"/>
      <discovery label="%updateSiteName" url="http://download.eclipse.org/tools/gef/update-site/releases/site.xml"/>
   </url>
   <requires>
     	<import plugin="org.eclipse.jem.proxy"/>
	<import plugin="org.eclipse.jdt.core"/>
	<import plugin="org.eclipse.jem.workbench"/>
	<import plugin="org.eclipse.jem"/>
	<import plugin="org.eclipse.ui"/>
	<import plugin="org.eclipse.core.runtime"/>
	<import plugin="org.eclipse.debug.core"/>
	<import plugin="org.eclipse.jem.util"/>
	<import plugin="org.eclipse.emf.ecore.change"/>
   </requires>
   <plugin
         id="org.eclipse.jem.beaninfo"
         download-size="0"
         install-size="0"
         version="2.0.0.v200705302225"
         unpack="false"/>
</feature>
 
5 安装 GEF and EMF/SDO  ,从  Europa site or their update sites
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值