You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by da...@apache.org on 2011/12/01 16:42:31 UTC
Commit disappeared? Re: svn commit: r1209121 - /aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/ManifestHeaderProcessorTest.java
I'm a little confused. I did this commit, but when I check out a fresh
new copy of Aries trunk it doesn't appear. My new checkout only goes
to r1209115... What's wrong?
Thanks,
David
On 1 December 2011 15:27, <da...@apache.org> wrote:
> Author: davidb
> Date: Thu Dec 1 15:27:04 2011
> New Revision: 1209121
>
> URL: http://svn.apache.org/viewvc?rev=1209121&view=rev
> Log:
> Change double constant used in test from the famously problematic one that was fixed in Java 1.6 24 to another constant that works with all java versions.
>
> Modified:
> aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/ManifestHeaderProcessorTest.java
>
> Modified: aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/ManifestHeaderProcessorTest.java
> URL: http://svn.apache.org/viewvc/aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/ManifestHeaderProcessorTest.java?rev=1209121&r1=1209120&r2=1209121&view=diff
> ==============================================================================
> --- aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/ManifestHeaderProcessorTest.java (original)
> +++ aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/ManifestHeaderProcessorTest.java Thu Dec 1 15:27:04 2011
> @@ -553,7 +553,7 @@ public class ManifestHeaderProcessorTest
> String s =
> "com.acme.dictionary; effective:=resolve; from:String=nl; to=de; version:Version=3.4.0.test;somedir:=test, " +
> "com.acme.dictionary; filter:=\"(&(width>=1000)(height>=1000))\", " +
> - "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Version=1.3;long:Long=" + Long.MAX_VALUE + ";d:Double=\"2.2250738585072012e-308\"";
> + "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Version=1.3;long:Long=" + Long.MAX_VALUE + ";d:Double=\"3.141592653589793\"";
>
> List<GenericMetadata> capabilities = ManifestHeaderProcessor.parseCapabilityString(s);
> testCapabilitiesOrRequirements(capabilities);
> @@ -564,7 +564,7 @@ public class ManifestHeaderProcessorTest
> String s =
> "com.acme.dictionary; effective:=resolve; from:String=nl; to=de; version:Version=3.4.0.test;somedir:=test, " +
> "com.acme.dictionary; filter:=\"(&(width>=1000)(height>=1000))\", " +
> - "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Version=1.3;long:Long=" + Long.MAX_VALUE + ";d:Double=\"2.2250738585072012e-308\"";
> + "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Version=1.3;long:Long=" + Long.MAX_VALUE + ";d:Double=\"3.141592653589793\"";
>
> List<GenericMetadata> capabilities = ManifestHeaderProcessor.parseRequirementString(s);
> testCapabilitiesOrRequirements(capabilities);
> @@ -617,6 +617,6 @@ public class ManifestHeaderProcessorTest
> assertEquals(new Version(1, 3, 0), cap.getAttributes().get("version"));
> assertEquals(Arrays.asList("nl", "be", "fr", "uk"), cap.getAttributes().get("country"));
> assertEquals(Long.MAX_VALUE, cap.getAttributes().get("long"));
> - assertEquals(0, new Double("2.2250738585072012e-308").compareTo((Double) cap.getAttributes().get("d")));
> + assertEquals(0, new Double("3.141592653589793").compareTo((Double) cap.getAttributes().get("d")));
> }
> }
>
>
Re: Commit disappeared? Re: svn commit: r1209121 - /aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/ManifestHeaderProcessorTest.java
Posted by Jeremy Hughes <hu...@apache.org>.
I'm having this problem today. Did you really have to wait 30 minutes?
Jeremy
On 1 December 2011 15:57, <da...@apache.org> wrote:
> Thanks Dan. That must have been it. I can see it now.
>
> Cheers,
>
> David
>
> On 1 December 2011 15:47, Daniel Kulp <dk...@apache.org> wrote:
>> On Thursday, December 01, 2011 3:42:31 PM davidb@apache.org wrote:
>>> I'm a little confused. I did this commit, but when I check out a fresh
>>> new copy of Aries trunk it doesn't appear. My new checkout only goes
>>> to r1209115... What's wrong?
>>
>> Likely a lag between the US and EU mirrors. Usually it's only a few seconds,
>> but seems to be longer this morning.
>>
>> You could checkout directly from svn.us.apache.org and see if that helps.
>>
>>
>> Dan
>>
>>>
>>> Thanks,
>>>
>>> David
>>>
>>> On 1 December 2011 15:27, <da...@apache.org> wrote:
>>> > Author: davidb
>>> > Date: Thu Dec 1 15:27:04 2011
>>> > New Revision: 1209121
>>> >
>>> > URL: http://svn.apache.org/viewvc?rev=1209121&view=rev
>>> > Log:
>>> > Change double constant used in test from the famously problematic one
>>> > that was fixed in Java 1.6 24 to another constant that works with all
>>> > java versions.
>>> >
>>> > Modified:
>>> >
>>> > aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest
>>> > /ManifestHeaderProcessorTest.java
>>> >
>>> > Modified:
>>> > aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/
>>> > ManifestHeaderProcessorTest.java URL:
>>> > http://svn.apache.org/viewvc/aries/trunk/util/util-r42/src/test/java/or
>>> > g/apache/aries/util/manifest/ManifestHeaderProcessorTest.java?rev=120912
>>> > 1&r1=1209120&r2=1209121&view=diff
>>> > =======================================================================
>>> > ======= ---
>>> > aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/
>>> > ManifestHeaderProcessorTest.java (original) +++
>>> > aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/
>>> > ManifestHeaderProcessorTest.java Thu Dec 1 15:27:04 2011 @@ -553,7
>>> > +553,7 @@ public class ManifestHeaderProcessorTest
>>> > String s =
>>> > "com.acme.dictionary; effective:=resolve; from:String=nl;
>>> > to=de; version:Version=3.4.0.test;somedir:=test, " +
>>> > "com.acme.dictionary; filter:=\"(&(width>=1000)(height>=1000))\", " + -
>>> >
>>> > "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Ver
>>> > sion=1.3;long:Long=" + Long.MAX_VALUE +
>>> > ";d:Double=\"2.2250738585072012e-308\""; +
>>> > "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Ver
>>> > sion=1.3;long:Long=" + Long.MAX_VALUE +
>>> > ";d:Double=\"3.141592653589793\"";
>>> >
>>> > List<GenericMetadata> capabilities =
>>> > ManifestHeaderProcessor.parseCapabilityString(s);
>>> > testCapabilitiesOrRequirements(capabilities);
>>> > @@ -564,7 +564,7 @@ public class ManifestHeaderProcessorTest
>>> > String s =
>>> > "com.acme.dictionary; effective:=resolve; from:String=nl;
>>> > to=de; version:Version=3.4.0.test;somedir:=test, " +
>>> > "com.acme.dictionary; filter:=\"(&(width>=1000)(height>=1000))\", " + -
>>> >
>>> > "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Ver
>>> > sion=1.3;long:Long=" + Long.MAX_VALUE +
>>> > ";d:Double=\"2.2250738585072012e-308\""; +
>>> > "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Ver
>>> > sion=1.3;long:Long=" + Long.MAX_VALUE +
>>> > ";d:Double=\"3.141592653589793\"";
>>> >
>>> > List<GenericMetadata> capabilities =
>>> > ManifestHeaderProcessor.parseRequirementString(s);
>>> > testCapabilitiesOrRequirements(capabilities);
>>> > @@ -617,6 +617,6 @@ public class ManifestHeaderProcessorTest
>>> > assertEquals(new Version(1, 3, 0),
>>> > cap.getAttributes().get("version")); assertEquals(Arrays.asList("nl",
>>> > "be", "fr", "uk"), cap.getAttributes().get("country"));
>>> > assertEquals(Long.MAX_VALUE, cap.getAttributes().get("long")); -
>>> > assertEquals(0, new
>>> > Double("2.2250738585072012e-308").compareTo((Double)
>>> > cap.getAttributes().get("d"))); + assertEquals(0, new
>>> > Double("3.141592653589793").compareTo((Double)
>>> > cap.getAttributes().get("d"))); }
>>> > }
>> --
>> Daniel Kulp
>> dkulp@apache.org - http://dankulp.com/blog
>> Talend Community Coder - http://coders.talend.com
Re: Commit disappeared? Re: svn commit: r1209121 - /aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/ManifestHeaderProcessorTest.java
Posted by da...@apache.org.
Thanks Dan. That must have been it. I can see it now.
Cheers,
David
On 1 December 2011 15:47, Daniel Kulp <dk...@apache.org> wrote:
> On Thursday, December 01, 2011 3:42:31 PM davidb@apache.org wrote:
>> I'm a little confused. I did this commit, but when I check out a fresh
>> new copy of Aries trunk it doesn't appear. My new checkout only goes
>> to r1209115... What's wrong?
>
> Likely a lag between the US and EU mirrors. Usually it's only a few seconds,
> but seems to be longer this morning.
>
> You could checkout directly from svn.us.apache.org and see if that helps.
>
>
> Dan
>
>>
>> Thanks,
>>
>> David
>>
>> On 1 December 2011 15:27, <da...@apache.org> wrote:
>> > Author: davidb
>> > Date: Thu Dec 1 15:27:04 2011
>> > New Revision: 1209121
>> >
>> > URL: http://svn.apache.org/viewvc?rev=1209121&view=rev
>> > Log:
>> > Change double constant used in test from the famously problematic one
>> > that was fixed in Java 1.6 24 to another constant that works with all
>> > java versions.
>> >
>> > Modified:
>> >
>> > aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest
>> > /ManifestHeaderProcessorTest.java
>> >
>> > Modified:
>> > aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/
>> > ManifestHeaderProcessorTest.java URL:
>> > http://svn.apache.org/viewvc/aries/trunk/util/util-r42/src/test/java/or
>> > g/apache/aries/util/manifest/ManifestHeaderProcessorTest.java?rev=120912
>> > 1&r1=1209120&r2=1209121&view=diff
>> > =======================================================================
>> > ======= ---
>> > aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/
>> > ManifestHeaderProcessorTest.java (original) +++
>> > aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/
>> > ManifestHeaderProcessorTest.java Thu Dec 1 15:27:04 2011 @@ -553,7
>> > +553,7 @@ public class ManifestHeaderProcessorTest
>> > String s =
>> > "com.acme.dictionary; effective:=resolve; from:String=nl;
>> > to=de; version:Version=3.4.0.test;somedir:=test, " +
>> > "com.acme.dictionary; filter:=\"(&(width>=1000)(height>=1000))\", " + -
>> >
>> > "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Ver
>> > sion=1.3;long:Long=" + Long.MAX_VALUE +
>> > ";d:Double=\"2.2250738585072012e-308\""; +
>> > "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Ver
>> > sion=1.3;long:Long=" + Long.MAX_VALUE +
>> > ";d:Double=\"3.141592653589793\"";
>> >
>> > List<GenericMetadata> capabilities =
>> > ManifestHeaderProcessor.parseCapabilityString(s);
>> > testCapabilitiesOrRequirements(capabilities);
>> > @@ -564,7 +564,7 @@ public class ManifestHeaderProcessorTest
>> > String s =
>> > "com.acme.dictionary; effective:=resolve; from:String=nl;
>> > to=de; version:Version=3.4.0.test;somedir:=test, " +
>> > "com.acme.dictionary; filter:=\"(&(width>=1000)(height>=1000))\", " + -
>> >
>> > "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Ver
>> > sion=1.3;long:Long=" + Long.MAX_VALUE +
>> > ";d:Double=\"2.2250738585072012e-308\""; +
>> > "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Ver
>> > sion=1.3;long:Long=" + Long.MAX_VALUE +
>> > ";d:Double=\"3.141592653589793\"";
>> >
>> > List<GenericMetadata> capabilities =
>> > ManifestHeaderProcessor.parseRequirementString(s);
>> > testCapabilitiesOrRequirements(capabilities);
>> > @@ -617,6 +617,6 @@ public class ManifestHeaderProcessorTest
>> > assertEquals(new Version(1, 3, 0),
>> > cap.getAttributes().get("version")); assertEquals(Arrays.asList("nl",
>> > "be", "fr", "uk"), cap.getAttributes().get("country"));
>> > assertEquals(Long.MAX_VALUE, cap.getAttributes().get("long")); -
>> > assertEquals(0, new
>> > Double("2.2250738585072012e-308").compareTo((Double)
>> > cap.getAttributes().get("d"))); + assertEquals(0, new
>> > Double("3.141592653589793").compareTo((Double)
>> > cap.getAttributes().get("d"))); }
>> > }
> --
> Daniel Kulp
> dkulp@apache.org - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
Re: Commit disappeared? Re: svn commit: r1209121 - /aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/ManifestHeaderProcessorTest.java
Posted by Daniel Kulp <dk...@apache.org>.
On Thursday, December 01, 2011 3:42:31 PM davidb@apache.org wrote:
> I'm a little confused. I did this commit, but when I check out a fresh
> new copy of Aries trunk it doesn't appear. My new checkout only goes
> to r1209115... What's wrong?
Likely a lag between the US and EU mirrors. Usually it's only a few seconds,
but seems to be longer this morning.
You could checkout directly from svn.us.apache.org and see if that helps.
Dan
>
> Thanks,
>
> David
>
> On 1 December 2011 15:27, <da...@apache.org> wrote:
> > Author: davidb
> > Date: Thu Dec 1 15:27:04 2011
> > New Revision: 1209121
> >
> > URL: http://svn.apache.org/viewvc?rev=1209121&view=rev
> > Log:
> > Change double constant used in test from the famously problematic one
> > that was fixed in Java 1.6 24 to another constant that works with all
> > java versions.
> >
> > Modified:
> >
> > aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest
> > /ManifestHeaderProcessorTest.java
> >
> > Modified:
> > aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/
> > ManifestHeaderProcessorTest.java URL:
> > http://svn.apache.org/viewvc/aries/trunk/util/util-r42/src/test/java/or
> > g/apache/aries/util/manifest/ManifestHeaderProcessorTest.java?rev=120912
> > 1&r1=1209120&r2=1209121&view=diff
> > =======================================================================
> > ======= ---
> > aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/
> > ManifestHeaderProcessorTest.java (original) +++
> > aries/trunk/util/util-r42/src/test/java/org/apache/aries/util/manifest/
> > ManifestHeaderProcessorTest.java Thu Dec 1 15:27:04 2011 @@ -553,7
> > +553,7 @@ public class ManifestHeaderProcessorTest
> > String s =
> > "com.acme.dictionary; effective:=resolve; from:String=nl;
> > to=de; version:Version=3.4.0.test;somedir:=test, " +
> > "com.acme.dictionary; filter:=\"(&(width>=1000)(height>=1000))\", " + -
> >
> > "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Ver
> > sion=1.3;long:Long=" + Long.MAX_VALUE +
> > ";d:Double=\"2.2250738585072012e-308\""; +
> > "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Ver
> > sion=1.3;long:Long=" + Long.MAX_VALUE +
> > ";d:Double=\"3.141592653589793\"";
> >
> > List<GenericMetadata> capabilities =
> > ManifestHeaderProcessor.parseCapabilityString(s);
> > testCapabilitiesOrRequirements(capabilities);
> > @@ -564,7 +564,7 @@ public class ManifestHeaderProcessorTest
> > String s =
> > "com.acme.dictionary; effective:=resolve; from:String=nl;
> > to=de; version:Version=3.4.0.test;somedir:=test, " +
> > "com.acme.dictionary; filter:=\"(&(width>=1000)(height>=1000))\", " + -
> >
> > "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Ver
> > sion=1.3;long:Long=" + Long.MAX_VALUE +
> > ";d:Double=\"2.2250738585072012e-308\""; +
> > "com.acme.ip2location;country:List<String>=\"nl,be,fr,uk\";version:Ver
> > sion=1.3;long:Long=" + Long.MAX_VALUE +
> > ";d:Double=\"3.141592653589793\"";
> >
> > List<GenericMetadata> capabilities =
> > ManifestHeaderProcessor.parseRequirementString(s);
> > testCapabilitiesOrRequirements(capabilities);
> > @@ -617,6 +617,6 @@ public class ManifestHeaderProcessorTest
> > assertEquals(new Version(1, 3, 0),
> > cap.getAttributes().get("version")); assertEquals(Arrays.asList("nl",
> > "be", "fr", "uk"), cap.getAttributes().get("country"));
> > assertEquals(Long.MAX_VALUE, cap.getAttributes().get("long")); -
> > assertEquals(0, new
> > Double("2.2250738585072012e-308").compareTo((Double)
> > cap.getAttributes().get("d"))); + assertEquals(0, new
> > Double("3.141592653589793").compareTo((Double)
> > cap.getAttributes().get("d"))); }
> > }
--
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com