-
Notifications
You must be signed in to change notification settings - Fork 115
Development environment
Régis Décamps edited this page Sep 25, 2018
·
7 revisions
- JDK 7
- git
- internet connection
Prerequisite:
- Maven plugin
- File > Project from Version Control > Git
- Enter Git repository URL:
https://github.com/jflex-de/jflex.git
- Run action Reimport All Maven Projects
mkdir workspace_jflex
cd workspace_jflex
git clone https://github.com/jflex-de/jflex.git jflex-parent
It's important to
- Have a jflex in a subdirectory of your workspace, otherwise Eclipse won't be able to load the parent POM
- Name the cloned directory with a different name than "jflex" otherwise the m2e plugin will get confused between
jflex
andjflex/jflex
- Start Eclipse and select
workspace_jflex
as your workspace. - Select File > Import > Maven > Existing Maven projects.
- Select
jflex-parent
as the root. Confirm with Import.
- Execute Run as > Maven Build
- Open Properties for
jflex
- In Java Build Path
- select Source tab, Add Folder… and add
jflex/target/generated-sources/jflex
. - select Librairies tab, Add JARs and add
jflex/lib/java-cup-11b.jar