sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1647565 - in /sis/site/trunk/content: code-patterns.mdtext contributor.mdtext
Date Tue, 23 Dec 2014 12:36:01 GMT
Author: desruisseaux
Date: Tue Dec 23 12:36:01 2014
New Revision: 1647565

URL: http://svn.apache.org/r1647565
Log:
New formatting attempt.

Modified:
    sis/site/trunk/content/code-patterns.mdtext
    sis/site/trunk/content/contributor.mdtext

Modified: sis/site/trunk/content/code-patterns.mdtext
URL: http://svn.apache.org/viewvc/sis/site/trunk/content/code-patterns.mdtext?rev=1647565&r1=1647564&r2=1647565&view=diff
==============================================================================
--- sis/site/trunk/content/code-patterns.mdtext (original)
+++ sis/site/trunk/content/code-patterns.mdtext Tue Dec 23 12:36:01 2014
@@ -35,12 +35,11 @@ Never explicitely swap ordinates for axi
 
 The [axis order issue](faq.html#axisOrder) causes lot of confusion,
 and developers are sometime tempted to swap their ordinate values in order to comply with
some expected axis ordering.
-It should never be necessary, since the Apache SIS referencing engine manages axis order
transparently - provided that
+It should never be necessary, since the Apache SIS referencing engine manages axis order
transparently — provided that
 the Coordinate Reference System (CRS) definition is accurate. If a code needs to swap ordinates,
this is probably an
 indication that the CRS has not been properly defined. Instead than patching the coordinate
values, try to make sure
 that the _Source CRS_ (associated to the original data) and the _Target CRS_ (the coordinate
space where to perform the
 work) are properly defined, and let the referencing engine performs the conversion from the
source to the target CRS.
-For example when fetching the CRS, make sure that the proper boolean value is given to the
`CRS.forCode(…)` method.
 
 
 

Modified: sis/site/trunk/content/contributor.mdtext
URL: http://svn.apache.org/viewvc/sis/site/trunk/content/contributor.mdtext?rev=1647565&r1=1647564&r2=1647565&view=diff
==============================================================================
--- sis/site/trunk/content/contributor.mdtext [UTF-8] (original)
+++ sis/site/trunk/content/contributor.mdtext [UTF-8] Tue Dec 23 12:36:01 2014
@@ -157,36 +157,46 @@ Developers can specify default propertie
 
   * Open `~/.subversion/config` in an editor, where `~` is the user home directory.
   * Set the `enable-auto-props` value to `yes`.
-  * Scroll down to the `[auto-props]` section and add the following lines:
+  * Scroll down to the `[auto-props]` section and make sure to assign the appropriate
+    (usually `native`) value to the End Of Line (EOL) style of the files to be edited.
 
-        :::text
-        *.java       = svn:mime-type=text/plain;svn:eol-style=native
-        *.sql        = svn:mime-type=text/plain;svn:eol-style=native
-        *.txt        = svn:mime-type=text/plain;svn:eol-style=native
-        *.properties = svn:mime-type=text/plain;svn:eol-style=native
-        *.xml        = svn:mime-type=text/xml;svn:eol-style=native
-        *.xsd        = svn:mime-type=text/xml;svn:eol-style=native
-        *.sld        = svn:mime-type=text/xml;svn:eol-style=native
-        *.gml        = svn:mime-type=text/xml;svn:eol-style=native
-        *.xsl        = svn:mime-type=text/xsl;svn:eol-style=native
-        *.html       = svn:mime-type=text/html;svn:eol-style=native
-        *.xhtml      = svn:mime-type=text/html;svn:eol-style=native
-        *.css        = svn:mime-type=text/css;svn:eol-style=native
-        *.bat        = svn:eol-style=CRLF
-        *.sh         = svn:eol-style=native;svn:executable
-        *.bmp        = svn:mime-type=image/bmp
-        *.png        = svn:mime-type=image/png
-        *.jpg        = svn:mime-type=image/jpeg
-        *.jpeg       = svn:mime-type=image/jpeg
-        *.gif        = svn:mime-type=image/gif
-        *.tif        = svn:mime-type=image/tiff
-        *.tiff       = svn:mime-type=image/tiff
-        *.zip        = svn:mime-type=application/zip
-        *.utf        = svn:mime-type=application/octet-stream
-        *.shp        = svn:mime-type=application/octet-stream
-        *.shx        = svn:mime-type=application/octet-stream
-        *.dbf        = svn:mime-type=application/octet-stream
-        README       = svn:mime-type=text/plain;svn:eol-style=native
+Below is an example of a portion of Subversion configuration file:
+
+    :::ini
+    [miscellany]
+    enable-auto-props = yes
+
+    # Section for configuring automatic properties.
+    # The file-name-pattern can contain wildcards such as '*' and '?'.
+    # All entries which match will be applied to the file.
+    [auto-props]
+    *.java       = svn:mime-type=text/plain;svn:eol-style=native
+    *.sql        = svn:mime-type=text/plain;svn:eol-style=native
+    *.txt        = svn:mime-type=text/plain;svn:eol-style=native
+    *.properties = svn:mime-type=text/plain;svn:eol-style=native
+    *.xml        = svn:mime-type=text/xml;svn:eol-style=native
+    *.xsd        = svn:mime-type=text/xml;svn:eol-style=native
+    *.sld        = svn:mime-type=text/xml;svn:eol-style=native
+    *.gml        = svn:mime-type=text/xml;svn:eol-style=native
+    *.xsl        = svn:mime-type=text/xsl;svn:eol-style=native
+    *.html       = svn:mime-type=text/html;svn:eol-style=native
+    *.xhtml      = svn:mime-type=text/html;svn:eol-style=native
+    *.css        = svn:mime-type=text/css;svn:eol-style=native
+    *.bat        = svn:eol-style=CRLF
+    *.sh         = svn:eol-style=native;svn:executable
+    *.bmp        = svn:mime-type=image/bmp
+    *.png        = svn:mime-type=image/png
+    *.jpg        = svn:mime-type=image/jpeg
+    *.jpeg       = svn:mime-type=image/jpeg
+    *.gif        = svn:mime-type=image/gif
+    *.tif        = svn:mime-type=image/tiff
+    *.tiff       = svn:mime-type=image/tiff
+    *.zip        = svn:mime-type=application/zip
+    *.utf        = svn:mime-type=application/octet-stream
+    *.shp        = svn:mime-type=application/octet-stream
+    *.shx        = svn:mime-type=application/octet-stream
+    *.dbf        = svn:mime-type=application/octet-stream
+    README       = svn:mime-type=text/plain;svn:eol-style=native
 
 
 



Mime
View raw message