At http://markmail.org/message/ffmyw773p65fndey I wrote: I'd like to follow the suggestion I made in the last message of the linked thread. In other words, use http://subversion.apache.org/docs/release-notes/1.8.html#repos-dictated-config http://blogs.collab.net/subversion/the-road-to-repository-dictated-configuration-day-2-autoprops Then this problem would be over. No longer need to check from time to time that concerned files, have svn:eol-style=native property set This imply that all OFBiz users use svn > 1.7, but we can inform them, et voilà Then at markmail.org/message/h3q2yvj4db544ro7 I wrote: Actually, since we get new committers now and then and their are able to create new files I have a warning every 6 months which says "Check Java files, have all svn:eol-style=native" (I totally forgot that because I assume the machine knows it and warns me ;)) I could extend that to all files (at least the most prominent types), I'll see... This does what the last sentence said for Groovy, XML and few new Birt Java files. I'll see if I can implement the svn 1.8 repos-dictated-config ASAP! git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1781219 13f79535-47bb-0310-9956-ffa450edef68
24 lines
995 B
Groovy
24 lines
995 B
Groovy
/*
|
|
* Licensed to the Apache Software Foundation (ASF) under one
|
|
* or more contributor license agreements. See the NOTICE file
|
|
* distributed with this work for additional information
|
|
* regarding copyright ownership. The ASF licenses this file
|
|
* to you 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.
|
|
*/
|
|
|
|
if (geoPoint && geoPoint.elevationUomId) {
|
|
elevationUom = delegator.findOne("Uom", [uomId : geoPoint.elevationUomId], false)
|
|
context.elevationUomAbbr = elevationUom.abbreviation
|
|
}
|