Skip to content

Download and Offline Installation Of The Plugin From Zip

Girija Prasad Panda edited this page Jan 31, 2019 · 1 revision

How to Download the Plugin

Download-Plugin

  • Please Download-Plugin-Zip from the latest version directory.
  • Plugin is available as Zip and downloaded from the below directory :
 cucumber.eclipse.download\download\{latest-version}\cucumber-eclipse-plugin-{version}.zip
  • Example
 cucumber.eclipse.download\download\0.0.19-SNAPSHOT\cucumber-eclipse-plugin-0.0.19-SNAPSHOT.zip

How To Install Plugin offline locally From Zip

  • From Eclipse, Open 'Help' -> 'Install New Software...' -- Hit 'Add' (top right) -- In the Add Repository dialog that is shown Hit 'Archive...' and select the zip file(i.e. cucumber-eclipse-plugin-0.0.19-SNAPSHOT.zip) you downloaded. Also give the Repository a name. -- Hit 'OK'. -- Tick the 'Cucumber-Eclipse-Plugin' and make sure about the correct version. -- Hit 'Next', then 'Next', Accept the terms of the license agreement then 'Finish'.
  • Restart Eclipse

Issues and Workaround

Issue-1: An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase

While installing plugin from locally as a Zip, if you encounter below issue:

An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase. session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=). Error reading signed content. D:\ECLIPSE\eclipse-jee-mars-2-win32-x86_64\eclipse\plugins\cucumber.eclipse.editor_0.0.18.201711040925.jar (The system cannot find the file specified)

Installation Issue

Root Cause:

  • The root cause of above issue is cucumber-eclipse plugin is not properly removed from eclipse dirirectory OR another version of cucumber-eclipse pugin is already installed in your eclipse.

Workaround:

Do as below to avoid above issue:

  • Open eclipse IDE and uninstall the older version of cucumber-eclipse plugin by refering Uninstall the older version of cucumber eclipse plugin
  • Close Eclipse Editor
  • Go to the Eclipse Root directory(e.g. D:\ECLIPSE\eclipse-jee-mars-2-win32-x86_64\eclipse)
  • Open 'artifacts.xml'
  • Search 'cucumber' and comment/delete all cucumber-artifacts like: <artifact classifier='osgi.bundle' id='cucumber.eclipse.editor' version='0.0.18.201711040925'> <properties size='1'> <property name='download.size' value='140820'/> </properties> </artifact> <artifact classifier='osgi.bundle' id='cucumber.eclipse.steps.integration' version='0.0.18.201711040925'> <properties size='1'> <property name='download.size' value='1817956'/> </properties> </artifact> <artifact classifier='osgi.bundle' id='cucumber.eclipse.steps.jdt' version='0.0.18.201711040925'> <properties size='1'> <property name='download.size' value='145818'/> </properties> </artifact>
  • Restart Eclipse
  • Install Cucumber-eclipse plugin from locally as a Zip by refering above installation steps
  • Plugin is successfully installed.
  • Restart Eclipse