Thought I'd share this with this list if anybody does this a lot.
What it does: Does a split install build and upload via scp to Deployment machine via two Automator workflows. Only for typical WebObjects deployment with JavaMonitor, although scripts can be modified for each particular scenario.
Double-click attached workflow files to open in Automator. Save them as Finder plug-ins and you can do this all from the Finder ! You will need to save the two attached script files (scpWOProject.sh and scpWOImages.sh) somewhere and change the Automator workflows to point to the appropriate file. Read notes in shell scripts to do SCP with no password which is required for these to work or else they will fail because scp typically prompts for a password.
Automator Script Usage: 1. Delete your WO project build folder 2. If you have installed them as Finder plug-ins, right-click your project folder, go to Automator-->[choose your weapon, whatever you named it] 3. It will ask you for Admin password, then it will prompt you with a text box saying: "Enter arguments like: myproject.woa servername" 4. Enter the appropriate info (those will be used as arguments in the attached scripts) 5. Voila, Automation.......
Hope it proves helpful for somebody, ------------------- Nathan Walker Vision Worx Productions 229-244-6948
“Making the simple complicated is commonplace; making the complicated simple, awesomely simple, that's creativity.” —Charles Mingus
|