Specifying naming rules for downloaded bundles [message #540706] |
Thu, 17 June 2010 06:57 |
Shenol Yousouf 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 !
|
|
|
Powered by
FUDForum. Page generated in 0.02592 seconds