Skip to content

Commit 9a9abc1

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 a8bfabe commit 9a9abc1

File tree

7 files changed

+12
-106
lines changed

7 files changed

+12
-106
lines changed

JenkinsJobs/Builds/build.jenkinsfile

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -274,25 +274,13 @@ pipeline {
274274
# Gather sdk product
275275
for file in ${PRODUCTS_DIR}/eclipse-sdk/target/products/*; do
276276
if [[ "$file" =~ /org.eclipse.sdk.ide-([^.]+).([^.]+).([^.]+).(.*)$ ]]; then
277-
if [[ "${BASH_REMATCH[1]}" == "${BASH_REMATCH[2]}" ]]; then
278-
#TODO: Remove this special treatment
279-
osWsArch=${BASH_REMATCH[1]}-${BASH_REMATCH[3]}
280-
else
281-
osWsArch=${BASH_REMATCH[1]}-${BASH_REMATCH[2]}-${BASH_REMATCH[3]}
282-
fi
283-
cp ${file} ${DROP_DIR}/${BUILD_ID}/eclipse-SDK-$BUILD_ID-${osWsArch}.${BASH_REMATCH[4]}
277+
cp ${file} ${DROP_DIR}/${BUILD_ID}/eclipse-SDK-$BUILD_ID-${BASH_REMATCH[1]}-${BASH_REMATCH[2]}-${BASH_REMATCH[3]}.${BASH_REMATCH[4]}
284278
fi
285279
done
286280
# Gather platform product
287281
for file in ${PRODUCTS_DIR}/eclipse-platform/target/products/*; do
288282
if [[ "$file" =~ /org.eclipse.platform.ide-([^.]+).([^.]+).([^.]+).(.*)$ ]]; then
289-
if [[ "${BASH_REMATCH[1]}" == "${BASH_REMATCH[2]}" ]]; then
290-
#TODO: Remove this special treatment
291-
osWsArch=${BASH_REMATCH[1]}-${BASH_REMATCH[3]}
292-
else
293-
osWsArch=${BASH_REMATCH[1]}-${BASH_REMATCH[2]}-${BASH_REMATCH[3]}
294-
fi
295-
cp ${file} ${DROP_DIR}/${BUILD_ID}/eclipse-platform-$BUILD_ID-${osWsArch}.${BASH_REMATCH[4]}
283+
cp ${file} ${DROP_DIR}/${BUILD_ID}/eclipse-platform-$BUILD_ID-${BASH_REMATCH[1]}-${BASH_REMATCH[2]}-${BASH_REMATCH[3]}.${BASH_REMATCH[4]}
296284
fi
297285
done
298286

eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/api-tools-builder.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
<!-- grab the currently built + zipped build -->
185185
<property
186186
name="current_location"
187-
value="${buildDirectory}/eclipse-SDK-${buildLabel}-win32-x86_64.zip" />
187+
value="${buildDirectory}/eclipse-SDK-${buildLabel}-win32-win32-x86_64.zip" />
188188
<!--
189189
If not available, build failed, for other reasons, so we'll prevent
190190
errors from occuring here, which might be confusing in debugging.

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)