-
Notifications
You must be signed in to change notification settings - Fork 0
Crawljax Development
We use Apache Maven version 3.0.3 or later to build and manage the dependencies of Crawljax.
-
clone crawljax from GitHub.
-
run:
mvn install
. To make sure you get the latest version of Selenium WebDriver, runmvn install -U
. -
Make sure you have the Maven Eclipse plugin installed from the Eclipse marketplace.
-
In Eclipse, go to File > Import..., and choose Existing maven projects. Find the Crawljax directory you have cloned and select it for import. Crawljax is now a multi-module project, so select all the modules you need. The crawling engine is in the core module.
-
You can also have a look at one of the example classes in the example module.
Format the code according to the eclipse-formatter.xml
file in the root dir.
To automatically format your code on each save in Eclipse:
- Under Preferences, choose Java --> Editor --> Save Actions. Check the "Perform the selected actions on save", and check the "Format source code" box.