Skip to Content.
Sympa Menu

shibboleth-dev - Re: [Shib-Dev] Code Header and SVN Property Changes

Subject: Shibboleth Developers

List archive

Re: [Shib-Dev] Code Header and SVN Property Changes


Chronological Thread 
  • From: ejc <>
  • To:
  • Subject: Re: [Shib-Dev] Code Header and SVN Property Changes
  • Date: Thu, 2 Jun 2011 13:59:15 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=eUyNEBL/EZtPFmqFRneLYsgmHtogRv4nnABW42PiqfxEdmjmVEi5gwFdsnLjEBnC05 chTA0bBe2j2lZ/bhR7X1wEWs+H0XAk4UbDCCaNFspvUPu2cu6ckGiYDcWjqyIyHQHx8l 2tH+wraAW1JoDVmweh38fQ/NGLzLL84LLKEuk=

It looks as though some tests will need to be checked. I checked out
https://svn.shibboleth.net/java-shib-common/branches/REL_1

and ran mvn package

src/test/java/edu/internet2/middleware/shibboleth/common/resource/SVNResourceTest.java
failed because src/main/resources/schema/shibboleth-2.0-resource.xsd
changed size

This patch fixes the test:

Index:
src/test/java/edu/internet2/middleware/shibboleth/common/resource/SVNResourceTest.java
===================================================================
---
src/test/java/edu/internet2/middleware/shibboleth/common/resource/SVNResourceTest.java
(revision
979)
+++
src/test/java/edu/internet2/middleware/shibboleth/common/resource/SVNResourceTest.java
(working
copy)
@@ -81,7 +81,7 @@
// directory should contain the 19 schema files plus the .svn
directory
assertEquals(20, workingCopyDirectory.list().length);
assertTrue(schemaFile.exists());
- assertEquals(5161, schemaFile.length());
+ assertEquals(5148, schemaFile.length());
assertTrue(resource.exists());
assertEquals("file://" + repoDir.getAbsolutePath() + "/" +
schemaFileName, resource.getLocation());

@@ -95,7 +95,7 @@
assertEquals("file://" + repoDir.getAbsolutePath() + "/" +
schemaFileName, resource.getLocation());
assertEquals(20, workingCopyDirectory.list().length);
assertTrue(schemaFile.exists());
- assertEquals(5161, schemaFile.length());
+ assertEquals(5148, schemaFile.length());

// getLastModified() should force an update
assertTrue(lastModified.isBefore(resource.getLastModifiedTime()));

Thanks,
Eric

On Mon, May 30, 2011 at 7:49 AM, Chad La Joie
<>
wrote:
> Mid-week Brent is going to be checking in two changes that will effect
> most files in our Java repositories.
>
> First, he'll be fixing up the license header used by our source code.
> It'll still be Apache 2 licensed, we're just moving to a model that
> makes it easier for us to track which organizations contributed code.
>
> Second, we'll be fixing up two SVN properties on most of our files:
>  - svn:eol-style will be set to native on our text files (so when you
> check out files it'll convert line endings to your platform's native
> character(s))
>  - svn:mime-type property will be removed from all files that don't
> have a registered MIME type (mostly source files) and will be properly
> set for those that do.  This helps our SVN web view do syntax
> highlighting as well as just being good housekeeping.
>
> Developers, please be sure to adjust your SVN clients as described in
> the documents below.  This will ensure that all new files have the
> proper SVN properties set automatically.
>   - Command line:
> https://wiki.shibboleth.net/confluence/display/DEV/SVNConfig
>   - Eclipse:
> https://wiki.shibboleth.net/confluence/display/DEV/EclipseConfig
>
> --
> Chad La Joie
> www.itumi.biz
> trusted identities, delivered
>



Archive powered by MHonArc 2.6.16.

Top of Page