aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cristiano Gavião (JIRA) <>
Subject [jira] [Commented] (ARIES-1387) Make Subsystem header items order reproducible
Date Mon, 31 Aug 2015 13:52:46 GMT


Cristiano Gavião commented on ARIES-1387:

I'm using the subsystem-core into two plugins. one is aimed to generate the subsystem manifest
file. The other is aimed to create a R5 repository containing both bundles and subsystem archives.
Both are for maven 3 and totally integrated to m2e with incremental build support. 

Also it being used inside the test classes to be sure that the configuration and dependencies
being declared are generating the right thing.
I'm repacking a new jar containing only the archive package and some other dependencies from

> Make Subsystem header items order reproducible
> ----------------------------------------------
>                 Key: ARIES-1387
>                 URL:
>             Project: Aries
>          Issue Type: Improvement
>          Components: Subsystem
>            Reporter: Cristiano Gavião
> Currently the org.apache.aries.subsystem.core.archive.SubsystemContentHeader class (line
210) and other headers classes uses a HashSet in order to hold its clauses.
> HashSet doesn't ensure the order of its items and then its impossible to have a reproducible
build of any manifest file. As the SubsystemManifest class doesn't provide a equals() method,
we can't compare a generated manifest file with any template in a test, it will fail.
> The propose it to change the used HashSet for the LinkedHashSet class.

This message was sent by Atlassian JIRA

View raw message