Installation

jabiercoding edited this page Apr 10, 2017 · 28 revisions

Easy installation

BUT4Reuse is built on Eclipse. Tested on Eclipse Neon (4.6) with Java 1.8

Use the Eclipse Update site.

Select the text of this link and drag and drop it in your Eclipse installation.

https://raw.githubusercontent.com/but4reuse/but4reuse/master/release/org.but4reuse.site/site.xml

Otherwise, in your Eclipse installation, select Help -> Install New Software.

Then click on the "Add" button

Enter a Name (the name is not important) and the following http https://raw.githubusercontent.com/but4reuse/but4reuse/master/release/org.but4reuse.site/site.xml

Select the Bottom-Up Technologies for Reuse feature and be sure that the option "Contact all update sites during install to find required software" is checked.

Click next and follow the instructions to complete the installation.

Download all projects and run BUT4Reuse from the source code (core, experimental and tests)

https://github.com/but4reuse/but4reuse.git . No port is normally needed and no user and password are needed.

Then click on Import existing projects and wait, then select all the plugins that appear and they will appear in the Eclipse workspace.

Alternatively, if you don't want to use git, you can download all the repository as a zip file https://github.com/but4reuse/but4reuse/archive/master.zip and then import the projects in Eclipse.

  • Do not worry if some projects, or all of them have errors, a check the Troubleshooting subsection.
  • Launch the source code (Right click in any project, Run as -> Eclipse Application) and the plugins will be loaded and a new eclipse will open containing the BUT4Reuse tool

Troubleshooting

  • Most of the projects have errors: Check in Windows -> Preferences -> Java -> Compiler -> Compilance level. Set it to 1.7. Also, check that you are using Java 1.8 for example going to your operative system terminal and using the command "java -version". If you want to keep using in your system previous java versions, you can download Java 1.8 jre, and then add it going to Windows -> Preferences -> Java -> Installed JREs, then in Windows -> Preferences -> Plug-in Development -> Target platform, select the active target platform and click on the "Edit..." button, then in the Environment tab, do not select "Default JRE" but select "JRE name" and then the 1.8 version.
  • Some org.but4reuse.adapters.* projects have errors: Probably is because of missing plugins that are not included. Check Adapters for information about specific adapters. If you are not interested in this artefact type you can just right click the project and click on Close Project. For example, for adapters.emf you will need EMF DiffMerge v0.3.
  • org.but4reuse.featuremodel.synthesis exports feature models in FeatureIDE format, install FeatureIDE from the Eclipse Marketplace.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.