svn commit: r1513771 - in /sis/branches/JDK7/core/sis-utility/src: main/java/org/apache/sis/measure/AngleFormat.java test/java/org/apache/sis/measure/AngleFormatTest.java

2013-08-14 Thread desruisseaux
Author: desruisseaux
Date: Wed Aug 14 09:20:43 2013
New Revision: 1513771

URL: http://svn.apache.org/r1513771
Log:
More robust correction to SIS-120.

Modified:

sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java

sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/measure/AngleFormatTest.java

Modified: 
sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java
URL: 
http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java?rev=1513771r1=1513770r2=1513771view=diff
==
--- 
sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java
 [UTF-8] (original)
+++ 
sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java
 [UTF-8] Wed Aug 14 09:20:43 2013
@@ -915,31 +915,24 @@ public class AngleFormat extends Format 
 double seconds = NaN;
 if (minutesFieldWidth != 0  !isNaN(angle)) {
 minutes = abs(degrees - (degrees = truncate(degrees))) * 60;
+final double p = pow10(fractionFieldWidth);
 if (secondsFieldWidth != 0) {
 seconds = (minutes - (minutes = truncate(minutes))) * 60;
-/*
- * Correction for rounding errors.
- */
-final double p = pow10(fractionFieldWidth);
-seconds = rint(seconds * p) / p;
-final double correction = truncate(seconds / 60);
-seconds -= correction * 60;
-minutes += correction;
+seconds = rint(seconds * p) / p; // Correction for rounding 
errors.
+if (seconds = 60) { // We do not expect  60 (only == 60), 
but let be safe.
+seconds = 0;
+minutes++;
+}
 } else {
-final double p = pow10(fractionFieldWidth);
-minutes = rint(minutes * p) / p;
-}
-final double correction = truncate(minutes / 60);
-if (correction != 0) {
-/*
- * We really need to NOT perform the addition if correction == 
0, even if its look like
- * mathematically equivalent, because we want to preserve the 
sign of 'degrees' in case
- * of negative zero. This is because in Java, -0.0 + 0 == +0.0 
while we really need to
- * keep the negative sign in -0.0.
- */
-minutes -= correction * 60;
-degrees += correction;
+minutes = rint(minutes * p) / p; // Correction for rounding 
errors.
 }
+if (minutes = 60) { // We do not expect  60 (only == 60), but 
let be safe.
+minutes = 0;
+degrees += Math.copySign(1, angle);
+}
+// Note: a previous version was doing a unconditional addition to 
the 'degrees' variable,
+// in the form 'degrees += correction'. However -0.0 + 0 == +0.0, 
while we really need to
+// preserve the sign of negative zero. See [SIS-120].
 }
 /*
  * Avoid formatting values like 12.01°N as 12°36″N because of the risk 
of confusion.

Modified: 
sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/measure/AngleFormatTest.java
URL: 
http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/measure/AngleFormatTest.java?rev=1513771r1=1513770r2=1513771view=diff
==
--- 
sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/measure/AngleFormatTest.java
 [UTF-8] (original)
+++ 
sis/branches/JDK7/core/sis-utility/src/test/java/org/apache/sis/measure/AngleFormatTest.java
 [UTF-8] Wed Aug 14 09:20:43 2013
@@ -154,6 +154,18 @@ public final strictfp class AngleFormatT
 }
 
 /**
+ * Tests values that have to be rounded, especially the values near zero.
+ */
+@Test
+@DependsOnMethod(testDegreeMinutesSeconds)
+public void testRounding() {
+final AngleFormat f = new AngleFormat(DD°MM′SS.sss″, Locale.CANADA);
+assertEquals( 01°00′00.000″, f.format(new Angle(+(59 + (59. / 
60)) / 60)));
+assertEquals(-01°00′00.000″, f.format(new Angle(-(59 + (59. / 
60)) / 60)));
+assertEquals(-00°59′59.999″, f.format(new Angle(-(59 + (59.9988 / 
60)) / 60)));
+}
+
+/**
  * Tests with optional minutes and seconds fields.
  */
 @Test




