-
Notifications
You must be signed in to change notification settings - Fork 115
Development environment
Régis Décamps edited this page Apr 5, 2015
·
7 revisions
- JDK 5
- Maven 3
- git
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-11a.jar