echo "Set dependence modues"
if [ -d "${ROOTDIR}/eclipse-pde" ]; then
- sed -i "s|REPOSITORY_PATH|file:/${ROOTDIR}/eclipse-pde/repository_mars2/|g" ${SRCDIR}/tizen.rt.releng.prereqs/tizen-rt-releng-prereqs.target
+ sed -i "s|REPOSITORY_PATH|file:/${ROOTDIR}/eclipse-pde/repository_mars2/|g" ${SRCDIR}/rt-ide/tizen.rt.releng.prereqs/tizen-rt-releng-prereqs.target
export MAVEN_OPTS="-Dmaven.repo.local=${ROOTDIR}/eclipse-pde/m2/repository"
else
echo "no repository exists"
#git submodule init
#git submodule update
#git submodule foreach 'git checkout advux'
- git clone spin:sdk/ide/eclipse.platform.ui ./tizen.rt.upstream.patches/eclipse.platform.ui -b ${BRANCH}
- git clone spin:sdk/ide/eclipse.platform.swt ./tizen.rt.upstream.patches/eclipse.platform.swt -b ${BRANCH}
- git clone spin:sdk/ide/eclipse.platform.swt.binaries ./tizen.rt.upstream.patches/eclipse.platform.swt.binaries -b ${BRANCH}
- git clone spin:sdk/ide/eclipse.platform.text ./tizen.rt.upstream.patches/eclipse.platform.text -b ${BRANCH}
- git clone spin:sdk/ide/eclipse.platform.debug ./tizen.rt.upstream.patches/eclipse.platform.debug -b ${BRANCH}
- git clone spin:sdk/ide/org.eclipse.cdt ./tizen.rt.upstream.patches/org.eclipse.cdt -b ${BRANCH}
- git clone spin:sdk/ide/webtools.jsdt ./tizen.rt.upstream.patches/webtools.jsdt -b ${BRANCH}
- git clone spin:sdk/ide/webtools.sourceediting ./tizen.rt.upstream.patches/webtools.sourceediting -b ${BRANCH}
- git clone spin:sdk/ide/eclipse.platform.team ./tizen.rt.upstream.patches/eclipse.platform.team -b ${BRANCH}
- git clone spin:sdk/ide/eclipse.platform.ua ./tizen.rt.upstream.patches/eclipse.platform.ua -b ${BRANCH}
- git clone spin:sdk/ide/egit ./tizen.rt.upstream.patches/egit -b ${BRANCH}
- cd ./tizen.rt.releng
+ git clone spin:sdk/ide/eclipse.platform.ui ./rt-ide/tizen.rt.upstream.patches/eclipse.platform.ui -b ${BRANCH}
+ git clone spin:sdk/ide/eclipse.platform.swt ./rt-ide/tizen.rt.upstream.patches/eclipse.platform.swt -b ${BRANCH}
+ git clone spin:sdk/ide/eclipse.platform.swt.binaries ./rt-ide/tizen.rt.upstream.patches/eclipse.platform.swt.binaries -b ${BRANCH}
+ git clone spin:sdk/ide/eclipse.platform.text ./rt-ide/tizen.rt.upstream.patches/eclipse.platform.text -b ${BRANCH}
+ git clone spin:sdk/ide/eclipse.platform.debug ./rt-ide/tizen.rt.upstream.patches/eclipse.platform.debug -b ${BRANCH}
+ git clone spin:sdk/ide/org.eclipse.cdt ./rt-ide/tizen.rt.upstream.patches/org.eclipse.cdt -b ${BRANCH}
+ git clone spin:sdk/ide/webtools.jsdt ./rt-ide/tizen.rt.upstream.patches/webtools.jsdt -b ${BRANCH}
+ git clone spin:sdk/ide/webtools.sourceediting ./rt-ide/tizen.rt.upstream.patches/webtools.sourceediting -b ${BRANCH}
+ git clone spin:sdk/ide/eclipse.platform.team ./rt-ide/tizen.rt.upstream.patches/eclipse.platform.team -b ${BRANCH}
+ git clone spin:sdk/ide/eclipse.platform.ua ./rt-ide/tizen.rt.upstream.patches/eclipse.platform.ua -b ${BRANCH}
+ git clone spin:sdk/ide/egit ./rt-ide/tizen.rt.upstream.patches/egit -b ${BRANCH}
+ cd ./rt-ide/tizen.rt.releng
mvn clean verify -P ${TARGET_OS}
cd ../
echo "Build Finished."
mkdir -p ${INSTALL_DIR}
case ${TARGET_OS} in
windows-32)
- mv ${SRCDIR}/tizen.product/target/products/org.tizen.rt.ide/win32/win32/x86/* ${INSTALL_DIR}
+ mv ${SRCDIR}/rt-ide/tizen.product/target/products/org.tizen.rt.ide/win32/win32/x86/* ${INSTALL_DIR}
mv ${SRCDIR}/package/addingFiles/TizenStudioRT.exe ${INSTALL_DIR}/rt-ide/
mv ${SRCDIR}/package/addingFiles/resources ${INSTALL_DIR}/rt-ide/
# remove console executabled
rm -rf ${INSTALL_DIR}/rt-ide/IDE.bat
rm -rf ${INSTALL_DIR}/rt-ide/eclipse.exe
cp -rf ${SRCDIR}/package/addingFiles/executable/windows/win32/eclipse_32.exe ${INSTALL_DIR}/rt-ide/eclipse.exe
- cp -rf ${SRCDIR}/../resources/templates/* ${INSTALL_DIR}/rt-ide/resources/templates/
+ cp -rf ${SRCDIR}/resources/templates/* ${INSTALL_DIR}/rt-ide/resources/templates/
;;
windows-64)
- mv ${SRCDIR}/tizen.rt.product/target/products/org.tizen.rt.ide/win32/win32/x86_64/* ${INSTALL_DIR}
+ mv ${SRCDIR}/rt-ide/tizen.rt.product/target/products/org.tizen.rt.ide/win32/win32/x86_64/* ${INSTALL_DIR}
mv ${SRCDIR}/package/addingFiles/TizenStudioRT.exe ${INSTALL_DIR}/rt-ide/
mv ${SRCDIR}/package/addingFiles/resources ${INSTALL_DIR}/rt-ide/
# remove console executable
rm -rf ${INSTALL_DIR}/rt-ide/IDE.bat
rm -rf ${INSTALL_DIR}/rt-ide/eclipse.exe
cp -rf ${SRCDIR}/package/addingFiles/executable/windows/win64/eclipse_64.exe ${INSTALL_DIR}/rt-ide/eclipse.exe
- cp -rf ${SRCDIR}/../resources/templates/* ${INSTALL_DIR}/rt-ide/resources/templates/
+ cp -rf ${SRCDIR}/resources/templates/* ${INSTALL_DIR}/rt-ide/resources/templates/
;;
ubuntu-32)
- mv ${SRCDIR}/tizen.rt.product/target/products/org.tizen.rt.ide/linux/gtk/x86/* ${INSTALL_DIR}
+ mv ${SRCDIR}/rt-ide/izen.rt.product/target/products/org.tizen.rt.ide/linux/gtk/x86/* ${INSTALL_DIR}
mv "${SRCDIR}/package/addingFiles/TizenStudioRT.sh" ${INSTALL_DIR}/rt-ide/
mv ${SRCDIR}/package/addingFiles/resources ${INSTALL_DIR}/rt-ide/
mkdir ${INSTALL_DIR}/rt-ide/resources
- cp -rf ${SRCDIR}/../resources/templates ${INSTALL_DIR}/rt-ide/resources
- cp -rf ${SRCDIR}/../lib/rxtx/*.jar ${INSTALL_DIR}/rt-ide/plugins/
- cp -rf ${SRCDIR}/../lib/plugins/* ${INSTALL_DIR}/rt-ide/plugins/
+ cp -rf ${SRCDIR}/resources/templates ${INSTALL_DIR}/rt-ide/resources
+ cp -rf ${SRCDIR}/lib/plugins/* ${INSTALL_DIR}/rt-ide/plugins/
mkdir ${INSTALL_DIR}/tools
- cp -rf ${SRCDIR}/../tools/*.tar ${INSTALL_DIR}/tools/
+ cp -rf ${SRCDIR}/tools/*.tar ${INSTALL_DIR}/tools/
cd ${INSTALL_DIR}/tools
- find . -name '*.tar' -exec tar xvf {} \;
+ find . -name '*.tar' -exec tar xf {} \;
cd -
# remove console executable
rm -rf ${INSTALL_DIR}/rt-ide/launcher
;;
ubuntu-64)
- mv ${SRCDIR}/tizen.rt.product/target/products/org.tizen.rt.ide/linux/gtk/x86_64/* ${INSTALL_DIR}
+ mv ${SRCDIR}/rt-ide/tizen.rt.product/target/products/org.tizen.rt.ide/linux/gtk/x86_64/* ${INSTALL_DIR}
mv "${SRCDIR}/package/addingFiles/TizenStudioRT.sh" ${INSTALL_DIR}/rt-ide/
mv ${SRCDIR}/package/addingFiles/resources ${INSTALL_DIR}/rt-ide/
mkdir ${INSTALL_DIR}/rt-ide/resources
- cp -rf ${SRCDIR}/../resources/templates ${INSTALL_DIR}/rt-ide/resources
- cp -rf ${SRCDIR}/../lib/rxtx/*.jar ${INSTALL_DIR}/rt-ide/plugins/
- cp -rf ${SRCDIR}/../lib/plugins/* ${INSTALL_DIR}/rt-ide/plugins/
+ cp -rf ${SRCDIR}/resources/templates ${INSTALL_DIR}/rt-ide/resources
+ cp -rf ${SRCDIR}/lib/plugins/* ${INSTALL_DIR}/rt-ide/plugins/
mkdir ${INSTALL_DIR}/tools
- cp -rf ${SRCDIR}/../tools/*.tar ${INSTALL_DIR}/tools/
+ cp -rf ${SRCDIR}/tools/*.tar ${INSTALL_DIR}/tools/
cd ${INSTALL_DIR}/tools
- find . -name '*.tar' -exec tar xvf {} \;
+ find . -name '*.tar' -exec tar xf {} \;
cd -
# remove console executable
rm -rf ${INSTALL_DIR}/rt-ide/launcher
;;
macos-64)
- mv ${SRCDIR}/tizen.rt.product/target/products/org.tizen.rt.ide/macosx/cocoa/x86_64/* ${INSTALL_DIR}
- cp -rf ${SRCDIR}/../resources/templates/* ${INSTALL_DIR}/rt-ide/resources/templates/
+ mv ${SRCDIR}/rt-ide/tizen.rt.product/target/products/org.tizen.rt.ide/macosx/cocoa/x86_64/* ${INSTALL_DIR}
+ cp -rf ${SRCDIR}/resources/templates/* ${INSTALL_DIR}/rt-ide/resources/templates/
;;
esac
echo "Install Finished."
+++ /dev/null
-#!/bin/sh
-start_path=`pwd`
-
-IDE_PATH=`dirname "$(readlink -f $0)"`
-
-## set no_proxy environment
-if [ "x${no_proxy}" = "x" ]
-then
- export no_proxy="127.0.0.1"
-else
- export no_proxy="${no_proxy},127.0.0.1"
-fi
-
-## Execute IDE
-eclipse_options="-Dorg.eclipse.swt.browser.DefaultType=MOZILLA"
-
-eclipse_options="${eclipse_options} $@"
-
-cd "${IDE_PATH}"
-
-if [ -e "${IDE_PATH}/init" ]
-then
- eclipse_options="-clean ${eclipse_options}"
-fi
-
-if [ -e /etc/os-release ]
-then
- id=`cat /etc/os-release | grep "^ID=" | sed "s/^ID=//g"`
- version=`cat /etc/os-release | grep "^VERSION_ID=" | sed "s/^VERSION_ID=//g" | sed "s/\"//g"`
-elif [ -e /etc/issue ]
-then
- id=`cat /etc/issue | awk '{print $1}' | tr [A-Z] [a-z]`
- ubuntu_version=`cat /etc/issue | awk '{print $2}'`
- version=`expr substr $ubuntu_version 1 5`
-fi
-
-if [ "${id}" = "ubuntu" ]
-then
- case "${version}" in
- 11.04|11.10|12.04|12.10|13.04|13.10|14.04)
- UBUNTU_MENUPROXY=0 LIBOVERLAY_SCROLLBAR=0 ./eclipse ${eclipse_options}
- ;;
- *)
- ./eclipse ${eclipse_options}
- esac
-else
- ./eclipse ${eclipse_options}
-fi
-
-cd "${start_path}"