-
Create a folder named classes under the root folder which serves as the output directory for the project.
-
In project root folder, create a system variable COMPONENT pointing to the root directory:
Linux / Mac : execute command
source queryenv
Windows : follow the guide
Eclipse (other IDEs such as IntelliJ are similar) : follow the guide
Windows : execute build.bat file
Linux / Mac : execute build.sh file via
./build.sh
Sample testing files are provided in testcases directory.
Please refer to this guide for more details.
Eclipse / IntelliJ :
- Copy the test cases generated in previous step into the root folder. Run the project with extra parameters query.in query.out
Command line :
- Copy the test cases generated in previous step into the classes folder.
- Run the project
java QueryMain _query.in_ _query.out_