Changes for page About the Properties file

Last modified by Theodore Petrosky on 2016/06/28 12:30

From version 18.1
edited by Pascal Robert
on 2007/12/15 18:30
Change comment: There is no comment for this version
To version 19.1
edited by Theodore Petrosky
on 2016/06/28 12:30
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.probert
1 +XWiki.tedpet
Content
... ... @@ -9,7 +9,7 @@
9 9  
10 10  WebObjects manages application preferences using a similar mechanism implemented by its [[com.webobjects.foundation.NSProperties>>url:http://developer.apple.com/documentation/MacOSXServer/Reference/WO54_Reference/com/webobjects/foundation/NSProperties.html||shape="rect"]] 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.
11 11  
12 -In any case, WebObjects directly supports the use of [[Java 1.4 style properties>>url:http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html||shape="rect"]] entries in the file named Resources/Properties in the woa and framework bundle format.
12 +In any case, WebObjects directly supports the use of [[Java 1.4 style properties>>url:http://docs.oracle.com/javase/6/docs/api/java/util/Properties.html||shape="rect"]] entries in the file named Resources/Properties in the woa and framework bundle format.
13 13  
14 14  == Using Properties in WebObjects ==
15 15  
... ... @@ -44,7 +44,6 @@
44 44  WOnder supports the use of @@ delimiters so that certain properties can depend on previously defined properties.
45 45  
46 46  {{code title="Derived Properties example"}}
47 -
48 48  ## Set the smtp server host one time here... and the rest get it thru
49 49  #+ use of derived propertiesw calculated on the fly when loaded into System properties.
50 50  app.smtpserver=mail.domain.com