« [Article] Servoy Module Development Considerations and Best Practices | Main | [Tip] Fancy table borders in HTML »

May 26, 2005

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

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

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>

Picture5png

And hey presto ...you're done!

| Posted by David Workman on May 26, 2005 at 05:52 PM in Tips | Permalink

Comments

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

Posted by: Popstar | May 28, 2005 5:44:02 AM

I'm using this technique extensively. But, how do I get Servoy to use Java 5 AKA 1.5 instead of 1.4.x?

Posted by: Swingman | Nov 7, 2005 7:54:33 AM

prefix with full path to java eg /Library/Java/MacYada/1.5/java

Posted by: Popstar | Aug 2, 2006 7:15:22 AM

Post a comment