FFL2:FFL2 Main/Dev Environment/Import FFL2 projects into Eclipse: Difference between revisions

From FFL Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
# Make sure Subclipse plugin is installed - the project import may fail if not
* Make sure JDK 1.8 is installed
# Start Eclipse (e.g. c:\eclipse-helios\eclipse.exe) and set your workspace location to be the fantacy/workspace folder (e.g. D:\Projects\fantacy\workspace)
* Start Eclipse (e.g. /opt/eclipse/eclipse) and set the workspace to fantacy/java/ffl_workspace (this will be a new folder)
# Go to the workbench (link at top right)
[[File:FFl2-create-eclipse-workspace.png]]
# Import the projects as follows
* Make sure JDK 1.8 is set as the workspace default JRE
#* File | Import | General | Existing Projects into Workspace
** Window | Preferences | Java | Installed JREs
# Select root directory to be the 'workspace' directory
* Install the Subclipse plugin
# Confirm that all projects are checked and click 'Finish' (see below)
** see [[../Install Subclipse Eclipse plugin]]
[[File:FFL2-Eclipse-project-import.png]]
* Go to the workbench (link at top right)
* Import the projects as follows
** File | Import... | Maven | Existing Maven Projects
* Select root directory to be the 'java' directory
* Uncheck the 'fantacyreactor' project and the 'Add project(s) to working set' options and click 'Finish' (see below).  NOTE: There is now also a fantacyweb-tomcat project which should be added.
[[File:FFL2-eclipse-maven-project-import.png]]

Latest revision as of 17:24, 14 February 2016

  • Make sure JDK 1.8 is installed
  • Start Eclipse (e.g. /opt/eclipse/eclipse) and set the workspace to fantacy/java/ffl_workspace (this will be a new folder)

  • Make sure JDK 1.8 is set as the workspace default JRE
    • Window | Preferences | Java | Installed JREs
  • Install the Subclipse plugin
  • Go to the workbench (link at top right)
  • Import the projects as follows
    • File | Import... | Maven | Existing Maven Projects
  • Select root directory to be the 'java' directory
  • Uncheck the 'fantacyreactor' project and the 'Add project(s) to working set' options and click 'Finish' (see below). NOTE: There is now also a fantacyweb-tomcat project which should be added.