goomph icon indicating copy to clipboard operation
goomph copied to clipboard

possibility to set the repository name for the 'FeaturesAndBundlesPublisher'

Open wszeboreq opened this issue 2 years ago • 1 comments

It seems 'FeaturesAndBundlesPublisher' is missing a possibility to set the created repository name ('<repository name=...' in the generated 'artifacts.xml' and 'content.xml'). Repository names generated by default contain the repository disk path (i.e. one from the build server) which may be unacceptable.

I believe this may be done via 'repositoryName'/'metadataRepositoryName'/'artifactRepositoryName' attributes of the 'p2.publish.featuresAndBundles' Ant task (see https://wiki.eclipse.org/Equinox/p2/Publisher). Maybe (not sure) also somehow via 'p2.metadata.repo.name'/'p2.artifact.repo.name' properties.

Some general way of specifying some Ant task attribute would also be beneficial.

Is there any workaround way to specify the repository name for 'FeaturesAndBundlesPublisher' in the current Goomph version?

wszeboreq avatar Sep 07 '23 08:09 wszeboreq

Happy to merge a PR for this, but we're not using this feature anymore at DiffPlug.

nedtwigg avatar Sep 10 '23 17:09 nedtwigg