Step 1 - Get software development tools ready
See Java Tools table on right for links to download sites and descriptions, including recommended versions, which are important for avoiding compatibility issues. The Java SDK must also be installed on your PC. Eclipse is a recommended Java development enviroment, but also popular are NetBeans, JDeveloper and IntelliJ IDEA.
The installation assumes Maven will run from the command line. To prove this, execute "mvn --version" and check the resulting print out includes the expected version. eg.
Apache Maven 3.2.3 ...
Maven home: /usr/local/apache-maven-3.2.3
...
For more information on Eclipse set up, go to Maven for Eclipse.
Step 2 - Download project to your PC
The Classy Logic project is downloaded from the a public Git repository. In a command console, go to your chosen workspace location and run:
Upon completion, the project will be found in the "xpl" sub directory, from now referred to as the eXPL "home location". There are two modules, parser, which is the eXPL parser and query engine and tutorial. which contains the code examples for eXPL Reference.
Step 3 - Maven Build
To build the project and deploy artifacts to the local repository, go to the eXPL home location and run:
Upon completion, the message "BUILD SUCCESS" should be displayed. If the build failed, then you will need to scroll back and investigate what error messages appeared during the build.
Tutorial
The recommended approach to running tutorial examples is to import eXPL modules "parser" and "tutorial" into Eclipse as Maven projects. Each example can be run using "Run as Java application...". However, other IDEs such as IntelliJ IDEA can be used, or even the command line.
