****** Nirva source compilation for Windows ****** ****** Requirements ****** visual c++ 2008 at least java sdk (at least 1.4) with javac compiler ****** Installing sources ****** Install Nirva distribution package Unzip the corresponding version source gz file in the Nirva installation directory This create a tar file. Untar this file using 7zip or similar tools (be careful if you use winzip: it can hang because the file is quite big) This installs all sources in the Sources subdirectory ****** Compiling nirva server (nvs) ****** Stop Nirva if it's running Go into the directory Sources/nvs (32bits) or Sources/nvs/x64 (64 bits) Open the nvs.sln project with visual studio and compile the project (release or debug mode) The resulting executable (nvs.exe for release version and nvsd.exe for debug version) is copied into the Nirva/Bin directory. ****** Compiling Perl interface ****** Stop Nirva if it's running Go into the directory Sources/nvperl (32bits) or Sources/nvperl/x64 (64 bits) Open the nvperl.sln project with visual studio and compile the project (release or debug mode) The resulting library (nvperl.dll for release version and nvperld.dll for debug version) is copied into the Nirva/Bin directory. ****** Compiling Java interface ****** Stop Nirva if it's running Go into the directory Sources/nvjava (32bits) or Sources/nvjava/x64 (64 bits) Open the nvjava.sln project with visual studio and compile the project (release or debug mode) The resulting library (nvjava.dll for release version and nvjavad.dll for debug version) is copied into the Nirva/Bin directory. ****** Compiling Java files ****** Stop Nirva if it's running Go into the Sources/java directory Run the dojava.bat file from a dos console This builds the nirva.jar file and cold fusion interface The resulting files are copied into the Nirva/Bin directory. ****** Compiling Dotnet interface ****** Stop Nirva if it's running Go into the directory Sources/nvdotnet (32bits) or Sources/nvdotnet/x64 (64 bits) Open the nvdotnet.sln project with visual studio and compile the project (release or debug mode) The resulting library (nvdotnet.dll for release version and nvdotnetd.dll for debug version) is copied into the Nirva/Bin directory. ****** Compiling Dotnet files ****** Stop Nirva if it's running Go into the Sources/nirvadn directory Open the nirvadn.sln project with visual studio and compile the project (release or debug mode) The resulting library (nirvadn.dll) is copied into the Nirva/Bin directory (release only). ****** Compiling nirva client library (nvc) ****** Go into the directory Sources/nvc (32bits) or Sources/nvc/x64 (64 bits) Open the nvc.sln project with visual studio and compile the project (release or debug mode) The resulting library (nvc.dll) is copied into the Nirva/Bin directory (release only). ****** Compiling nirva console client (nvcc) ****** nvc must have been compiled first Go into the directory Sources/nvcc (32bits) or Sources/nvcc/x64 (64 bits) Open the nvcc.sln project with visual studio and compile the project (release or debug mode) The resulting executable (nvcc.exe) is copied into the Nirva/Bin directory (release only). ****** Compiling nirva nvd tool (nvd) ****** nvc must have been compiled first Go into the directory Sources/nvd (32bits) or Sources/nvd/x64 (64 bits) Open the nvd.sln project with visual studio and compile the project (release or debug mode) The resulting executable (nvd.exe) is copied into the Nirva/Bin directory (release only). ****** Compiling nirva install program (nvinstall) ****** Go into the directory Sources/nvinstall (32bits) or Sources/nvinstall/x64 (64 bits) Open the nvinstall.sln project with visual studio and compile the project (release or debug mode) ****** Compiling ActiveX connector (nvcx) ****** nvc (win32) must have been compiled first Go into the directory Sources/nvcx (32bits) or Sources/nvcx/x64 (64 bits) Open the nvcx.sln project with visual studio and compile the project (release or debug mode) ****** Debugging nirva server ****** Under visual c++, modify the following debugging options (debug version) - Command: Nirvadir/Bin/nvsd.exe - Command Arguments: -c -v - Working directory: Nirvadir/Bin Where Nirvadir is your Nirva installation directory You must have first compiled in debug mode the following modules: - nvdotnet - nvjava - nvperl