Sure, I just don't have any credentials to connect. On Wed, Feb 3, 2010 at 7:35 AM, Pascal Robert <[email protected]> wrote: > BTW, if you want to, you can put the script into Subversion on > services.wocommunity.org > >> I just finished writing a shell script that deploys a wo app (locally) >> after a hudson build. I use this with the Post Build Task plugin. >> >> The script does the following: >> -shuts down your app and turns off autorecover >> -copies the ${BUILD_NUMBER}/archive/dist/AppName-Application.tar.gz >> into /Library/WebObjects/Applications >> -backs up the old Application .woa >> -untars the new Application .woa >> -starts up the app, and turns autorecover back on >> -copies the >> ${BUILD_NUMBER}/archive/dist/AppName}-WebServerResources.tar.gz >> into /Library/WebServer/Documents/WebObjects >> -backs up the old WebServerResources .woa >> -untars the new WebServerResources .woa >> >> You can change the defaults by using the following arguments: >> >> Usage: deployWOApp.sh >> [-a App Name (Default = YourHudsonJob i.e. $JOB_NAME)] >> [-h Host Name (Default = yourserver.com i.e. calls hostname)] >> [-p JavaMonitor Password] >> [-P JavaMonitor Port (Default = 56789)] >> [-s (JavaMonitor use https instead http)] >> [-A App Location (Default = /Library/WebObjects/Applications)] >> [-W Web Doc Location (Default = >> /Library/WebServer/Documents/WebObjects)] >> >> e.g. /Library/Hudson/Dependencies/deployWOApp.sh -a MyApp -p mypass >> <deployWOApp.sh><Picture 1.png> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-deploy mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> >> http://lists.apple.com/mailman/options/webobjects-deploy/probert%40macti.ca >> >> This email sent to [email protected] > > > _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-deploy mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [email protected]
