To compile and install KELP in JBuilder 5
, JBuilder 6 or JBuilder 7 there have to be done:Compile and create Toolbox archive file toolbox.jar,
Compile AddinCore files and
Compile and create KelpAddin
Implemeting KELP in JBuilder
In <Kelp source root>\modules\Toolbox directory is Toolbox.jpr project file. Required libraries for compiling Toolbox project is xmlc.jar and xerces.jar. Compile files in this project and build java classes (in \modules\Toolbox\classees directory). To create Toolbox archive file you have to run bulid_Toolbox.bat(in \modules\Toolbox\classees directory).
In <Kelp source root>\modules\AddinCore directory is AddinCore.jpx project file. Required libraries for compiling AddinCore project are: xmlc.jar, xerces.jar, and toolbox.jar.
Compiling and creating KelpAddin archive file
In <Kelp source root>\modules\AddinJBuilder directory is AddinJBuilder.jpx project file. Required libraries for compiling AddinJBuilder project are: xmlc.jar and toolbox.jar, path to AddinCore output files and JBuilder archive files JBuilder.jar and help.jar (its location is in <JBuilder root>\lib directory). To create KelpAddin archive file you have to rebuild KelpAddin
JBuilder.jar file in AddinJBuilder project.
In <Kelp source root>
directory is build.xml file. This file is used by ant for compiling and creating
archive files. All that you have to do is to start this building process is
to call build_Kelp_with_ant.bat file in <Kelp source root> directory.
Before that, you have to set JDK_HOME variable (directory of your JDK installation)
in build_kelp_with_ant.bat:
set
JDK_HOME=c:\jdk1.3.1 enhydra.root=/aonyx5.0
jbuilder.root=/jbuilder6
If you
want to generate only toolbox classes and archive files (not AddinKelp.jar),
just start build_toolbox_with_ant.bat file in <Kelp source root>\modules\Toolbox
directory. Before that, you have to set JDK_HOME variable (directory of your
JDK installation) in build_toolbox_with_ant.bat:
set
JDK_HOME=c:\jdk1.3.1 enhydra.root=/aonyx5.0
Ant build
process creates archive (jar) file in <Kelp source root>/lib; directory:
toolbox.jar. Preparing jar archives For installing KELP in
JBuilder it is necessery to have these jars: toolbox.jar, KelpAddin.jar, enhydra.jar,
xmlc.jar. xerces.jar, tomcat.jar and core.jar.
All required jar files for build using jakarta-ant is situated in <Kelp source
root> directory.
Implemeting
KELP in JBuilder
Copy these jar files into your hard drive:
The location of toolbox.jar file is <aonyx5.0 root>\lib\build directory
and it could be for examle: C:\aonyx5.0\lib\build
The location of KelpAddin
Changing JBuilder configuration file
For installing KELP in JBuilder, JBuilder configuration file have to be changed. That configuration file is: JBuilder.config file and it's location is in <JBuilder root> \bin directory
There have to be added these
lines:
C:\jbuilder5\kelp5\lib\KelpAddin
These lines have to be
added before...
# Add all JAR files located in the patch, lib and lib/ext directory addjars
../patch addjars
../lib addjars
../lib/ext
...lines.
Copy Enhydra.libtary file into JBuilder/lib directory. Modify path of enhydra.jar file if necessary.
After this it is necessary to restart JBuilder.