I am very new to B4i and one of the first things I wanted was a simple Windows style shortcut to launch the mac builder on my MacMini without having to open a terminal window then enter the command '
java -jar B4iBuildServer.jar' each time.
So the following is an easy way (well I think it is) to create such a thing.
On your Mac do the following;
java -jar B4iBuildServer.jar' each time.
So the following is an easy way (well I think it is) to create such a thing.
On your Mac do the following;
- Launchpad - Other - Script Editor
- Add the following lines
- tell application "terminal" to activate
- tell application "terminal"
- do script ("cd /full/path/to/your/macserver/folder/") in window 1
- Mine is located at /Users/gjt211/Documents/B4i/macserver_25/
- do script ("java -jar B4iBuildServer.jar") in window 1
- do script ("cd /full/path/to/your/macserver/folder/") in window 1
- end tell
- File - Save
- Navigate to the folder where you have your macserver files.
- Enter a name, something useful like "RunB4iBuildServer"
- Change File Format to "Application"
- Don't change any other options.
- Click Save
- Close the Script Editor