# Developing against multiple servoy.properties files

**URL:** <https://forum.servoy.com/t/developing-against-multiple-servoy-properties-files/12056>\
**Category:** Classic Servoy\
**Created:** [April 15, 2010, 5:43pm UTC](https://forum.servoy.com/t/developing-against-multiple-servoy-properties-files/12056 "2010-04-15T17:43:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.servoy.com/u/david)\
**Post date:** [April 15, 2010, 5:43pm UTC](https://forum.servoy.com/t/developing-against-multiple-servoy-properties-files/12056/1 "2010-04-15T17:43:20Z")

</div>

Is there a way to start up developer against different servoy.properties files like we could do with Servoy 3 and earlier? I’m going a little crazy with all the Servoy installs I have going – one for each set of database connections. Be much easier to manage with properties files in 1-3 Servoy installs. The only reason I’d need more than one Servoy install then is for running different configurations of beans/plugins.

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [April 15, 2010, 5:48pm UTC](https://forum.servoy.com/t/developing-against-multiple-servoy-properties-files/12056/2 "2010-04-15T17:48:58Z")

</div>

Hi David,

look here: [http://forum.servoy.com/viewtopic.php?f … 814#p72262](http://forum.servoy.com/viewtopic.php?f=13&t=13814#p72262)

---

<div class="post-metadata">

**Author:** ![Roberto\_Blasco](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@Roberto\_Blasco](https://forum.servoy.com/u/Roberto_Blasco)\
**Post date:** [April 15, 2010, 5:56pm UTC](https://forum.servoy.com/t/developing-against-multiple-servoy-properties-files/12056/3 "2010-04-15T17:56:43Z")

</div>

Hi **david**.

What I do is to save all servoy.properties files I use in a folder.

i.e.  
[+] my\_servoy\_properties

- servoy(erp).properties
- servoy(cms).properties
- servoy(stores).properties
- servoy(hospital).properties

**Before** starting the developer I change the servoy.properties by the one I need (Just when I want to change of project). So ecah project has his own workspace, resource and servoy.properties.

It’s very important to do it before starting the developer to let servoy engage the file.

Best regards. Roberto.

---

<div class="post-metadata">

**Author:** ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.servoy.com/u/david)\
**Post date:** [April 15, 2010, 6:01pm UTC](https://forum.servoy.com/t/developing-against-multiple-servoy-properties-files/12056/4 "2010-04-15T18:01:47Z")

</div>

> Harjo:  
> Hi David,
> 
> look here: [http://forum.servoy.com/viewtopic.php?f … 814#p72262](http://forum.servoy.com/viewtopic.php?f=13&t=13814#p72262)

How to set up on a Mac?

---

<div class="post-metadata">

**Author:** ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.servoy.com/u/david)\
**Post date:** [April 15, 2010, 6:51pm UTC](https://forum.servoy.com/t/developing-against-multiple-servoy-properties-files/12056/5 "2010-04-15T18:51:45Z")

</div>

Ah k, gottit. Other thread helped a lot Harjo, thanks.

1- Duplicate the Servoy developer file and the servoy.properties file and give unique names  
2- Right-click on Servoy developer file and select “Show package contents”  
3- Open file “Contents/MacOS/servoy.ini”  
4- Specify the duplicated properties file by adding to the bottom:

```auto
-Dproperty-file=servoy_cms.properties

```

5- You can also specifically set the workspace to load with this instance by adding the path information (enter above the _-vmargs_ line, not at the bottom of the file):

```auto
-data
/Users/admin/workspace_cms

```

The end result is multiple Servoy developer application icons – each of which opens its own database connections and workspace. You can even run them simultaneously but I’m not sure how this would affect Eclipse history and other things that Eclipse stores to track your work session. I’m guessing things could get a little screwy ![:)]( "Smile")
