Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EPP » Pascal: Packager doesn't honor order given in maps
Pascal: Packager doesn't honor order given in maps [message #573481] Fri, 16 February 2007 09:33
Urs Reupke is currently offline Urs ReupkeFriend
Messages: 8
Registered: July 2009
Junior Member
Pascal,

as I wrote elsewhere, I am assisting Markus with the packaging component.

Thanks for suggesting the PDE Packager as a basis for EPP.
The tool performs most of the required tasks as required by this
project, but just now, I have come across a problem I believe I cannot
solve by pre- or post-processing.

I am assembling the packages from three components - the Eclipse RCP
drops provided on the downloads page as "root" files, the requested
features downloaded from an update site, and a user-specified config.ini.
A custom config.ini is required, since the RCP drops come unconfigured.
To this end, I am creating a map file referencing the root files, a .zip
of the downloaded features, and another zip containing nothing but the
configuration file.
Packager then should take those files and work its magic, but alas, it
succeeds only in part. The FetchFileGenerator reads the contents of the
map file to a Properties object, which is essentially a HashMap, and
thus the order of iteration is not the order of insertion - which leads
to some root-file-archives being extracted after the config.ini-archive,
thus overwriting the custom file.

Could you advise me as to whether there is a more appropriate approach
to the custom config problem or whether we could change the packager so
that it honored the order given in the map file?

Thanks a lot
-Urs
Previous Topic:Straw man package proposal for PHP/Web Developer
Next Topic:Pascal: Packager doesn't honor order given in maps
Goto Forum:
  


Current Time: Thu Apr 25 07:10:23 GMT 2024

Powered by FUDForum. Page generated in 0.02673 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top