Installation instructions
- If you haven't already, install the Eclipse IDE. The installer application will first ask which Eclipse variant it should download. Please choose the second option, "Eclipse IDE for Java EE Developers".)
- Start Eclipse, and install the "Counterclockwise" plugin:
- Go to Help > Eclipse marketplace...
- Search for "Counterclockwise"
- Click "Install".
- Next, install the Ekeko/X plugin (We only need this for its AST browser.):
- Go to Help > Install new software...
- In the "Work with:" text box, enter the URL: http://soft.vub.ac.be/~cderoove/eclipse
- Only add a checkbox next to Ekeko-based program transformation > Ekeko/X
- Click "Next" and follow the usual installation steps.
- Download the following file: http://soft.vub.ac.be/~tmoldere/qwalkeko/Qwalkeko-UserStudy-2.zip
- The .zip file contains a number of Eclipse projects; we'll now import them all:
- Go to File > General > "Existing projects into workspace"
- Select the .zip file ("Browse" button next to "Select archive file:").
- Ensure all projects are selected, and click "Finish". (Wait a few seconds for the compilation process to finish.)
Getting started
- To start Qwalkeko:
- In Eclipse, look for the
EkekoPlugin.launch file in the damp.ekeko.plugin project.
- Right-click it > Run as > EkekoPlugin.
- A new Eclipse instance (with the Qwalkeko plugin enabled) will now start. (It will automatically create its own workspace directory at
../qwalkeko-runtime-workspace)
- In the new Eclipse instance:
- Go to: Ekeko (menu bar) > Qwalkeko > Convert git repository
- Select the
.git directory inside ~/eclipse-oxygen-workspace/QwalkekoWriting.
(If you can't see the .git folder on a Mac, press Cmd+Shift+. to show hidden files.)
- A new project will appear. Right-click it and select Configure > Include in Ekeko queries
- Start a REPL via Ekeko > Start nREPL (A dialog box will open as a confirmation; click OK to close it.)
- Go back to your original Eclipse instance. In the console you'll see a message "Started Ekeko-hosted nREPL server: nrepl://localhost:xxxxx". Click on the nrepl:// link to access the REPL.
- In the project
damp.qwalkeko.plugin, open the file src/qwalkeko/experiments/userstudy.clj
- Go to: Clojure (menu bar) > Load file in REPL (You'll get get one warning that "==" is being redefined; this is normal.)
- You're now ready to start writing queries.