svn commit: r428292 - in /incubator/ofbiz/trunk: applications/pos/config/ applications/pos/config/xpos.properties framework/base/src/base/org/ofbiz/base/util/UtilProperties.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r428292 - in /incubator/ofbiz/trunk: applications/pos/config/ applications/pos/config/xpos.properties framework/base/src/base/org/ofbiz/base/util/UtilProperties.java

jleroux@apache.org
Author: jleroux
Date: Thu Aug  3 02:47:18 2006
New Revision: 428292

URL: http://svn.apache.org/viewvc?rev=428292&view=rev
Log:
To close this chapter of dynamic modification of xpos.properties (needed by XUI i18n mechanism) and mostly avoiding svn notifications I suppressed the $Id let in the ASL2 header written by UtilProperties.java.
But because java.util.Properties.store (called by UtilProperties.java to write in xpos.properties) always writes a date/time after the header there is always a difference between repository and working copy files.
So I decided to svn:ignore xpos.properties in its directory (applications/pos/config), hoping this will not bring problems in future...


Modified:
    incubator/ofbiz/trunk/applications/pos/config/   (props changed)
    incubator/ofbiz/trunk/applications/pos/config/xpos.properties
    incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java

Propchange: incubator/ofbiz/trunk/applications/pos/config/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Thu Aug  3 02:47:18 2006
@@ -0,0 +1 @@
+xpos.properties

Modified: incubator/ofbiz/trunk/applications/pos/config/xpos.properties
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/pos/config/xpos.properties?rev=428292&r1=428291&r2=428292&view=diff
==============================================================================
--- incubator/ofbiz/trunk/applications/pos/config/xpos.properties (original)
+++ incubator/ofbiz/trunk/applications/pos/config/xpos.properties Thu Aug  3 02:47:18 2006
@@ -1,5 +1,19 @@
-#Dynamically modified by OFBiz Framework (org.ofbiz.base.util : UtilProperties.setPropertyValue)
-#Wed Aug 02 23:21:33 CEST 2006
+#Dynamically modified by OFBiz Framework (org.ofbiz.base.util : UtilProperties.setPropertyValue)
+#
+#    Copyright 2001-2006 The Apache Software Foundation
+#
+#    Licensed under the Apache License, Version 2.0 (the "License"); you may not
+#    use this file except in compliance with the License. You may obtain a copy of
+#    the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing, software
+#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+#    License for the specific language governing permissions and limitations
+#    under the License.
+#Thu Aug 03 11:29:58 CEST 2006
 CenterWin=true
 ClientHeight=768
 Language=XuiLabels

Modified: incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java?rev=428292&r1=428291&r2=428292&view=diff
==============================================================================
--- incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java (original)
+++ incubator/ofbiz/trunk/framework/base/src/base/org/ofbiz/base/util/UtilProperties.java Thu Aug  3 02:47:18 2006
@@ -368,8 +368,6 @@
             FileOutputStream propFile = new FileOutputStream(resource);
             properties.store(propFile, "Dynamically modified by OFBiz Framework (org.ofbiz.base.util : UtilProperties.setPropertyValue)\n"
             +"#\n"
-            +"#$Id: $\n"
-            +"#\n"
             +"#    Copyright 2001-2006 The Apache Software Foundation\n"
             +"#\n"
             +"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n"