Child pages
  • Making RPMs of the deployment tools
Skip to end of metadata
Go to start of metadata

Starting with Wonder 6.0, spec files have been added to Wonder so that you can build RPM packages of the deployment tools (wotaskd, Monitor and the Apache module) for RedHat, CentOS and Amazon Linux. If you wish to build the RPMs yourself, this is how you do it:

First, you need to install (you can use WOInstaller.jar to do that) the core WebObjects frameworks on the Linux box since the RPMs will build the tools with the frameworks. You also need a copy of a JDK (1.6 or 1.7, OpenJDK should be fine if you don't wish to use the one from Oracle) and a copy of Ant (1.7 or later).

Install rpm-build on your RedHat, CentOS or Amazon Linux box:

sudo yum install rpm-build

With a regular user (NOT root!), create the directory hierarchy to build the RPMS:

mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros

Next step: you need to put the source code of Wonder into the SOURCES folder:

curl -L -o ~/rpmbuild/SOURCES/master

Download the three spec files:


You are now ready to build the RPMs;

rpmbuild -ba wotaskd.spec
rpmbuild -ba womonitor.spec
rpmbuild -ba woadaptor_x86_64.spec

The RPMs will be located in ~/rpmbuild/RPMS/

  • No labels