Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » P2 dev » Specifying naming rules for downloaded bundles
Specifying naming rules for downloaded bundles [message #540706] Thu, 17 June 2010 06:57
Shenol Yousouf is currently offline Shenol YousoufFriend
Messages: 1
Registered: June 2010
Junior Member
Hello everyone,

I am using the p2 director to install a set of bundles but I'd like to define some general rules how their file names are formed after fetching the jar files from the repository. In particular, I do not wish the file names to contain the version of the IU, e.g. org.eclipse.equinox.launcher_1.1.0.v20100507.jar must become org.eclipse.equinox.launcher.jar after download. Is there a user-friendly way to do it ?

I noticed that there is a section for the naming rules defined in artifact.xml + fields with a similar purpose in org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository class which makes me think that there should be a way to override the default mapping rules from the outside. For example, it could be a configuration file similar to p2.inf, which customizes the metadata repository during product publishing, but this one should be applicable to the artifact repository. Unfortunately, I could not find any information in that direction.

Any hints and suggestions would be helpful !

Previous Topic:Update eclipse.ini using P2
Next Topic:Feature caching in p2
Goto Forum:
  


Current Time: Tue Apr 16 22:44:59 GMT 2024

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

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

Back to the top