PRODUCT: Change IDE.app name to TizenStudio.app
authorYoonki Park <yoonki.park@samsung.com>
Tue, 16 Aug 2016 10:49:37 +0000 (19:49 +0900)
committerYoonki Park <yoonki.park@samsung.com>
Tue, 16 Aug 2016 10:49:37 +0000 (19:49 +0900)
Change-Id: I18d7f1427395fda6fe29dbf27c08837fb0e25c38
Signed-off-by: Yoonki Park <yoonki.park@samsung.com>
package/build.linux

index 99359c9..39cebbf 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}/IDE.app/Contents/Eclipse
+               reference_ce_path=${ROOTDIR}/TizenStudio.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,11 +404,10 @@ install()
                else
                        echo ""
                fi
-       done    
+       done
 }
 
 [ "$1" = "clean" ] && clean
 [ "$1" = "build" ] && build
 [ "$1" = "install" ] && install
 exit 0
-