svn commit: r1513776 - /sis/tags/0.3/

2013-08-14 Thread desruisseaux
Author: desruisseaux
Date: Wed Aug 14 09:31:21 2013
New Revision: 1513776

URL: http://svn.apache.org/r1513776
Log:
Remove the RC1 tag, prepare for RC2 tag.

Removed:
sis/tags/0.3/



svn commit: r1513777 - /sis/tags/0.3/

2013-08-14 Thread desruisseaux
Author: desruisseaux
Date: Wed Aug 14 09:31:53 2013
New Revision: 1513777

URL: http://svn.apache.org/r1513777
Log:
Create the 0.3 tag for RC2.

Added:
sis/tags/0.3/   (props changed)
  - copied from r1513776, sis/branches/0.3/

Propchange: sis/tags/0.3/
--
--- svn:ignore (added)
+++ svn:ignore Wed Aug 14 09:31:53 2013
@@ -0,0 +1 @@
+target

Propchange: sis/tags/0.3/
--
--- svn:mergeinfo (added)
+++ svn:mergeinfo Wed Aug 14 09:31:53 2013
@@ -0,0 +1,5 @@
+/sis/branches/Android:1430670-1480699
+/sis/branches/JDK6:1394364-1501150,1511686-1512215
+/sis/branches/JDK7:1394913-1501148,1509731,1509785,1511646-1512213,1513771
+/sis/tags/0.3:1511804,1511865
+/sis/trunk:1498922-1501153,1512216




svn commit: r1513781 - in /sis/tags/0.3: ./ application/ application/sis-console/ application/sis-webapp/ core/ core/sis-build-helper/ core/sis-build-helper/src/main/java/org/apache/sis/internal/tagle

2013-08-14 Thread desruisseaux
Author: desruisseaux
Date: Wed Aug 14 09:34:55 2013
New Revision: 1513781

URL: http://svn.apache.org/r1513781
Log:
Fix version number and SVN directory.

Modified:
sis/tags/0.3/application/pom.xml
sis/tags/0.3/application/sis-console/pom.xml
sis/tags/0.3/application/sis-webapp/pom.xml
sis/tags/0.3/core/pom.xml
sis/tags/0.3/core/sis-build-helper/pom.xml

sis/tags/0.3/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/SourceRepositoryURL.java
sis/tags/0.3/core/sis-metadata/pom.xml
sis/tags/0.3/core/sis-referencing/pom.xml
sis/tags/0.3/core/sis-utility/pom.xml
sis/tags/0.3/pom.xml
sis/tags/0.3/storage/pom.xml
sis/tags/0.3/storage/sis-netcdf/pom.xml
sis/tags/0.3/storage/sis-storage/pom.xml

Modified: sis/tags/0.3/application/pom.xml
URL: 
http://svn.apache.org/viewvc/sis/tags/0.3/application/pom.xml?rev=1513781r1=1513780r2=1513781view=diff
==
--- sis/tags/0.3/application/pom.xml (original)
+++ sis/tags/0.3/application/pom.xml Wed Aug 14 09:34:55 2013
@@ -25,7 +25,7 @@
   parent
 groupIdorg.apache.sis/groupId
 artifactIdparent/artifactId
-version0.3-SNAPSHOT/version
+version0.3/version
   /parent
 
 

Modified: sis/tags/0.3/application/sis-console/pom.xml
URL: 
http://svn.apache.org/viewvc/sis/tags/0.3/application/sis-console/pom.xml?rev=1513781r1=1513780r2=1513781view=diff
==
--- sis/tags/0.3/application/sis-console/pom.xml (original)
+++ sis/tags/0.3/application/sis-console/pom.xml Wed Aug 14 09:34:55 2013
@@ -25,7 +25,7 @@
   parent
 groupIdorg.apache.sis/groupId
 artifactIdapplication/artifactId
