WOinstallThis command moves your WebObjects application the right place, sets permissions, and ownership. Note: Before using this command make sure you review it, use it at your own risk. When this command is run it:
UsageUsing this command is very simple. Copy your WebObjects application to a given folder on your deployment server, you can call it WOinstall. Copy the woinstall command to this folder as well. Open Terminal.app or get to a command shell on your deployment server. Switch into the WOinstall directory. Run the following command: % ./woinstall MyGreatWOApp.woa The % is the command line prompt and should not be typed in. If you use a different shell it may look different. The command will proceed to install your application, copy the web resources to your web site and give all files the proper permissions. RequirementsThe WOinstall command is written with the assumption that it will run on a Mac OS X Server. Theoretically, this command will run on other UNIX-like operating systems as long as some path names are changed: APPPATH="/Library/WebObjects/Applications" WEBPATH="/Library/WebServer/Documents/WebObjects" WEBRSRC="Contents/WebServerResources" To change the owner and group that the command will apply to the WebObjects application change the following code: WOUSER="appserver" WOGROUP="appserveradm"Log directory The log directory gets created but JavaMonitor must sill be used to tell your WebObjects application where to write the log files. LOGPATH="`echo /var/log/$WOAP | sed 's/\.woa$//g'`" NoticeBy using this command you agree to the following terms: Use this software 'as is.' In no event shall the author be liable for any damages whatsoever arising out of the use of or inability to use this software. There are no warranties, either expressed or implied, regarding the functionality of the WOinstall command. My current employer, past employers, or any internet service providers are in no way responsible for this software. "WOinstall" Copyright © 2006-2007 Klaus Berkling, All rights reserved. |
Copyright © 2009 Klaus Berkling, All rights reserved.