Changes for page About the Properties file
Last modified by Theodore Petrosky on 2016/06/28 12:30
From version 12.1
edited by Kieran Kelleher
on 2007/10/10 15:47
on 2007/10/10 15:47
Change comment:
There is no comment for this version
To version 7.1
edited by Pascal Robert
on 2007/12/15 18:30
on 2007/12/15 18:30
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. kieran1 +XWiki.probert - Content
-
... ... @@ -9,7 +9,7 @@ 9 9 10 10 {{/panel}} 11 11 12 -WebObjects manages application preferences using a similar mechanism implemented by its [[com.webobjects.foundation.NSProperties>>http://developer.apple.com/documentation/ WebObjects/Reference/API/com/webobjects/foundation/NSProperties.html]] class. The file format is as per the spec. In many references you will see specs say that a certain file is in java.io.Properties file format, however if I am not mistaken, they really mean the java.util.Properties, since even as far back as Java 1.1 API, there was no such class as java.io.Properties.12 +WebObjects manages application preferences using a similar mechanism implemented by its [[com.webobjects.foundation.NSProperties>>http://developer.apple.com/documentation/MacOSXServer/Reference/WO54_Reference/com/webobjects/foundation/NSProperties.html]] class. The file format is as per the spec. In many references you will see specs say that a certain file is in java.io.Properties file format, however if I am not mistaken, they really mean the java.util.Properties, since even as far back as Java 1.1 API, there was no such class as java.io.Properties. 13 13 14 14 In any case, WebObjects directly supports the use of [[Java 1.4 style properties>>http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html]] entries in the file named Resources/Properties in the woa and framework bundle format. 15 15 ... ... @@ -39,7 +39,7 @@ 39 39 40 40 === User Properties === 41 41 42 -If your user name is 'joe', then in your WebObjects application, you can create a file named Properties.joe which is read in last when joe launches his WebObjects app in his Eclipse development enviromnent. This is useful for development teams. Each team member can have properties specific to his/her own development enviromnent such as smtp server, logging properties, database mconnection dictionary settings, etc.42 +If your user name is 'joe', then in your WebObjects application, you can create a file named Properties.joe which is read in last when joe launches his WebObjects app in his Eclipse development enviromnent. This is useful for development teams. Each team member can have properties specific to his/her own development enviromnent such as smtp server, logging properties, database connection dictionary settings, etc. 43 43 44 44 === Derived Properties === 45 45 ... ... @@ -71,4 +71,4 @@ 71 71 72 72 == Conclusion == 73 73 74 -So, bysimply putting aplication and logging properties into the Properties file means that all your configuration is in one place **and** each member of the development team can override those deployment settings with their own user based Properties files. Useful when they want to add DEBUG logging on stuff that other team members are not interested in.74 +So, simply putting application and logging properties into the Properties file means that all your configuration is in one place **and** each member of the development team can override those deployment settings with their own user based Properties files. Useful when they want to add DEBUG logging on stuff that other team members are not interested in.