Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » P2 » artifacts.xml documentation?(I need to modify the artifacts.xml, where can I find documentation on its format?)
artifacts.xml documentation? [message #959266] Fri, 26 October 2012 15:26 Go to next message
Daniel Desjardins is currently offline Daniel DesjardinsFriend
Messages: 11
Registered: May 2012
Junior Member
Hello,
After the build of our product is done, I encrypt the class files in my JAR files of the p2 repository and I also sign them. Obviously after such modifications the information about the size and the md5 in the artifacts.xml is no longer accurate.

The format of the artifacts.xml is pretty much self explanatory but there are a few cases where I am lost.

For example sometime the artifact.size is either 0 or greater than the download.size. Why? How is the artifact.size value calculated?

Where can I find documentation on this?

Thank you all for your help!

Daniel
Re: artifacts.xml documentation? [message #959292 is a reply to message #959266] Fri, 26 October 2012 15:51 Go to previous message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 1
Registered: October 2012
Junior Member
> For example sometime the artifact.size is either 0 or greater than the download.size. Why?
The artifact size can be bigger than the download size if the artifact is zipped or pack'ed200. For example, the eclipse.exe is zipped and the artifact.size would be bigger than download.size.

>How is the artifact.size value calculated?
This is usually calculated from the size of the file / files that is being put in the archive

Don't be to bothered by this attribute though since it is only used to provide estimates to the user in one of the install dialog.

HTH
Previous Topic:Headless Build missing plugins
Next Topic:How to validate an upgrade before installation
Goto Forum:
  


Current Time: Mon Dec 22 10:47:31 GMT 2014

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

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