eclipse-equinox / p2

Eclipse Public License 2.0
14 stars 40 forks source link

IRepository.PROP_COMPRESSED is confusing #539

Open tivervac opened 4 weeks ago

tivervac commented 4 weeks ago

SimpleArtifactRepository.getActualLocation with the compress flag set to true will only look for a .jar file.

For example, this is used here with the value of the IRepository.PROP_COMPRESSED property.

This property's documentation only mentioned that the repository metadata is compressed, not how it is (jar vs xz) compressed.

I would expect either the documentation to mention that compression can be achieved through .jar and .xz, or only one of them. Usages such as SimpleArtifactRepository.getActualLocation should then adhere to this definition