RTSDK: move package folder location.
authorjooyoul_lee <jy.exe.lee@samsung.com>
Wed, 22 Feb 2017 06:51:36 +0000 (15:51 +0900)
committerjooyoul_lee <jy.exe.lee@samsung.com>
Wed, 22 Feb 2017 07:00:53 +0000 (16:00 +0900)
- Move the package folder to upper depth.
- for DIBS build spec.

Change-Id: I82855eced29495ba3452cd820f894387cceaf298
Signed-off-by: jooyoul_lee <jy.exe.lee@samsung.com>
24 files changed:
package/addingFiles/IDE.bat [moved from rt-ide/package/addingFiles/IDE.bat with 100% similarity]
package/addingFiles/TizenStudio.bat [moved from rt-ide/package/addingFiles/TizenStudio.bat with 100% similarity]
package/addingFiles/TizenStudio.exe [moved from rt-ide/package/addingFiles/TizenStudio.exe with 100% similarity]
package/addingFiles/TizenStudioRT.exe [moved from rt-ide/package/addingFiles/TizenStudioRT.exe with 100% similarity]
package/addingFiles/TizenStudioRT.sh [moved from rt-ide/package/addingFiles/TizenStudioRT.sh with 100% similarity]
package/addingFiles/base-ide-product/removeSite.xml [moved from rt-ide/package/addingFiles/base-ide-product/removeSite.xml with 100% similarity]
package/addingFiles/base-web-ide-product/dropins/org.eclipse.jst.j2ee.ejb_1.1.700.v201305012100.jar [moved from rt-ide/package/addingFiles/base-web-ide-product/dropins/org.eclipse.jst.j2ee.ejb_1.1.700.v201305012100.jar with 100% similarity]
package/addingFiles/executable/windows/win32/eclipse_32.exe [moved from rt-ide/package/addingFiles/executable/windows/win32/eclipse_32.exe with 100% similarity]
package/addingFiles/executable/windows/win64/eclipse_64.exe [moved from rt-ide/package/addingFiles/executable/windows/win64/eclipse_64.exe with 100% similarity]
package/addingFiles/resources/icons/tizen_studio.ico [moved from rt-ide/package/addingFiles/resources/icons/tizen_studio.ico with 100% similarity]
package/addingFiles/resources/icons/tizen_studio_128.png [moved from rt-ide/package/addingFiles/resources/icons/tizen_studio_128.png with 100% similarity]
package/addingFiles/resources/icons/tizen_studio_256.png [moved from rt-ide/package/addingFiles/resources/icons/tizen_studio_256.png with 100% similarity]
package/ant-contrib.jar [moved from rt-ide/package/ant-contrib.jar with 100% similarity]
package/ant-product.xml [moved from rt-ide/package/ant-product.xml with 100% similarity]
package/build.linux [moved from rt-ide/package/build.linux with 55% similarity]
package/changelog [moved from rt-ide/package/changelog with 100% similarity]
package/pkginfo.manifest [moved from rt-ide/package/pkginfo.manifest with 100% similarity]
package/rt-ide-product.install.linux [moved from rt-ide/package/rt-ide-product.install.linux with 100% similarity]
package/rt-ide-product.install.macos [moved from rt-ide/package/rt-ide-product.install.macos with 100% similarity]
package/rt-ide-product.install.windows [moved from rt-ide/package/rt-ide-product.install.windows with 100% similarity]
package/rt-ide-product.remove.linux [moved from rt-ide/package/rt-ide-product.remove.linux with 100% similarity]
package/rt-ide-product.remove.macos [moved from rt-ide/package/rt-ide-product.remove.macos with 100% similarity]
package/rt-ide-product.remove.windows [moved from rt-ide/package/rt-ide-product.remove.windows with 100% similarity]
rt-ide/package/addingFiles/TizenStudio.sh [deleted file]

similarity index 55%
rename from rt-ide/package/build.linux
rename to package/build.linux
index 495696f..924e832 100755 (executable)
@@ -31,7 +31,7 @@ build() {
     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"
@@ -42,18 +42,18 @@ build() {
     #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."
@@ -65,7 +65,7 @@ install() {
     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
@@ -74,10 +74,10 @@ install() {
         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
@@ -86,44 +86,42 @@ install() {
         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."
similarity index 100%
rename from rt-ide/package/changelog
rename to package/changelog
diff --git a/rt-ide/package/addingFiles/TizenStudio.sh b/rt-ide/package/addingFiles/TizenStudio.sh
deleted file mode 100644 (file)
index 193d621..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/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}"