diff --git a/build.xml b/build.xml
index 1e6e16f..b7106e2 100644
--- a/build.xml
+++ b/build.xml
@@ -5,7 +5,7 @@
Created Feb 4, 2005 1:23:05 PM as part of migration from ANT
Last Modified March 24, 2007
- Tested on Eclipse 3.2 with the Callisto plugis, Ant 1.6.1 and MS Visual C++ 8 (2005)
+ Tested on Eclipse 3.3 with the Europa C++ plugins, Ant 1.7 and MS Visual C++ 8 (2005)
Eclipse users are pretty lucky because the whole project
can be built inside eclipse due to their built in ANT support.
@@ -55,6 +55,8 @@
+
+
@@ -206,12 +208,24 @@
- Building Jacob , sample and, test classes in ${release.dir.java}
- Building Jacob classes in ${release.dir.java}
+
+ Building sample classes in ${release.dir.java}
+
+ Building Jacob test classes in ${release.dir.java} using junit jar ${junit.jar}
+
-
+
@@ -436,5 +450,34 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/docs/BuildingJacobFromSource.html b/docs/BuildingJacobFromSource.html
index 2160cd3..f5004a5 100644
--- a/docs/BuildingJacobFromSource.html
+++ b/docs/BuildingJacobFromSource.html
@@ -17,28 +17,47 @@ Unpack the source archive zip file or check the files out of CVS into d:\jacob
or some other familiar place. Source Java and JNI files are located in seperate
packages from the unit tests and the samples.
-The java code is in .\src.
-The C++ code is in .\jni.
-Code is compiled into .\release
+
+- docs: documentation
+
- jni: c++ code
+
- lib: libraries needed to compile unit tests
+
- release: a directory built by the ant script where jacob is constructed
+
- samples: sample programs
+
- src: Jacob Java source files
+
- unittest: JUnit 3.8.1 unit test programs. Run from the test target in build.xml
+
- vstudio: some out of date VC++ project files
+
- bulid.xml: the ant build script. It can be run from inside Eclipse
+
The Servlet examples that required j2ee libraries to compile have temporarily
been removed.
Development Environment
The simplest build environment includes MS Visual C++ 8.0 (Studio 2005),
-Eclipse 3.2 with the C/C++ module and JDK 1.4.
+Eclipse 3.3 with the C/C++ module and JDK 1.4.
In that situation, you would just create the compilation_tools.properties
-using the example build.xml as a template. All of the releases, up through 1.12,
-were built using Visual C++ 6.0. 64 bit builds are supported starting with release 1.11.
-Microsoft Visual C++ 8.0 supports 64 bit builds. so no additional tools are required.
-
+using the example build.xml as a template.
- Microsoft Visual C++ 8.0 and it's included library. (to D:\apps in my case)
-
- Eclipse 3.2 or later from www.eclipse.org. I use the C/C++ plugin for
- eclipse rather than MS Visual Studio
+
- Eclipse 3.3 or later from www.eclipse.org as the Java IDE.
+
- Eclipse 3.3 or later with the C/C++ plugin can be used for C coding in place of VC++ IDE.
- Java JDK 1.4 (1.12 was built using 1.4.2.13) Compilation using JDK 1.5 has not been tested
+
+
+| Release | C Version | Java Version | ANT Version | Eclipse Version Used | generated DLLs |
+| up to 1.6 | VC 98 (6.0) | ? | Used MAKE | ? | 32 bit |
+| 1.7 | VC 98 (6.0) | 1.4 | 1.? | ? | 32 bit |
+| 1.8 | VC 98 (6.0) | 1.4 | 1.? | ? | 32 bit |
+| 1.9 | VC 98 (6.0) | 1.4 | 1.? | ? | 32 bit |
+| 1.10 | VC 98 (6.0) | 1.4 | 1.? | 3.?? | 32 bit |
+| 1.11 | VC 98 (6.0) & 2003 64bit libs | 1.4.? | 1.6.? | 3.2.1 | 32 and 64 bit |
+| 1.12 | VC 98 (6.0) & 2003 64bit libs | 1.4.2 | 1.6.5 | 3.2.2 | 32 and 64 bit |
+| 1.13 | VC 2005 | 1.4.2 | 1.7.0 | 3.3 | 32 and 64 bit |
+
+Microsoft Visual C++ 8.0 supports 64 bit builds. so no additional tools are required.
+
Build Process
@@ -85,18 +104,20 @@ Open up the project properties and go to the "Java Build Path" properties panel.
Add folders samples, src and unittest
to the build path in the Source tab.
Exclude *.txt from each of the newly added folders.
- Set the build output directory to jacob-project/release/java
+ Set the default build output directory to jacob-project/release/java
Running Samples and Tests
-Samples and test programs can be found in the source jar or in CVS. The programs
+Samples and JUnit test programs can be found in the source jar or in CVS. The programs
can be run from a bat file or from inside the Eclipse IDE. The java library
path variable must be set to include the directory the jacob.dll is in. The
simplest way to do that is to add it as a command line option.
+
+JUnit test programs can be individually run from inside eclipse or en-masse
+via the ant test target.
-
-Last Modified 4/2007
+Last Modified 7/2007 1.13M3