An AppleScript to start an SVN Server on boot
An AppleScript to start an SVN Server on boot
- Subject: An AppleScript to start an SVN Server on boot
- From: Alex Zavatone <email@hidden>
- Date: Tue, 13 Mar 2012 13:41:24 -0400
I got ticked off trying to set up a launchdemon to properly start SVN, so I popped open Cheeseman's UI Browser and quickly had a script that will start up SVN from the terminal on boot.
Note that my SVN repository is in my user's /Documents/svn folder. If your repo has non standard chars in it, you might want to single quote or escape them.
I just save this script as an app and have it run from the User's account in the Accounts panel.
Thanks again Bill for this great tool.
-- Start SVN on Login -- Alex Zavatone -- 03132013
-- GUI Scripting must be enabled from the Universal Access System Pref -- Click "Enable access for assistive devices"
tell application "Terminal" activate set myDocument to window 1 tell the text of myDocument set myString to "svnserve -d -r ~/Documents/svn" & return repeat with myChar in myString tell application "System Events" keystroke myChar end tell end repeat end tell end tell
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden