Skip to content

Commit 8b265b8

Browse files
committed
[I/Y-Build] Unify and streamline build and naming of products
Build OSGi Starter Kit for all supported platforms. Unify names of Eclipse products built for Windows.
1 parent 26e312d commit 8b265b8

6 files changed

Lines changed: 11 additions & 105 deletions

File tree

JenkinsJobs/Builds/build.jenkinsfile

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -279,25 +279,13 @@ pipeline {
279279
# Gather sdk product
280280
for file in ${PRODUCTS_DIR}/eclipse-sdk/target/products/*; do
281281
if [[ "$file" =~ /org.eclipse.sdk.ide-([^.]+).([^.]+).([^.]+).(.*)$ ]]; then
282-
if [[ "${BASH_REMATCH[1]}" == "${BASH_REMATCH[2]}" ]]; then
283-
#TODO: Remove this special treatment
284-
osWsArch=${BASH_REMATCH[1]}-${BASH_REMATCH[3]}
285-
else
286-
osWsArch=${BASH_REMATCH[1]}-${BASH_REMATCH[2]}-${BASH_REMATCH[3]}
287-
fi
288-
cp ${file} ${DROP_DIR}/${BUILD_ID}/eclipse-SDK-$BUILD_ID-${osWsArch}.${BASH_REMATCH[4]}
282+
cp ${file} ${DROP_DIR}/${BUILD_ID}/eclipse-SDK-$BUILD_ID-${BASH_REMATCH[1]}-${BASH_REMATCH[2]}-${BASH_REMATCH[3]}.${BASH_REMATCH[4]}
289283
fi
290284
done
291285
# Gather platform product
292286
for file in ${PRODUCTS_DIR}/eclipse-platform/target/products/*; do
293287
if [[ "$file" =~ /org.eclipse.platform.ide-([^.]+).([^.]+).([^.]+).(.*)$ ]]; then
294-
if [[ "${BASH_REMATCH[1]}" == "${BASH_REMATCH[2]}" ]]; then
295-
#TODO: Remove this special treatment
296-
osWsArch=${BASH_REMATCH[1]}-${BASH_REMATCH[3]}
297-
else
298-
osWsArch=${BASH_REMATCH[1]}-${BASH_REMATCH[2]}-${BASH_REMATCH[3]}
299-
fi
300-
cp ${file} ${DROP_DIR}/${BUILD_ID}/eclipse-platform-$BUILD_ID-${osWsArch}.${BASH_REMATCH[4]}
288+
cp ${file} ${DROP_DIR}/${BUILD_ID}/eclipse-platform-$BUILD_ID-${BASH_REMATCH[1]}-${BASH_REMATCH[2]}-${BASH_REMATCH[3]}.${BASH_REMATCH[4]}
301289
fi
302290
done
303291

products/eclipse-platform/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Maven/Tycho pom model adjustments, see https://github.com/eclipse/tycho/wiki/Tycho-Pomless
1+
# Maven/Tycho pom model adjustments, see https://github.com/eclipse-tycho/tycho/wiki/Tycho-Pomless
22
pom.model.property.product.id = org.eclipse.platform.ide
33
pom.model.property.product.rootFolder = eclipse
44
pom.model.property.product.rootFolder.macosx = Eclipse.app

products/eclipse-sdk/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Maven/Tycho pom model adjustments, see https://github.com/eclipse/tycho/wiki/Tycho-Pomless
1+
# Maven/Tycho pom model adjustments, see https://github.com/eclipse-tycho/tycho/wiki/Tycho-Pomless
22
pom.model.property.product.id = org.eclipse.sdk.ide
33
pom.model.property.product.rootFolder = eclipse
44
pom.model.property.product.rootFolder.macosx = Eclipse.app
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Maven/Tycho pom model adjustments, see https://github.com/eclipse-tycho/tycho/wiki/Tycho-Pomless
2+
pom.model.property.product.id = org.eclipse.rt.osgistarterkit.product
3+
pom.model.property.product.rootFolder = rt
4+
pom.model.property.product.rootFolder.macosx = Rt.app
5+
6+
pom.model.property.eclipse.signing.skip = false

products/equinox-starterkit/pom.xml

Lines changed: 0 additions & 88 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Maven/Tycho pom model adjustments, see https://github.com/eclipse/tycho/wiki/Tycho-Pomless
1+
# Maven/Tycho pom model adjustments, see https://github.com/eclipse-tycho/tycho/wiki/Tycho-Pomless
22
pom.model.property.repository.name = Eclipse ${releaseVersion}
33
pom.model.property.eclipse.signing.skip = false

0 commit comments

Comments
 (0)