mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-21 21:25:38 +00:00
keep only one target definition
- target definitions for ide and maven (local and p2admin) were all very similar - only differences between ide and maven: bundle versions, attributes in <location> tags and order of tags - only differences between local and p2admin: once one uses the file:// url for local, then they are exactly the same but for the specific URL - retain only one base target definition (use for normal ide and maven scenario) - introduce a script that can generate the target definition for the local p2 repo
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
base="../definitions/race-analysis-p2"
|
||||
remote_repo="http://p2.sapsailing.com/p2/sailing/"
|
||||
local_repo="file://$(readlink -f ../../com.sap.sailing.targetplatform.base/gen/p2/)"
|
||||
|
||||
# replace remote p2-repo URL with local repo URL
|
||||
sed -e "/^<repository location=\"/ s@$remote_repo@$local_repo@" $base-remote.target > $base-local.target
|
||||
Reference in New Issue
Block a user