AboutWebLLC / unofficial-updater2

Ant script to update ColdFusion 8.0.1 or 9.0.x with all published patches
23 stars 6 forks source link

running from windows command line issues #25

Closed SteveDean closed 12 years ago

SteveDean commented 12 years ago

When I run this from the windows command line using the text option, the updater does not release control when it finishes. It just hangs there at the command line after it says Finished.

SteveDean commented 12 years ago

Thanks David for providing an updated version that can support my needs. The version that David provided to me (and will probably be available here soon) can be configured for automated patching. I updated the antinstall-config.xml file in the jar to include loadDefaults="true" in the installer section. Then I set a file named ant.install.properties in the same directory as the Unofficial-Updater2.jar with all of the configuration values specified. I ran the updater with a text-auto option (instead of text) and it did the patching for me.

So now I can set a batch script to stop services, run the updater, and start services again in the middle of the night as a scheduled task or cron job!

Thanks again David!!!

dcepler commented 12 years ago

Had to patch AntInstaller 0.8 to properly release control when complete. Occurred on Windows 7 and CentOS 5.8 and 6.2.