-version0.3-SNAPSHOT/version
+version0.3/version
   /parent
 
 

Modified: sis/tags/0.3/application/sis-webapp/pom.xml
URL: 
http://svn.apache.org/viewvc/sis/tags/0.3/application/sis-webapp/pom.xml?rev=1513781r1=1513780r2=1513781view=diff
==
--- sis/tags/0.3/application/sis-webapp/pom.xml (original)
+++ sis/tags/0.3/application/sis-webapp/pom.xml Wed Aug 14 09:34:55 2013
@@ -25,7 +25,7 @@
   parent
 groupIdorg.apache.sis/groupId
 artifactIdapplication/artifactId
-version0.3-SNAPSHOT/version
+version0.3/version
   /parent
 
   groupIdorg.apache.sis.application/groupId

Modified: sis/tags/0.3/core/pom.xml
URL: 
http://svn.apache.org/viewvc/sis/tags/0.3/core/pom.xml?rev=1513781r1=1513780r2=1513781view=diff
==
--- sis/tags/0.3/core/pom.xml (original)
+++ sis/tags/0.3/core/pom.xml Wed Aug 14 09:34:55 2013
@@ -25,7 +25,7 @@
   parent
 groupIdorg.apache.sis/groupId
 artifactIdparent/artifactId
-version0.3-SNAPSHOT/version
+version0.3/version
   /parent
 
 

Modified: sis/tags/0.3/core/sis-build-helper/pom.xml
URL: 
http://svn.apache.org/viewvc/sis/tags/0.3/core/sis-build-helper/pom.xml?rev=1513781r1=1513780r2=1513781view=diff
==
--- sis/tags/0.3/core/sis-build-helper/pom.xml (original)
+++ sis/tags/0.3/core/sis-build-helper/pom.xml Wed Aug 14 09:34:55 2013
@@ -25,7 +25,7 @@
   parent
 groupIdorg.apache.sis/groupId
 artifactIdcore/artifactId
-version0.3-SNAPSHOT/version
+version0.3/version
   /parent
 
 

Modified: 
sis/tags/0.3/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/SourceRepositoryURL.java
URL: 
http://svn.apache.org/viewvc/sis/tags/0.3/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/SourceRepositoryURL.java?rev=1513781r1=1513780r2=1513781view=diff
==
--- 
sis/tags/0.3/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/SourceRepositoryURL.java
 [UTF-8] (original)
+++ 
sis/tags/0.3/core/sis-build-helper/src/main/java/org/apache/sis/internal/taglet/SourceRepositoryURL.java
 [UTF-8] Wed Aug 14 09:34:55 2013
