Getting Started

The first step into getting started is to ensure that you can correctly build E-Gantt to do so you will require:
  • The latest version of E-GANTT
  • JDK 1.5.0+ (1.4 / 1.3 is no longer supported)

Extract the zip file

Extract the latest version of E-Gantt see sourceforge.net/projects/jgantt for the latest version you must ensure that when you do extract that you preserve the file directory structure with-in the zip file.

Ensure that you have enough space and that E-Gantt will be able to compile into the directory of your choosing

Launching ANT

If you have the JDK Correctly configured with the JAVA_HOME environment variable you should have no problems in compiling E-Gantt. E-Gantt will require the full 1.5 JDK for compilation purposes and JRE 1.5 for running.

E-Gantt has the following Ant targets:
Compile - this will compile and then JAR the three JAR files
Launch - this will compile and then execute these jar files

To run on windows we have provided a build.bat batch file in the \egantt home folder this can be run with either of the parameters to get started you should run the build launch command.

C:\egantt>build launch
C:\egantt>"C:\jdk1.5.0_06/bin/java" -cp lib/ant/ant.jar;lib/ant/ant-launcher.jar
;lib/ant/ant-junit.jar;lib/junit/junit.jar;lib/clover/clover.jar;"C:\jdk1.5.0_06
/lib/tools.jar" org.apache.tools.ant.Main launch
Buildfile: build.xml
init:
compile:
[javac] Compiling 2 source files to C:\egantt\classes
[javac] Note: C:\egantt\src\demo\Java\demo\egantt\component\example\gantt\tu
torial1\TrivalGanttHeader.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[delete] Deleting: C:\egantt\lib\egantt\egantt-core.jar
[jar] Building jar: C:\egantt\lib\egantt\egantt-core.jar
[delete] Deleting: C:\egantt\lib\egantt\egantt-ext.jar
[jar] Building jar: C:\egantt\lib\egantt\egantt-ext.jar
[delete] Deleting: C:\egantt\lib\egantt\egantt-server.jar
[jar] Building jar: C:\egantt\lib\egantt\egantt-server.jar
[delete] Deleting: C:\egantt\lib\egantt\egantt-demo.jar
[jar] Building jar: C:\egantt\lib\egantt\egantt-demo.jar
[delete] Deleting: C:\egantt\lib\egantt\egantt-resources.jar
[jar] Building jar: C:\egantt\lib\egantt\egantt-resources.jar
[delete] Deleting: C:\egantt\lib\egantt\egantt-server.jar
[jar] Building jar: C:\egantt\lib\egantt\egantt-server.jar
launch:
BUILD SUCCESSFUL
Total time: 23 seconds
external image sflogo.php?group_id=49356