...
Apart from the Bedework core, only the timezone server is critical to getting Bedework running. You'll need to rebuild the timezone server after you change <tzid> in bwbuild/myconfig/cal.options.xml.
Assuming your deploy configuration is bwbuild/myconfig mydeploy.properties in your home directory, run this command:
Code Block |
---|
./bw -bwcdc myconfig clean.deploy |
If you created a configuration area somewhere else in your filesystem, then
Code Block |
---|
./bw -bwchome configdir -bwc myconfigmydeploy.properties deploy |
To build with the jboss-mysql configurations shipped in the quickstart:
Code Block |
---|
./bw -quickstart -bwc jboss-mysql deploy
|
These commands build This command build a number of EAR and WAR files in <quickstart>/bedwork/dist/, then deploy them to <quickstart>/jboss-5.1.0.GA/server/default/bwdeploy
Tip |
---|
If you build with "clean", the build will remove all the previously built files before building. ./bw -bwcdc myconfigmydeploy.properties clean.deploy <-- builds with clean ./bw -bwcdc myconfigmydeploy.properties deploy <-- builds without clean |
...
As with the above examples, unless your configuration files are under <home>/bwbuild, specify where the configuration files come from (-quickstart/-bwchome) and unless you are using the "default" configuration, specify the name of your configuration folder (-bwc)you need to specify and special deploy configuration.
Code Block |
---|
./bw <config files args> -tzsvrdc (emydeploy.g. ./bw -bwc myconfig properties -tzsvr ) |
This command builds bw-tzsvr.ear and deploys it to jboss-5.1.0.GA/server/default/bwdeploy.
Build and Deploy the Bedework CardDAV Server
Use -quickstart, -bwchome, -bwc as appropriate.
Code Block |
---|
./bw <config files args>-dc mydeploy.properties -carddav |
This command builds bw-carddav.ear and deploys it to <qs>/jboss-5.1.0.GA/server/default/bwdeploy.
Deploy the Bedework Addressbook Client
...
Code Block |
---|
./bw <config files args>-dc mydeploy.properties -carddav deploy-addrbook |
This command copies the files in <qs>bedework-carddav/clients/javascript/bwAddrbookClient to <qs>/jboss-5.1.0.GA/server/default/deploy/ROOT.war.
Deploy the Bedework Synch Server
Use -quickstart, -bwchome, -bwc as appropriate.
Code Block |
---|
./bw <config files args>-dc mydeploy.properties -synch |
This command builds the bw-synch.ear and deploys it to <qs>/jboss-5.1.0.GA/server/default/bwdeploy.
Hot Deploys
Currently hot deploys of the calendar server and clients always results in a broken system.
If you build and deploy Bedework while Bedework is running, JBoss <<should>> undeploy what was already running in favor of the newer packages. Often it works as advertises. Sometimes it doesn't. Stopping Bedework, re-deploying, and starting Bedework is safer. If you succeed in "hot deploying", you might want to schedule a restart for the next convenient time. Even successful hot deploys are likely to result in a larger memory footprint.