@@ -75,7 +75,7 @@ public final class SourceRepositoryURL e
  */
 @Override
 public String toString(final Tag tag) {
-final StringBuilder url = new 
StringBuilder(http://svn.apache.org/repos/asf/sis/branches/0.3;);
+final StringBuilder url = new 
StringBuilder(http://svn.apache.org/repos/asf/sis/tags/0.3;);
 final String keyword = tag.text();
 /* switch (keyword) */ {
 if (keyword.equals(gmd-data)) {

Modified: sis/tags/0.3/core/sis-metadata/pom.xml
URL: 
http://svn.apache.org/viewvc/sis/tags/0.3/core/sis-metadata/pom.xml?rev=1513781r1=1513780r2=1513781view=diff
==
--- sis/tags/0.3/core/sis-metadata/pom.xml (original)
+++ sis/tags/0.3/core/sis-metadata/pom.xml Wed Aug 14 09:34:55 2013
@@ -25,7 +25,7 @@
   parent
 

svn commit: r2733 - /dev/sis/0.3/RC2/

2013-08-14 Thread desruisseaux
Author: desruisseaux
Date: Wed Aug 14 10:34:36 2013
New Revision: 2733

Log:
SIS release candidate 2

Added:
dev/sis/0.3/RC2/
dev/sis/0.3/RC2/HEADER.html
  - copied unchanged from r2699, dev/sis/0.3/RC1/HEADER.html
dev/sis/0.3/RC2/apache-sis-0.3-bin.zip   (with props)
dev/sis/0.3/RC2/apache-sis-0.3-bin.zip.asc   (with props)
dev/sis/0.3/RC2/apache-sis-0.3-bin.zip.md5
dev/sis/0.3/RC2/apache-sis-0.3-bin.zip.sha
dev/sis/0.3/RC2/apache-sis-0.3-doc.zip
  - copied unchanged from r2703, dev/sis/0.3/RC1/apache-sis-0.3-doc.zip
dev/sis/0.3/RC2/apache-sis-0.3-doc.zip.asc
  - copied unchanged from r2703, dev/sis/0.3/RC1/apache-sis-0.3-doc.zip.asc
dev/sis/0.3/RC2/apache-sis-0.3-doc.zip.md5
  - copied unchanged from r2703, dev/sis/0.3/RC1/apache-sis-0.3-doc.zip.md5
dev/sis/0.3/RC2/apache-sis-0.3-doc.zip.sha
  - copied unchanged from r2703, dev/sis/0.3/RC1/apache-sis-0.3-doc.zip.sha
dev/sis/0.3/RC2/apache-sis-0.3-src.zip   (with props)
dev/sis/0.3/RC2/apache-sis-0.3-src.zip.asc   (with props)
dev/sis/0.3/RC2/apache-sis-0.3-src.zip.md5
dev/sis/0.3/RC2/apache-sis-0.3-src.zip.sha

Added: dev/sis/0.3/RC2/apache-sis-0.3-bin.zip
==
Binary file - no diff available.

Propchange: dev/sis/0.3/RC2/apache-sis-0.3-bin.zip
--
svn:mime-type = application/zip

Added: dev/sis/0.3/RC2/apache-sis-0.3-bin.zip.asc
==
Binary file - no diff available.

Propchange: dev/sis/0.3/RC2/apache-sis-0.3-bin.zip.asc
--
svn:mime-type = application/pgp-signature

Added: dev/sis/0.3/RC2/apache-sis-0.3-bin.zip.md5
==
--- dev/sis/0.3/RC2/apache-sis-0.3-bin.zip.md5 (added)
+++ dev/sis/0.3/RC2/apache-sis-0.3-bin.zip.md5 Wed Aug 14 10:34:36 2013
@@ -0,0 +1 @@
+apache-sis-0.3-bin.zip: B7 FD 7A 13 DC D4 BA 38  CF 69 95 40 12 EC F5 74

Added: dev/sis/0.3/RC2/apache-sis-0.3-bin.zip.sha
==
--- dev/sis/0.3/RC2/apache-sis-0.3-bin.zip.sha (added)
+++ dev/sis/0.3/RC2/apache-sis-0.3-bin.zip.sha Wed Aug 14 10:34:36 2013
@@ -0,0 +1,3 @@
+apache-sis-0.3-bin.zip: A7F0E8C2 D14DC586 8CF81779 9863197F B05C99DB FD2E35A8
+02D22CD8 0A39F77F CF86F1C7 160E2299 47827EA3 3B8D54E7
+D82E7F41 D2BB23CD 832C1CF6 C631FA63

Added: dev/sis/0.3/RC2/apache-sis-0.3-src.zip
==
Binary file - no diff available.

Propchange: dev/sis/0.3/RC2/apache-sis-0.3-src.zip
--
svn:mime-type = application/zip

Added: dev/sis/0.3/RC2/apache-sis-0.3-src.zip.asc
==
Binary file - no diff available.

Propchange: dev/sis/0.3/RC2/apache-sis-0.3-src.zip.asc
--
svn:mime-type = application/pgp-signature

Added: dev/sis/0.3/RC2/apache-sis-0.3-src.zip.md5
==
--- dev/sis/0.3/RC2/apache-sis-0.3-src.zip.md5 (added)
+++ dev/sis/0.3/RC2/apache-sis-0.3-src.zip.md5 Wed Aug 14 10:34:36 2013
@@ -0,0 +1 @@
+apache-sis-0.3-src.zip: 86 76 F0 FA 4B 83 57 BD  97 13 6F F7 3C 58 70 0E

Added: dev/sis/0.3/RC2/apache-sis-0.3-src.zip.sha
==
--- dev/sis/0.3/RC2/apache-sis-0.3-src.zip.sha (added)
+++ dev/sis/0.3/RC2/apache-sis-0.3-src.zip.sha Wed Aug 14 10:34:36 2013
@@ -0,0 +1,3 @@
+apache-sis-0.3-src.zip: EF4EB068 49922B8E A1EDD9E4 5E753024 A5E939B0 32A1D344
+6C6B2EC0 F6B71AE6 C18226D4 1DF4408F 805B731F 0D67FAE3
+A396BB9D 414C1926 6CD05C6B E7484B33




svn commit: r874574 - in /websites/staging/sis/trunk/content: ./ release-management.html

2013-08-14 Thread buildbot
Author: buildbot
Date: Wed Aug 14 10:37:36 2013
New Revision: 874574

Log:
Staging update by buildbot for sis

Modified:
websites/staging/sis/trunk/content/   (props changed)
websites/staging/sis/trunk/content/release-management.html

Propchange: websites/staging/sis/trunk/content/
--
--- cms:source-revision (original)
+++ cms:source-revision Wed Aug 14 10:37:36 2013
@@ -1 +1 @@
-1512387
+1513801

Modified: websites/staging/sis/trunk/content/release-management.html
==
--- websites/staging/sis/trunk/content/release-management.html (original)
+++ websites/staging/sis/trunk/content/release-management.html Wed Aug 14 
10:37:36 2013
@@ -103,6 +103,7 @@ The intended audiences are SIS release m
 lia href=#tagCreate tag/a/li
 lia href=#maven-deployDeploy Maven artifacts/aul
 lia href=#nexus-closeVerify and close the Nexus release 
artifacts/a/li
+lia href=#nexus-textTest the Nexus release artifacts/a/li
 /ul
 /li
 lia href=#stageStage the source, binary and javadoc artifacts/aul
@@ -320,8 +321,12 @@ mvn org.apache.sis.core:sis-build-helper
 /pre/div
 
 
-pIf the above succeeded, deploy:/p
-div class=codehilitepremvn deploy --activate-profiles apache-release
+pIf the above succeeded, deploy. We temporarily delete the Maven site 
descriptors (codesite.xml/code)
+for preventing Maven to deploy them, since there is no apparent reason why 
users would want to
+download site descriptors from a Maven repository./p
+div class=codehiliteprefind . -name span 
class=s2quot;site.xmlquot;/span -delete
+mvn deploy --activate-profiles apache-release
+svn revert . --recursive
 /pre/div
 
 
@@ -343,8 +348,6 @@ so try to see at least one code snippet.
 ul
 liDelete all 
codeorg/apache/sis/parent/$NEW_VERSION/parent-$NEW_VERSION-source-release.zip.*/code
 files on the Nexus repository.
 They should not be there - source release will be deployed on an other 
repository later./li
-liDelete all 
codeorg/apache/sis/*/$NEW_VERSION/*-$NEW_VERSION-site.xml*/code files.
-There is no apparent reason for deploying Maven web site descriptors./li
 /ul
 pClose the Nexus staging repository:/p
 ul
@@ -356,6 +359,23 @@ so try to see at least one code snippet.
 /ul
 pWe will announce later (in the citePut the release candidate up for a 
vote/cite section) on the codedev@/code mailing list
 the availability of this temporary repository for testing purpose./p
+h2 id=nexus-textTest the Nexus release artifacts/h2
+pGo to the test Maven project. Open the root codepom.xml/code file, go 
to the codelt;urlgt;/code declaration and replace value by
+the URL of the temporary Maven repository created by Nexus. Usually, only the 
3 last digits need to be updated.
+Set the codelt;versiongt;/code number to the SIS release to be 
tested./p
+div class=codehiliteprespan class=nbcd/span 
../../release-test/maven
+vim pom.xml
+svn commit -m span class=s2quot;Test project for SIS 
$NEW_VERSION-RC$RELEASE_CANDIDATEquot;/span
+/pre/div
+
+
+pClear the local Maven repository in order to force downloads from the Nexus 
repository, then test.
+This will also verify the checksums./p
+div class=codehiliteprespan class=nrm/span span 
class=o-/spanspan class=nr/span span class=o~//spanspan 
class=p./spanspan class=nm2/spanspan class=o//spanspan 
class=nrepository/spanspan class=o//spanspan 
class=norg/spanspan class=o//spanspan class=napache/spanspan 
class=o//spanspan class=nsis/span
+span class=nmvn/span span class=npackage/span span 
class=o--/spanspan class=nstrict/spanspan class=o-/spanspan 
class=nchecksums/span
+/pre/div
+
+
 h1 id=stageStage the source, binary and javadoc artifacts/h1
 pGenerate the Javadoc. While not mandatory, we suggest to use JDK 7 or above 
for getting the new look and feel,
 getting the Javadoc enhancements expected in future JDK releases (more dynamic 
pages),
@@ -406,7 +426,7 @@ mv sis-span class=nv$NEW_VERSION/sp
 span class=nbcd /spanapache-sis-span class=nv$NEW_VERSION/span
 cp span class=nv$TAG_DIR/span/LICENSE .
 cp span class=nv$TAG_DIR/span/NOTICE .
-mv span class=nv$TAG/span/target/bundles/sis-span 
class=nv$NEW_VERSION/span.pack.gz lib/sis.pack.gz
+mv span class=nv$TAG_DIR/span/target/bundles/apache-sis-span 
class=nv$NEW_VERSION/span.pack.gz lib/sis.pack.gz
 span class=nbcd/span ..
 zip -9 -r apache-sis-span class=nv$NEW_VERSION/span-bin.zip 
apache-sis-span class=nv$NEW_VERSION/span
 rm -r apache-sis-span class=nv$NEW_VERSION/span
@@ -428,6 +448,13 @@ gpg --print-md MD5apache-sis-span c
 /pre/div
 
 
+pVerify checksums and signatures:/p
+div class=codehiliteprefind . -name span 
class=s2quot;*.md5quot;/span -exec shasum --check span 
class=s1#39;{}#39;/span span class=se\;/span
+find . -name span class=s2quot;*.shaquot;/span -exec shasum --check 
span class=s1#39;{}#39;/span span class=se\;/span
+find . -name span class=s2quot;*.ascquot;/span -exec gpg --verify 

svn commit: r1513801 - /sis/site/trunk/content/release-management.mdtext

2013-08-14 Thread desruisseaux
Author: desruisseaux
Date: Wed Aug 14 10:37:31 2013
New Revision: 1513801

URL: http://svn.apache.org/r1513801
Log:
Corrections to the release management instructions.

Modified:
sis/site/trunk/content/release-management.mdtext

Modified: sis/site/trunk/content/release-management.mdtext
URL: 
http://svn.apache.org/viewvc/sis/site/trunk/content/release-management.mdtext?rev=1513801r1=1513800r2=1513801view=diff
==
--- sis/site/trunk/content/release-management.mdtext [UTF-8] (original)
+++ sis/site/trunk/content/release-management.mdtext [UTF-8] Wed Aug 14 
10:37:31 2013
@@ -256,10 +256,14 @@ additional test worth to do before deplo
 mvn clean install
 mvn org.apache.sis.core:sis-build-helper:$NEW_VERSION:pack --non-recursive
 
-If the above succeeded, deploy:
+If the above succeeded, deploy. We temporarily delete the Maven site 
descriptors (`site.xml`)
+for preventing Maven to deploy them, since there is no apparent reason why 
users would want to
+download site descriptors from a Maven repository.
 
 :::bash
+find . -name site.xml -delete
 mvn deploy --activate-profiles apache-release
+svn revert . --recursive
 
 
 
@@ -285,8 +289,6 @@ Additional cleaning:
 
   * Delete all 
`org/apache/sis/parent/$NEW_VERSION/parent-$NEW_VERSION-source-release.zip.*` 
files on the Nexus repository.
 They should not be there - source release will be deployed on an other 
repository later.
-  * Delete all `org/apache/sis/*/$NEW_VERSION/*-$NEW_VERSION-site.xml*` files.
-There is no apparent reason for deploying Maven web site descriptors.
 
 Close the Nexus staging repository:
 
@@ -301,6 +303,26 @@ the availability of this temporary repos
 
 
 
+Test the Nexus release artifacts{#nexus-text}
+-
+
+Go to the test Maven project. Open the root `pom.xml` file, go to the `url` 
declaration and replace value by
+the URL of the temporary Maven repository created by Nexus. Usually, only the 
3 last digits need to be updated.
+Set the `version` number to the SIS release to be tested.
+
+:::bash
+cd ../../release-test/maven
+vim pom.xml
+svn commit -m Test project for SIS $NEW_VERSION-RC$RELEASE_CANDIDATE
+
+Clear the local Maven repository in order to force downloads from the Nexus 
repository, then test.
+This will also verify the checksums.
+
+rm -r ~/.m2/repository/org/apache/sis
+mvn package --strict-checksums
+
+
+
 Stage the source, binary and javadoc artifacts{#stage}
 ==
 
@@ -363,7 +385,7 @@ Create the binary artifact:
 cd apache-sis-$NEW_VERSION
 cp $TAG_DIR/LICENSE .
 cp $TAG_DIR/NOTICE .
-mv $TAG/target/bundles/sis-$NEW_VERSION.pack.gz lib/sis.pack.gz
+mv $TAG_DIR/target/bundles/apache-sis-$NEW_VERSION.pack.gz lib/sis.pack.gz
 cd ..
 zip -9 -r apache-sis-$NEW_VERSION-bin.zip apache-sis-$NEW_VERSION
 rm -r apache-sis-$NEW_VERSION
@@ -386,6 +408,13 @@ Sign the source, javadoc and binary arti
 gpg --print-md SHA512 apache-sis-$NEW_VERSION-bin.zip  
apache-sis-$NEW_VERSION-bin.zip.sha
 gpg --print-md MD5apache-sis-$NEW_VERSION-bin.zip  
apache-sis-$NEW_VERSION-bin.zip.md5
 
+Verify checksums and signatures:
+
+:::bash
+find . -name *.md5 -exec shasum --check '{}' \;
+find . -name *.sha -exec shasum --check '{}' \;
+find . -name *.asc -exec gpg --verify '{}' \;
+
 Commit:
 
 :::bash
@@ -394,7 +423,7 @@ Commit:
 svn commit --message SIS release candidate $RELEASE_CANDIDATE
 
 Verify that the files are downloadable from the
-[https://dist.apache.org/repos/dist/dev/sis/][https://dist.apache.org/repos/dist/dev/sis/]
 sub-directory.
+[https://dist.apache.org/repos/dist/dev/sis/](https://dist.apache.org/repos/dist/dev/sis/)
 sub-directory.
 
 
 
@@ -429,8 +458,8 @@ Put the release candidate up for a vote 
 to rollback the release if a -1 vote is received. See _Recovering from a 
vetoed release_ below.
   * After the vote has been open for at least 72 hours, has at least three +1 
PMC votes and no -1 votes,
 then post the results to the vote thread:
-  * Reply to the initial email and prepend to the original subject [RESULT]
-  * Include a list of everyone who voted +1, 0 or -1.
++ Reply to the initial email and prepend to the original subject [RESULT]
++ Include a list of everyone who voted +1, 0 or -1.
 
 
 




svn commit: r1513804 - /sis/release-test/

2013-08-14 Thread desruisseaux
Author: desruisseaux
Date: Wed Aug 14 10:43:42 2013
New Revision: 1513804

URL: http://svn.apache.org/r1513804
Log:
Initialize a directory for files to be used for testing releases.

Added:
sis/release-test/



svn commit: r1513868 - in /sis/branches/JDK7: core/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java ide-project/NetBeans/nbproject/project.properties pom.xml

2013-08-14 Thread desruisseaux
Author: desruisseaux
Date: Wed Aug 14 13:20:10 2013
New Revision: 1513868

URL: http://svn.apache.org/r1513868
Log:
Updated dependencies.

Modified:

sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java
sis/branches/JDK7/ide-project/NetBeans/nbproject/project.properties
sis/branches/JDK7/pom.xml

Modified: 
sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java
URL: 
http://svn.apache.org/viewvc/sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java?rev=1513868r1=1513867r2=1513868view=diff
==
--- 
sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java
 [UTF-8] (original)
+++ 
sis/branches/JDK7/core/sis-utility/src/main/java/org/apache/sis/measure/AngleFormat.java
 [UTF-8] Wed Aug 14 13:20:10 2013
@@ -928,7 +928,7 @@ public class AngleFormat extends Format 
 }
 if (minutes = 60) { // We do not expect  60 (only == 60), but 
let be safe.
 minutes = 0;
-degrees += Math.copySign(1, angle);
+degrees += Math.signum(angle);
 }
 // Note: a previous version was doing a unconditional addition to 
the 'degrees' variable,
 // in the form 'degrees += correction'. However -0.0 + 0 == +0.0, 
while we really need to

Modified: sis/branches/JDK7/ide-project/NetBeans/nbproject/project.properties
URL: 
http://svn.apache.org/viewvc/sis/branches/JDK7/ide-project/NetBeans/nbproject/project.properties?rev=1513868r1=1513867r2=1513868view=diff
==
--- sis/branches/JDK7/ide-project/NetBeans/nbproject/project.properties 
[ISO-8859-1] (original)
+++ sis/branches/JDK7/ide-project/NetBeans/nbproject/project.properties 
[ISO-8859-1] Wed Aug 14 13:20:10 2013
@@ -72,7 +72,7 @@ jdom1.version= 1.0
 jdom2.version= 2.0.4
 jee.version  = 6.0
 osgi.version = 5.0.0
-netcdf.version   = 4.3.17
+netcdf.version   = 4.3.18
 joda-time.version= 2.0
 httpclient.version   = 3.1
 slf4j.version= 1.6.4

Modified: sis/branches/JDK7/pom.xml
URL: 
http://svn.apache.org/viewvc/sis/branches/JDK7/pom.xml?rev=1513868r1=1513867r2=1513868view=diff
==
--- sis/branches/JDK7/pom.xml (original)
+++ sis/branches/JDK7/pom.xml Wed Aug 14 13:20:10 2013
@@ -374,7 +374,7 @@ Apache SIS is a free software, Java lang
=== --
   properties
 geoapi.version3.1-M04/geoapi.version
-netcdf.version4.3.17/netcdf.version
+netcdf.version4.3.18/netcdf.version
 findbugs.version2.5.2/findbugs.version
 project.build.sourceEncodingUTF-8/project.build.sourceEncoding
 website.encodingUTF-8/website.encoding