Build the java projects - isir/greta GitHub Wiki
Greta is composed of several Java projects, you need to open them in your favorite Java IDE and to build them. In this page we propose NetBeans to build the java projects.
In order to build the projects, open NetBeans and select File --> Project Groups... --> New Group... -->Folder of Project --> Browse... to find and open the folder just downloaded from GitHub --> Create a Group.
Once open all the projects, select all of them and with the right button of the mouse select Build
Now you are ready to run the Modular application.
If you have the correct version of JDK but can't build the project, you might have to specify to NetBeans wich version of JDK you want to use. To do so, go to C:\Program Files\NetBeans-12.6\netbeans\etc\netbeans.conf
, and verify the version of JAVA.
Not supported anymore, but may still work...
You can download ANT from https://ant.apache.org/. Download the binary distribution, unzip it, and move it to a directory of your choice. After that, set these environment variables (if don't know how to do it, you can try to see this example video: https://www.youtube.com/watch?v=83SccoBYSfA ) all in the user variables section:
- ANT_HOME: <the-unzipped-ANT-directory>
- Path: add the <the-unzipped-ANT-directory\bin>
- JAVA_HOME: <your-default-JDK-directory> (you might already have this set)
You are ready to use ANT! (don't forget to close the existing command line windows, though)
To build from a clean state, open the command prompt, go to the <GRETA_DIR>/
directory on your pc and run this command: ant build
To clean from a compiled state, open the command prompt, go to the <GRETA_DIR>/
directory on your pc and run this command: ant clean