Now you should create a host-specific config file to customize the build to your
environment:
$ cd properties/
$ cp host.properties `hostname`.properties
$ vi `hostname`.properties |
These settings should be self-documenting, really. They mainly set up the database environment
and set the location of the tomcat installation.
More general setttings, that don't depend on the host you are developing on are contained in
the conf/ directory, but it should not be neccessary to do changes here for a first installation.
The build process makes use of the make-tool
ant which needs to be installed in the system to continue.
To create the files needed for build out of your host-specific config-file and the template files, please run:
The next step is the creation of the swamp database, and generation of database dependant code.
Thus we need a running MSQL instance and a valid user as described in the next section.
The command:
sets up the database tables and creates the Torque code for database access.
For the next step you need to have the msgfmt executable in your $PATH
for adding the translated strings from the .po files to the binary.
If everything went OK please call the wrapper script:
or on windows:
to compile and install the SWAMP server, the webSWAMP webapp and
the SWAMP SOAP interface to tomcat.
After starting/restarting tomcat your first SWAMP installation can be
accessed by browsing to the URL: http://localhost:8080/webswamp/swamp