Difference between revisions of "VE/Installing"

From Eclipsepedia

< VE
Jump to: navigation, search
m (credit my employer)
m (add catgs)
Line 371: Line 371:
  
 
* p.s. I tried to get this formatted nicely but was unsuccessful, if someone out there that knows how to get it looking nice it would be much appreciated.
 
* p.s. I tried to get this formatted nicely but was unsuccessful, if someone out there that knows how to get it looking nice it would be much appreciated.
 +
 +
[[Category:Tools_Project]] [[Category:VE]]

Revision as of 15:21, 25 October 2007

Step by step installation of VE. Please edit me and add the steps. Thank!

Contributed by Chris Dolan: (on behalf of Avid Technology Inc.)

I got it to work once I figured out the JEM stuff. In the end, these are the steps that worked for me.

Note: These are likely not the minimal steps, just one working solution.

  1. Fully uninstall any old version of VE or JEM (not just disable)
  2. via the Europa update site, install prerequisites for WTP:
    • org.eclipse.datatools
    • org.eclipse.wst
    • org.eclipse.jst
    • org.eclipse.jpt
  3. Install the 3.0M1 milestone release of WTP SDK, which is the authoritative source of JEM 2.0.0:
    1. Go to http://download.eclipse.org/webtools/downloads/
    2. Click the 3.0M1 build
    3. Download the wtp-sdk zip
    4. Unpack the .zip file somewhere
    5. In that extracted folder, there is an "eclipse" subdir
    6. In that subdir, create a file called ".eclipseextension"
    7. In eclipse, go to Help > Software Updates > Manage Configuration
    8. Click "Add an Extension Location"
    9. Select the WTP "eclipse" subdir from above
  4. Install the build of VE:
    1. Go to http://sourceforge.net/project/showfiles.php?group_id=131065&package_id=154855
    2. Click "Visual Editor patched as in bug 202562"
    3. Click org.eclipse.visualeditor-1.3.0.200709121813.zip
    4. Unpack the .zip file somewhere
    5. In that extracted folder, there is an " org.eclipse.visualeditor-1.3.0.200709121813" subdir
    6. Rename that subdir to "eclipse"
    7. In that "eclipse" subdir, create a file called ".eclipseextension"
    8. In eclipse, go to Help > Software Updates > Manage Configuration
    9. Click "Add an Extension Location"
    10. Select the VE "eclipse" subdir from above
  5. You will likely be prompted to restart Eclipse, do so.


Slightly more minamilistic: (contributed by Daniel Young)

Instead of installing the prerequisites for wtp or wtp itself

  • Download the 3.0M1 milestone release of WTP (the runtime is sufficient) Inside the archive under eclipse / plugins locate and extract all the org.eclipse.jem* files to your plugin folder (in your main ,extension or link folder)
  • Go to your features folder and create a folder for each file extracted (name them the same as the plugin files)
  • Inside each folder create a feature.properties and feature.xml file with the following contents:
  • All feature.properties should look like this:

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

  • featureName should be changed in each file e.g. featurename=Java EMF Model - BeanInfo
  • Paste the following into the relevant feature.xml file

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>
  • Don't forget gef and emf-sdo
  • Continue with 'Install the build of VE:' above
  • Restart eclipse
  • p.s. I tried to get this formatted nicely but was unsuccessful, if someone out there that knows how to get it looking nice it would be much appreciated.