The redirector was developed using Visual C++ Ver.6.0, so having this environment is a prereq if you want
to perform a custom build. You should also have Platform SDK from January 2003 or later or
at least IIS developer SDK.
The easiest way to build the isapi redirector is to use Microsoft Visual Studio
and open the jk/native/iis/isapi.dsp file.
It is recommended that you use Visual Studio 2003
or later for building isapi redirector, to be able to use the TRACE logging
features.
If using Visual Studio 6.0 then it is recommended that you download
Visual Studio Service Pack 5 or any later version.
The steps that you need to take are if wish to build from command line:
-
Change directory to the isapi plugins source directory.
-
Make the source with MSDEV
Change directory to the isapi plugins source directory c:\>cd c:\jakarta-tomcat-connectors\jk\native\iis
Build the sources using MSDEV c:\>MSDEV isapi.dsp /MAKE ALL
|
If msdev is not in your path, enter the full path to msdev.exe.
This will build both release and debug versions of the redirector plugin.
An alternative will be to open the isapi workspace file (isapi.dsw) in msdev and
build it using the build menu.
You can also use the free Microsoft tools for building mod_jk. You will need to download the
Platform SDK and
Microsoft Visual C++ Toolkit 2003
Copy the nmake.exe from PlatformSDK\bin\Win64 to PlatformSDK\bin.
Change directory to the isapi plugins source directory c:\>C:\Vctoolkit\vcvars32.bat
c:\>C:\PlatformSDK\vcvars32.bat
c:\>nmake -f Makefile.vc
|