Revert "PRODUCT: Change IDE.app name to TizenStudio.app"
authorGihun Chang <gihun.chang@samsung.com>
Mon, 22 Aug 2016 09:35:31 +0000 (18:35 +0900)
committerGihun Chang <gihun.chang@samsung.com>
Mon, 22 Aug 2016 09:35:31 +0000 (18:35 +0900)
This reverts commit f3bfa8fcea17d579888e1a6763a04c6760558e3e.

package/build.linux

index 79335dd..ecc80af 100644 (file)
@@ -78,17 +78,17 @@ __clean_build_environment()
 
 __set_product_version() {
        echo "Set product's version (${product_version})"
-
+       
        product_path="${SRCDIR}/${branding_path}/${branding_file}"
        cp ${product_path} ${product_path}.bkp
-
+       
        sed -e "s;\(<property name=\"eclipse.buildId\" value=\).*\( />\);\1\"${product_version}\"\2;g" \
                < ${product_path} > ${product_path}.mod
        mv ${product_path}.mod ${product_path}
-
+       
        about_mapping_path="${SRCDIR}/org.tizen.dynamicanalyzer.workbench/about.mappings"
        cp ${about_mapping_path} ${about_mapping_path}.bkp
-
+       
        about_version_parameter="1"
        about_build_time_parameter="2"
        sed -e "s;\(^${about_version_parameter}=\).*;\1${product_version};g" \
@@ -159,7 +159,7 @@ __prepare_eclipse() {
 
        if [ "${platform}" = "macos-64" ]; then
                reference_ide_path=${ROOTDIR}/${ide_package_name}/data/eclipse-pde/Eclipse.app/Contents/Eclipse
-               reference_ce_path=${ROOTDIR}/TizenStudio.app/Contents/Eclipse
+               reference_ce_path=${ROOTDIR}/IDE.app/Contents/Eclipse
        fi
 }
 
@@ -262,7 +262,7 @@ packaging_plugins() {
        __clean_packaging_environment
 
        install_ide_path=${INSTALL_DIR}/${ide_root_path_name}
-
+       
        if [ ! -d ${install_ide_path} ]
        then
                mkdir -p ${install_ide_path}
@@ -350,7 +350,7 @@ clean()
 }
 
 # build
-build()
+build() 
 {
        echo "=========================================BUILD============================================"
        pkgname_and_platform_list=`awk 'BEGIN{RS="\n\n"; FS="\n"} /Package:/{for(i=1;i<NF;i++){if($i ~ /^OS:/){print $1,$i}}}' ${SRCDIR}/package/pkginfo.manifest | tr ' ' '@'`
@@ -359,7 +359,7 @@ build()
                pkgname_and_platform=`echo $pkgname_and_platform | tr '@' ' '`
                package_name=`echo ${pkgname_and_platform} | cut -f1 -d " " | cut -f2 -d ":"`
                platform=`echo ${pkgname_and_platform} | cut -f2 -d " " | cut -f2 -d ":"`
-
+       
                if [ "x${BUILD_TARGET_OS}" = "x${platform}" ]
                then
                        if [ "x${package_name}" = "xdynamic-analyzer-product" ]
@@ -376,7 +376,7 @@ build()
 }
 
 # install
-install()
+install() 
 {
        pkgname_and_platform_list=`awk 'BEGIN{RS="\n\n"; FS="\n"} /Package:/{for(i=1;i<NF;i++){if($i ~ /^OS:/){print $1,$i}}}' ${SRCDIR}/package/pkginfo.manifest | tr ' ' '@'`
        for pkgname_and_platform in ${pkgname_and_platform_list}
@@ -404,10 +404,11 @@ install()
                else
                        echo ""
                fi
-       done
+       done    
 }
 
 [ "$1" = "clean" ] && clean
 [ "$1" = "build" ] && build
 [ "$1" = "install" ] && install
 exit 0
+