← servoy magazine

[Tip] How to run multiple instances of Servoy from within the same directory on Mac OSX

  • Tips

by Edward Callaghan

Have you ever wanted to have more than one copy of Servoy running where the repository could either be on a test machine or on the production machine? Here’s how!

  • Duplicate the Servoy application and rename to a new instance name Servoy Production
  • Duplicate servoy.properties file and rename to production.properties

[image unavailable: Picture6png]

  • Show package contents of your new instance Servoy Production by right clicking or control clicking the application
  • Modify the info.plist file in text editor from

    <string>-Xmx200M</string>

    to

    <string>-Xmx200M -Dproperty-file=production.properties</string>

[image unavailable: Picture5png]

And hey presto ...you're done!

Comments (3)

Popstar
On windows you can achieve the same result by editting the desktop shortcut servoy creates. 1. Make a copy of the desktop shortcut 2. right click on it choose properties 3. on the shortcut tab in the target box add -Dproperty-file=production.properties right behind the Xmx option (like in the article above) 4. on the general tab give it a meaningfull name 5. click ok and you're all set
Swingman
I'm using this technique extensively. But, how do I get Servoy to use Java 5 AKA 1.5 instead of 1.4.x?
Popstar
prefix with full path to java eg /Library/Java/MacYada/1.5/java