-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: build/org.eclipse.birt.releng.birtbuilder/bootstrap.sh
- Loading branch information
Showing
5 changed files
with
351 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
156 changes: 156 additions & 0 deletions
156
build/org.eclipse.birt.releng.birtbuilder/extras/generate_platform/generate.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
DISPLAY=:0.0 | ||
export DISPLAY | ||
|
||
#==================== COMMON SET UP ================================ | ||
|
||
export SDK_LOCATION=/home/adb/farrah/director/sdk | ||
export TARGET_LOCATION=/home/adb/farrah/director/target | ||
export REPO_LOCATION=/home/adb/farrah/director | ||
export ECLIPSE_RUNNER=$SDK_LOCATION/eclipse/eclipse | ||
|
||
usage="usage: $0 [win|linux]" | ||
|
||
case "$1" in | ||
win) | ||
export PACKAGE_TYPE=win | ||
export P2_OS=win32 | ||
export P2_WS=win32 | ||
export P2_ARCH=x86;; | ||
linux) | ||
export PACKAGE_TYPE=linux | ||
export P2_OS=linux | ||
export P2_WS=gtk | ||
export P2_ARCH=x86;; | ||
*) | ||
echo >&2 "$usage" | ||
exit 1;; | ||
esac | ||
|
||
#export Profile=PlatformProfile | ||
export Profile=SDKProfile | ||
|
||
#export ECLIPSE_CVS_URL=http://download.eclipse.org/eclipse/updates/3.7milestones/S-3.7RC2-201105191138/ | ||
#export ECLIPSE_JDT_URL=http://download.eclipse.org/eclipse/updates/3.7milestones/S-3.7RC2-201105191138/ | ||
#export ECLIPSE_PDE_URL=http://download.eclipse.org/eclipse/updates/3.7milestones/S-3.7RC2-201105191138/ | ||
#export EMF_XSD_URL=http://download.eclipse.org/modeling/emf/emf/updates/2.7milestones/ | ||
#export GEF_URL=http://download.eclipse.org/tools/gef/updates/milestones/ | ||
|
||
export ECLIPSE_CVS_URL=jar:file://$REPO_LOCATION/org.eclipse.cvs-4.4M6.zip!/ | ||
export ECLIPSE_JDT_URL=jar:file://$REPO_LOCATION/org.eclipse.jdt-4.4M6.zip!/ | ||
export ECLIPSE_PDE_URL=jar:file://$REPO_LOCATION/org.eclipse.pde-4.4M6.zip!/ | ||
export EMF_XSD_URL=jar:file://$REPO_LOCATION/emf-xsd-Update-2.10.0M6.zip!/ | ||
export GEF_URL=jar:file://$REPO_LOCATION/GEF-Update-3.9.2M6.zip!/ | ||
|
||
#==================== COMMON SET UP ================================ | ||
|
||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $ECLIPSE_CVS_URL \ | ||
-artifactRepository $ECLIPSE_CVS_URL \ | ||
-installIU org.eclipse.cvs.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 | ||
|
||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $ECLIPSE_JDT_URL \ | ||
-artifactRepository $ECLIPSE_JDT_URL \ | ||
-installIU org.eclipse.jdt.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 | ||
|
||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $ECLIPSE_PDE_URL \ | ||
-artifactRepository $ECLIPSE_PDE_URL \ | ||
-installIU org.eclipse.pde.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 | ||
|
||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $EMF_XSD_URL \ | ||
-artifactRepository $EMF_XSD_URL \ | ||
-installIU org.eclipse.emf.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 | ||
|
||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $EMF_XSD_URL \ | ||
-artifactRepository $EMF_XSD_URL \ | ||
-installIU org.eclipse.xsd.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 | ||
|
||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $EMF_XSD_URL \ | ||
-artifactRepository $EMF_XSD_URL \ | ||
-installIU org.eclipse.xsd.edit.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 | ||
|
||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $GEF_URL \ | ||
-artifactRepository $GEF_URL \ | ||
-installIU org.eclipse.gef.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 | ||
|
||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $GEF_URL \ | ||
-artifactRepository $GEF_URL \ | ||
-installIU org.eclipse.draw2d.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 |
127 changes: 127 additions & 0 deletions
127
build/org.eclipse.birt.releng.birtbuilder/extras/generate_platform/installMylyn.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
DISPLAY=:0.0 | ||
export DISPLAY | ||
|
||
#==================== COMMON SET UP ================================ | ||
|
||
export SDK_LOCATION=/home/adb/farrah/director/sdk | ||
export TARGET_LOCATION=/home/adb/farrah/director/target | ||
export REPO_LOCATION=/home/adb/farrah/director | ||
export ECLIPSE_RUNNER=$SDK_LOCATION/eclipse/eclipse | ||
|
||
usage="usage: $0 [win|linux]" | ||
|
||
case "$1" in | ||
win) | ||
export PACKAGE_TYPE=win | ||
export P2_OS=win32 | ||
export P2_WS=win32 | ||
export P2_ARCH=x86;; | ||
linux) | ||
export PACKAGE_TYPE=linux | ||
export P2_OS=linux | ||
export P2_WS=gtk | ||
export P2_ARCH=x86;; | ||
*) | ||
echo >&2 "$usage" | ||
exit 1;; | ||
esac | ||
|
||
#export Profile=PlatformProfile | ||
export Profile=SDKProfile | ||
|
||
#export MYLYN_REPO_URL=http://download.eclipse.org/mylyn/snapshots/indigo/ | ||
export MYLYN_REPO_URL=jar:file://$REPO_LOCATION/mylyn-3.9.1.v20130917-0100.zip!/ | ||
|
||
#==================== COMMON SET UP ================================ | ||
|
||
#install for win | ||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $MYLYN_REPO_URL \ | ||
-artifactRepository $MYLYN_REPO_URL \ | ||
-installIU org.eclipse.mylyn.ide_feature.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 | ||
|
||
|
||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $MYLYN_REPO_URL \ | ||
-artifactRepository $MYLYN_REPO_URL \ | ||
-installIU org.eclipse.mylyn.java_feature.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 | ||
|
||
|
||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $MYLYN_REPO_URL \ | ||
-artifactRepository $MYLYN_REPO_URL \ | ||
-installIU org.eclipse.mylyn.bugzilla_feature.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 | ||
|
||
|
||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $MYLYN_REPO_URL \ | ||
-artifactRepository $MYLYN_REPO_URL \ | ||
-installIU org.eclipse.mylyn.context_feature.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 | ||
|
||
|
||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $MYLYN_REPO_URL \ | ||
-artifactRepository $MYLYN_REPO_URL \ | ||
-installIU org.eclipse.mylyn_feature.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 | ||
|
||
|
||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $MYLYN_REPO_URL \ | ||
-artifactRepository $MYLYN_REPO_URL \ | ||
-installIU org.eclipse.mylyn.wikitext_feature.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 | ||
|
||
|
53 changes: 53 additions & 0 deletions
53
build/org.eclipse.birt.releng.birtbuilder/extras/generate_platform/installWTP.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
DISPLAY=:0.0 | ||
export DISPLAY | ||
|
||
#==================== COMMON SET UP ================================ | ||
|
||
export SDK_LOCATION=/home/adb/farrah/director/sdk | ||
export TARGET_LOCATION=/home/adb/farrah/director/target | ||
export REPO_LOCATION=/home/adb/farrah/director | ||
export ECLIPSE_RUNNER=$SDK_LOCATION/eclipse/eclipse | ||
|
||
usage="usage: $0 [win|linux]" | ||
|
||
case "$1" in | ||
win) | ||
export PACKAGE_TYPE=win | ||
export P2_OS=win32 | ||
export P2_WS=win32 | ||
export P2_ARCH=x86;; | ||
linux) | ||
export PACKAGE_TYPE=linux | ||
export P2_OS=linux | ||
export P2_WS=gtk | ||
export P2_ARCH=x86;; | ||
*) | ||
echo >&2 "$usage" | ||
exit 1;; | ||
esac | ||
|
||
#export Profile=PlatformProfile | ||
export Profile=SDKProfile | ||
|
||
#export WTP_REPO_URL=http://download.eclipse.org/webtools/downloads/drops/R3.3.0/S-3.3.0RC2-20110520234832/repository/ | ||
|
||
export WTP_REPO_URL=jar:file://$REPO_LOCATION/wtp4x-repo-M-3.5.1RC4-20130913223750.zip!/ | ||
|
||
#==================== COMMON SET UP ================================ | ||
|
||
#install for win | ||
$ECLIPSE_RUNNER \ | ||
-application org.eclipse.equinox.p2.director \ | ||
-metadataRepository $WTP_REPO_URL \ | ||
-artifactRepository $WTP_REPO_URL \ | ||
-installIU org.eclipse.wst.xml_ui.feature.feature.group \ | ||
-destination $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-profile $Profile \ | ||
-bundlepool $TARGET_LOCATION/$PACKAGE_TYPE/eclipse \ | ||
-p2.os $P2_OS \ | ||
-p2.ws $P2_WS \ | ||
-p2.arch $P2_ARCH \ | ||
-roaming -vmargs \ | ||
-Declipse.p2.data.area=$TARGET_LOCATION/$PACKAGE_TYPE/eclipse/p2 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters