Last modified by Markus Ruggiero on 2025/10/24 16:07

From version 18.1
edited by David Avendasora
on 2009/06/25 09:49
Change comment: There is no comment for this version
To version 25.1
edited by David Avendasora
on 2008/04/18 11:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,13 +1,7 @@
1 -=== Properties Files ===
1 +=== [[User-Specific Properties Files]] ===
2 2  
3 -==== User-Specific Properties Files ====
4 -
5 5  You can have any number of **Properties.username** files in your project's Resources directory in-addition-to the default **Properties** file. These Properties.username files will automatically load based on which user is launching the application. This allows you to have custom logging, email, database, etc configuration settings for each developer.
6 6  
7 7  This capability can also be (ab)used in combinination with the Launch parameter **-Duser.name** to specify Production vs Staging/Development properties. For example: a launch parameter of **-Duser.name=deployment** will cause **Properties.deployment** to be read when the application in launched.
8 8  
9 9  This can be very useful for automatically changing database connection configurations based on whether or not an application is being run in Production or Development.
10 -
11 -==== Development Only Properties File ====
12 -
13 -You can set properties that will only be active if the project is run in Development mode by creating a **Properties.dev** file. It will be loaded for all users.