Deploying with the makefile
To deploy the service, follow the steps in this section.
NOTE: Make sure that you have set up your environment as described in
Chapter 2, Setup in the
HydraExpress User Guide. On Windows, be sure you have set up your command window with the MSVC environment.
1. If the Agent is currently running, stop it by running the rwsfserver stop command, as shown below:
Windows rwsfserver stop
UNIX/Linux rwsfserver stop
2. Run nmake (Windows) or make (UNIX or Linux) at the command prompt with the deploy target. The makefile deploys the service into the HydraExpress installation. The DLLs or shared libraries for the service and client are placed in <installdir>\apps-bin on Windows and <installdir>/apps-lib on UNIX/Linux. The service descriptor for the Hello World service is copied to the Agent deployment directory at <installdir>\apps\servlets\helloworld\WEB-INF.
Windows nmake deploy
UNIX/Linux make deploy
3. Restart the Agent to load the new service by running the rwsfserver start, as shown below:
Windows rwsfserver start
UNIX/Linux rwsfserver start