Browse the C: / dev / shark directory, run the following command:
Configure -help
You should get the following output:
Parameters Value for Using With configure.bat:
Configure - Make Build.properties File with Default VALUES
Configure -help - Display this Screen
Configure [-jdkhome jdk_home_dir] [-instdir installdir] -writes prot parameters to the build.properties file
EXAMPLES:
Configure -jdkhome C: /j2sdk1.4.1 -instdir c: /shark-1.0
There is a * NIX shell script can do the same thing. I use this more simple to me. I don't need JDKHome settings, because my Java_Home has already set it, my installation directory is C: / Shark, below is me The command:
Configure -instdir C: / Shark
What is actually doing this command is to fill the property field in the build.properties file, I am as follows:
Version = 1.0
Version_Release = Beta2
VERSION_BUILD = 13
JDK_DIR = C: /J2SDK1.4.2_04
Install_dir = C: / Shark
Build_debug = on
Now you have to build, compile use Ant, but you should use the Make file that has already been provided, first we use -Help what else we have:
Make -help
Most options require us to have become, of course, you can also use the shell script to complete this task. We use the following command to build (this may take a little more time)
Make buildall
How to solve the problem in Build beyond the scope of this article, if we succeed, we can install it.
Make Install
This command will copy your file to your installation directory.