commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Egge (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COLLECTIONS-247) update build to compile with Java 5 and use JUnit 4 and EasyMock in generics branch
Date Thu, 25 Oct 2007 13:45:50 GMT

     [ https://issues.apache.org/jira/browse/COLLECTIONS-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brian Egge updated COLLECTIONS-247:
-----------------------------------

    Attachment: pom.xml

Attached is a Maven 2 pom.xml file.  This is basically a copy of the version in trunk, with
updates applied for the generics branch.

I couldn't get maven 1 or ant to work after a checkout, so I decided a m2 build might be the
easiest fix.

> update build to compile with Java 5 and use JUnit 4 and EasyMock in generics branch
> -----------------------------------------------------------------------------------
>
>                 Key: COLLECTIONS-247
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-247
>             Project: Commons Collections
>          Issue Type: Task
>    Affects Versions: Generics
>         Environment: Mac OS X
>            Reporter: Edwin Tellman
>            Priority: Minor
>             Fix For: Generics
>
>         Attachments: patch_04_01.txt, pom.xml
>
>
> As requested on [http://wiki.apache.org/jakarta-commons/Collections/GenericCollections/Contributors],
I updated the build to use Java 5 and I added JUnit 4 and EasyMock.
> For now, I overrode skipSerializedCanonicalTests() to return true in AbstractTestBag
and AbstractTestList, as the serialized objects don't match.  I think it is probably OK that
the serialized objects have changed in this branch, but please don't apply these changes if
that is not the case.  
> If it is OK for the objects to have changed, and we don't expect them to change again
soon, someone could generate new serialized objects for this branch.
> This patch, combined with the patch from https://issues.apache.org/jira/browse/COLLECTIONS-243
allows everything to build and the tests all pass:
> test:test:
>     [junit] Running org.apache.commons.collections.TestAllPackages
>     [junit] Tests run: 10602, Failures: 0, Errors: 0, Time elapsed: 22.123 sec
> BUILD SUCCESSFUL
> Total time: 30 seconds

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message