...
Assuming your configuration is bwbuild/myconfig in your home directory, run this command:
Code Block |
---|
./bw -bwc myconfig clean.deploy
|
If you created a configuration area somewhere else in your filesystem, then
Code Block |
---|
./bw -bwchome configdir -bwc myconfig deploy
|
To build with the jboss-mysql configurations shipped in the quickstart:
Code Block |
---|
./bw -quickstart -bwc jboss-mysql deploy |
These commands 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 -bwcquickstart myconfig clean.deploy <-- builds with clean ./bw -bwcquickstart myconfig 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).
Code Block |
---|
./bw <config files args> -tzsvr (e.g. ./bw -bwc myconfig-quickstart -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>-quickstart -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
Use -quickstart, -bwchome, -bwc as appropriate.
Code Block |
---|
./bw <config files args>-quickstart -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>-quickstart -synch |
This command builds the bw-synch.ear and deploys it to <qs>/jboss-5.1.0.GA/server/default/bwdeploy.
...