The build system has been updated so that it generates and controls it's
own profile in an app server. By default this will use the contents of
jbossesb-server-base.zip to create the server profile although the
intention is to allow this to be overridden by specifying different
server home/config properties (still to be finished).
The server instance will also include the ftp-server as a default,
provided that no the ftp server properties have been configured.
The important targets within the scripts are the following
product/build.xml targets
- start-server
This target creates and executes a fresh profile for running the
tests. This profile is spawned in the background and will not be
terminated if called directly. The server profile consists of the
standard AS profile plus the optional ftp server. There are no ESB
specific components deployed.
- stop-server
This target terminates an already running profile.
- integration
This target now starts the server, runs the integration and then
terminates the server. The server should always be terminated when
this target completes.
- ci-integration
This target extends the previous one to include the generation of
the build artifacts ant reports.
product/build.xml targets
- start-server
This target creates and executes a fresh profile for running the
tests. This profile is spawned in the background and will not be
terminated if called directly. The server profile consists of the
standard AS profile, the optional ftp server and the ESB artifacts.
The ESB artifacts are installed using the script from the
product/install directory and should therefore be consistent with
a fresh install from the distribution.
- stop-server
This target terminates an already running profile.
- ci-test
This target now starts the server, runs the integration tests and
then terminates the server. The server should always be terminated
when this target completes.
The top level integration-build.xml has also been simplified and now
wraps product/ci-integration and qa/ci-test. You can run the complete
CI test from here or product/qa sections using the above targets.
If you are running an individual test then you can call the appropriate
'start-server' target to create and execute the server. Individual
tests should still work, if they do not then please let me know.
There were also a couple of minor changes in the codebase to allow this
to be done.
- any tests deploying infrastructure artifacts (ftp-server.sar or
jbossesb.sar) have had these sections removed.
- hardcoded FTP configuration have been removed.
If you find any problems with this please let me know.
Kev
--
JBoss, a Division of Red Hat
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire,
SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA) and David
Owens (Ireland)