[Title] Make darwin build configuration
authorTaeyoung Son <taeyoung2.son@samsung.com>
Mon, 18 Jun 2012 01:46:10 +0000 (10:46 +0900)
committerTaeyoung Son <taeyoung2.son@samsung.com>
Mon, 18 Jun 2012 05:00:39 +0000 (14:00 +0900)
[Type]
[Module]
[Priority]
[CQ#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I444802bd4c439adfbb3f4d892a946c8d0ec065db

org.tizen.base.feature/feature.xml
org.tizen.base.platform/TizenIDE_base_darwin.product [new file with mode: 0644]
package/build.linux [changed mode: 0644->0755]
package/pkginfo.manifest

index b66ec85..73932cc 100644 (file)
@@ -965,13 +965,6 @@ BY CLICKING THE &quot;I AGREE&quot; BUTTON OR BY USING ANY PART OF TIZEN SDK, YO
          unpack="false"/>
 
    <plugin
-         id="org.eclipse.cdt.p2.source"
-         download-size="0"
-         install-size="0"
-         version="0.0.0"
-         unpack="false"/>
-
-   <plugin
          id="org.eclipse.cdt.p2"
          download-size="0"
          install-size="0"
diff --git a/org.tizen.base.platform/TizenIDE_base_darwin.product b/org.tizen.base.platform/TizenIDE_base_darwin.product
new file mode 100644 (file)
index 0000000..1e8780a
--- /dev/null
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?pde version="3.5"?>
+
+<product name="Tizen IDE" uid="org.tizen.base.product" id="org.tizen.base.platform.product" application="org.eclipse.ui.ide.workbench" version="1.0.0.qualifier" useFeatures="true" includeLaunchers="false">
+
+   <aboutInfo>
+      <image path="/org.tizen.base.platform/icons/branding/about_tizen_sdk.png"/>
+      <text>
+         %product.description
+      </text>
+   </aboutInfo>
+
+   <configIni use="default">
+   </configIni>
+
+   <launcherArgs>
+      <programArgs>-clean
+-nl
+en</programArgs>
+      <vmArgs>-Dfile.encoding=UTF-8
+-Xms256m
+-Xmx512m
+-XX:MaxPermSize=128m</vmArgs>
+      <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
+   </launcherArgs>
+
+   <windowImages i16="/org.tizen.base.platform/icons/branding/16_TIZEN_SDK_icon.png" i32="/org.tizen.base.platform/icons/branding/32_TIZEN_SDK_icon.png" i48="/org.tizen.base.platform/icons/branding/48_TIZEN_SDK_icon.png" i64="/org.tizen.base.platform/icons/branding/64_TIZEN_SDK_icon.png" i128="/org.tizen.base.platform/icons/branding/128_TIZEN_SDK_icon.png"/>
+
+   <splash
+      location="org.tizen.base.platform"
+      startupProgressRect="0,313,478,15"
+      startupMessageRect="7,140,441,20"
+      startupForegroundColor="FFFFFF" />
+   <launcher name="eclipse">
+      <linux icon="/org.tizen.base.platform/icons/launching/128_TIZEN_SDK_icon.xpm"/>
+      <solaris/>
+      <win useIco="true">
+         <bmp/>
+      </win>
+   </launcher>
+
+   <intro introId="org.tizen.base.platform.intro"/>
+
+   <vm>
+   </vm>
+
+   <license>
+        <url>https://developer.tizen.org</url>
+        <text>
+   Tizen SDK
+
+Tizen SDK contains software portions licensed under various open source licenses as well as proprietary components.  All open source software portions (“Open Source Software”) are licensed under the open source licenses that accompany such Open Source Software.
+
+The licenses governing the Open Source Software are available at: http://developer.tizen.org/download/tizen_sdk_opensource_license.html
+
+Except for the Open Source Software contained in Tizen SDK, all other software portions contained in Tizen SDK are governed by the terms and conditions of the Tizen Software Development Kit License Agreement, available at: http://developer.tizen.org/download/samsung_sdk_license.html
+
+You may access and download Tizen SDK Open Source Software at: http://developer.tizen.org/download/tizenopensdk.tar.gz
+
+BY CLICKING THE &quot;I AGREE&quot; BUTTON OR BY USING ANY PART OF TIZEN SDK, YOU AGREE (ON BEHALF OF YOURSELF AND/OR YOUR COMPANY) TO THE OPEN SOURCE SOFTWARE LICENSE TERMS AND THE TIZEN SOFTWARE DEVELOPMENT KIT LICENSE AGREEMENT. IF YOU DO NOT AGREE WITH THE OPEN SOURCE SOFTWARE LICENSE TERMS OR THE TIZEN SOFTWARE DEVELOPMENT KIT LICENSE AGREEMENT, YOU MAY NOT DOWNLOAD OR USE TIZEN SDK.
+         </text>
+   </license>
+
+   <plugins>
+   </plugins>
+
+   <features>
+      <feature id="org.eclipse.platform"/>
+      <feature id="org.eclipse.equinox.executable"/>
+      <feature id="org.tizen.base.feature"/>
+   </features>
+
+   <configurations>
+      <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="0" />
+      <plugin id="org.eclipse.equinox.common" autoStart="true" startLevel="2" />
+      <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="2" />
+      <plugin id="org.eclipse.equinox.p2.reconciler.dropins" autoStart="true" startLevel="4" />
+      <plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true" startLevel="1" />
+      <plugin id="org.eclipse.osgi" autoStart="true" startLevel="-1" />
+      <plugin id="org.eclipse.update.configurator" autoStart="true" startLevel="0" />
+      <property name="eclipse.buildId" value="0.ir#.build#" />
+      <property name="osgi.instance.area.default" value="@user.home/workspace" />
+   </configurations>
+
+</product>
old mode 100644 (file)
new mode 100755 (executable)
index 711da3e..e48ca76
@@ -5,314 +5,325 @@ build_time=`date +%Y%m%d-%H%M`
 
 __set_parameter()
 {
-       build_id=${package_name}
-       build_type=N
-       build_result_directory=${build_type}.${build_id}
-       build_result_path="$build_path/$build_result_directory"
-       architecture=x86
-       ide_root_path_name=IDE
-
-       case ${platform} in
-               linux)
-                       archive_platform_name=linux
-                       windowing=gtk
-                       ;;
-               windows)
-                       archive_platform_name=win32
-                       windowing=win32
-                       ;;
-               *)
-                       echo "${platform} is not support yet."
-                       ;;
-       esac
-
-       result_archive_file=${build_id}-${archive_platform_name}.${windowing}.${architecture}.zip
+    build_id=${package_name}
+    build_type=N
+    build_result_directory=${build_type}.${build_id}
+    build_result_path="$build_path/$build_result_directory"
+    architecture=x86
+    ide_root_path_name=IDE
+
+    case ${platform} in
+        linux)
+            archive_platform_name=linux
+            windowing=gtk
+            ;;
+        windows)
+            archive_platform_name=win32
+            windowing=win32
+            ;;
+        darwin)
+            archive_platform_name=macosx
+            windowing=cocoa
+            architecture=x86_64
+            ;;
+        *)
+            echo "${platform} is not support yet."
+            ;;
+    esac
+
+    result_archive_file=${build_id}-${archive_platform_name}.${windowing}.${architecture}.zip
 }
 
 __set_build_parameter()
 {
-       manifest_version=`grep Version: ${SRCDIR}/package/pkginfo.manifest | cut -f2 -d":" | head -n 1`
-       product_version=auto_build_test
-       branding_path="org.tizen.base.platform"
-       branding_file="TizenIDE_base_${platform}.product"
-       
-       case ${platform} in
-               linux)
-                       reference_ide_path=${ROOTDIR}/indigo-pde/eclipse
-                       ;;
-               windows)
-                       reference_ide_path=${ROOTDIR}/indigo-winpde/eclipse
-                       ;;
-               *)
-                       echo "${platform} is not support yet."
-                       ;;
-       esac
+    manifest_version=`grep Version: ${SRCDIR}/package/pkginfo.manifest | cut -f2 -d":" | head -n 1`
+    product_version="2.0a2 RC1"
+    branding_path="org.tizen.base.platform"
+    branding_file="TizenIDE_base_${platform}.product"
+    
+    case ${platform} in
+        linux)
+            reference_ide_path=${ROOTDIR}/indigo-pde/eclipse
+            ;;
+        windows)
+            reference_ide_path=${ROOTDIR}/indigo-winpde/eclipse
+            ;;
+        darwin)
+            reference_ide_path=${ROOTDIR}/indigo-macpde/eclipse
+            ;;
+        *)
+            echo "${platform} is not support yet."
+            ;;
+    esac
 }
 
 __set_install_parameter()
 {
-       INSTALL_DIR=${SRCDIR}/package/${package_name}.package.${platform}/data
+    INSTALL_DIR=${SRCDIR}/package/${package_name}.package.${platform}/data
 }
 
 __clean_build_environment()
 {
-       if [ -d $build_path ]
-       then
-               echo "Build result directory : [$build_path]"
-       else
-               echo "Make build result directory [$build_path]"
-               mkdir -p $build_path
-       fi
-
-       echo "Remove legacy build files..."
-       if [ -d ${build_result_path}/${archive_platform_name}.${windowing}.${architecture} ]
-       then
-               rm -rf ${build_result_path}/${archive_platform_name}.${windowing}.${architecture}
-       fi
-       if [ -e ${build_result_path}/${result_archive_file} ]
-       then
-               rm -rf ${build_result_path}/${result_archive_file}
-       fi
-       if [ -d ${build_path}/tmp ]
-       then
-               rm -rf ${build_path}/tmp
-       fi
-
-       if [ -d ${build_path}/buildRepo ]
-       then
-               rm -rf ${build_path}/buildRepo
-       fi
-
-       rm -rf ${build_path}/*.xml
-       rm -rf ${build_path}/*.properties
-       rm -rf ${build_path}/*.clean
-
-
-       if [ -d $build_path/plugins ]
-       then
-               echo "plugins directory recreate..."
-               rm -rf $build_path/plugins
-               mkdir $build_path/plugins
-       else
-               echo "Make plugins directory..."
-               mkdir $build_path/plugins
-       fi
-       if [ -d $build_path/features/ ]
-       then
-               echo "features directory recreate..."
-               rm -rf $build_path/features
-               mkdir $build_path/features
-       else
-               echo "Make features directory..."
-               mkdir $build_path/features
-       fi
+    if [ -d $build_path ]
+    then
+        echo "Build result directory : [$build_path]"
+    else
+        echo "Make build result directory [$build_path]"
+        mkdir -p $build_path
+    fi
+
+    echo "Remove legacy build files..."
+    if [ -d ${build_result_path}/${archive_platform_name}.${windowing}.${architecture} ]
+    then
+        rm -rf ${build_result_path}/${archive_platform_name}.${windowing}.${architecture}
+    fi
+    if [ -e ${build_result_path}/${result_archive_file} ]
+    then
+        rm -rf ${build_result_path}/${result_archive_file}
+    fi
+    if [ -d ${build_path}/tmp ]
+    then
+        rm -rf ${build_path}/tmp
+    fi
+
+    if [ -d ${build_path}/buildRepo ]
+    then
+        rm -rf ${build_path}/buildRepo
+    fi
+
+    rm -rf ${build_path}/*.xml
+    rm -rf ${build_path}/*.properties
+    rm -rf ${build_path}/*.clean
+
+
+    if [ -d $build_path/plugins ]
+    then
+        echo "plugins directory recreate..."
+        rm -rf $build_path/plugins
+        mkdir $build_path/plugins
+    else
+        echo "Make plugins directory..."
+        mkdir $build_path/plugins
+    fi
+    if [ -d $build_path/features/ ]
+    then
+        echo "features directory recreate..."
+        rm -rf $build_path/features
+        mkdir $build_path/features
+    else
+        echo "Make features directory..."
+        mkdir $build_path/features
+    fi
 
 }
 
 __copy_build_sources()
 {
-       echo "Copy features from $SRCDIR to $build_path/features"
+    echo "Copy features from $SRCDIR to $build_path/features"
     temp_dir="`mktemp -d /tmp/ide.XXXXX`"
     cp -r ${SRCDIR}/* $temp_dir
-       cp -r $temp_dir/* $build_path/features
+    cp -r $temp_dir/* $build_path/features
     rm -rf $temp_dir
 
-       echo "Copy plugins from $SRCDIR to $build_path/plugins"
+    echo "Copy plugins from $SRCDIR to $build_path/plugins"
     temp_dir="`mktemp -d /tmp/ide.XXXXX`"
-       cp -r $SRCDIR/* $temp_dir
-       cp -r $temp_dir/* $build_path/plugins
-       rm -rf $build_path/plugins/*.feature
+    cp -r $SRCDIR/* $temp_dir
+    cp -r $temp_dir/* $build_path/plugins
+    rm -rf $build_path/plugins/*.feature
     rm -rf $temp_dir
 }
 
 __copy_dependency_plugins()
 {
-       dependency_plugin_path=${ROOTDIR}/${ide_root_path_name}
-       if [ -d ${dependency_plugin_path} ]
-       then
-               cp -rf ${dependency_plugin_path}/features/* ${build_path}/features/
-               cp -rf ${dependency_plugin_path}/plugins/* ${build_path}/plugins/
-       fi
+    dependency_plugin_path=${ROOTDIR}/${ide_root_path_name}
+    if [ -d ${dependency_plugin_path} ]
+    then
+        cp -rf ${dependency_plugin_path}/features/* ${build_path}/features/
+        cp -rf ${dependency_plugin_path}/plugins/* ${build_path}/plugins/
+    fi
 }
 
 __set_product_version() {
-       echo "Set product's version (${product_version})"
-       
-       product_path="${build_path}/plugins/${branding_path}/${branding_file}"
-       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="${build_path}/plugins/${branding_path}/about.mappings"
-       about_version_parameter="1"
-       about_build_time_parameter="2"
-       sed -e "s;\(^${about_version_parameter}=\).*;\1${product_version};g" \
-               -e "s;\(^${about_build_time_parameter}=\).*;\1${build_time};g" \
-               < ${about_mapping_path} > ${about_mapping_path}.mod
-       mv ${about_mapping_path}.mod ${about_mapping_path}
+    echo "Set product's version (${product_version})"
+    
+    product_path="${build_path}/plugins/${branding_path}/${branding_file}"
+    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="${build_path}/plugins/${branding_path}/about.mappings"
+    about_version_parameter="1"
+    about_build_time_parameter="2"
+    sed -e "s;\(^${about_version_parameter}=\).*;\1${product_version};g" \
+        -e "s;\(^${about_build_time_parameter}=\).*;\1${build_time};g" \
+        < ${about_mapping_path} > ${about_mapping_path}.mod
+    mv ${about_mapping_path}.mod ${about_mapping_path}
 }
 
 __make_ant_build_properties_file()
 {
-       builder_path="${SRCDIR}/builder"
-       parent_path_of_based_eclipse=${reference_ide_path}/..
-
-       echo "Make build.properties file..."
-       if [ ! -e $builder_path/build.properties.clean ] ; then
-               echo "ERROR : \"build.properties.clean\" file does not exist..."
-               exit 1
-       fi
-       cp $builder_path/build.properties.clean $build_path
-       cp $builder_path/customTargets.xml $build_path
-
-       if [ -d $reference_ide_path ] 
-       then
-               sed -e "s;\(^product=\).*;\1/${branding_path}/${branding_file};g" \
-               -e "s;\(^buildDirectory=\).*;\1${build_path};g" \
-               -e "s;\(^base=\).*;\1${parent_path_of_based_eclipse};g" \
-               -e "s;\(^baseLocation=\).*;\1${reference_ide_path};g" \
-               -e "s;\(^configs=\).*;\1${archive_platform_name},${windowing},${architecture};g" \
-               -e "s;\(^buildType=\).*;\1${build_type};g" \
-               -e "s;\(^buildId=\).*;\1${build_id};g" \
-               -e "s;\(^archivePrefix=\).*;\1${build_id};g" \
-               < $build_path/build.properties.clean > $build_path/build.properties
-
-       else
-               echo "ERROR : target eclipse is not exist."
-               exit 1
-       fi
+    builder_path="${SRCDIR}/builder"
+    parent_path_of_based_eclipse=${reference_ide_path}/..
+
+    echo "Make build.properties file..."
+    if [ ! -e $builder_path/build.properties.clean ] ; then
+        echo "ERROR : \"build.properties.clean\" file does not exist..."
+        exit 1
+    fi
+    cp $builder_path/build.properties.clean $build_path
+    cp $builder_path/customTargets.xml $build_path
+
+    if [ -d $reference_ide_path ] 
+    then
+        sed -e "s;\(^product=\).*;\1/${branding_path}/${branding_file};g" \
+        -e "s;\(^buildDirectory=\).*;\1${build_path};g" \
+        -e "s;\(^base=\).*;\1${parent_path_of_based_eclipse};g" \
+        -e "s;\(^baseLocation=\).*;\1${reference_ide_path};g" \
+        -e "s;\(^configs=\).*;\1${archive_platform_name},${windowing},${architecture};g" \
+        -e "s;\(^buildType=\).*;\1${build_type};g" \
+        -e "s;\(^buildId=\).*;\1${build_id};g" \
+        -e "s;\(^archivePrefix=\).*;\1${build_id};g" \
+        < $build_path/build.properties.clean > $build_path/build.properties
+
+    else
+        echo "ERROR : target eclipse is not exist."
+        exit 1
+    fi
 }
 
 __execute_pde_build()
 {
-       echo "Execute Product Ant Builder..."
-       equinox_launcher=`echo org.eclipse.equinox.launcher_*.jar`
-       pde_build=`echo org.eclipse.pde.build_*`
+    echo "Execute Product Ant Builder..."
+    equinox_launcher=`echo org.eclipse.equinox.launcher_*.jar`
+    pde_build=`echo org.eclipse.pde.build_*`
 
-       java -server -XX:+UseParNewGC -jar ${reference_ide_path}/plugins/$equinox_launcher -application org.eclipse.ant.core.antRunner -buildfile ${reference_ide_path}/plugins/$pde_build/scripts/productBuild/productBuild.xml -Dbuilder=$build_path -Dosgi.locking=none 2>&1
+    java -server -XX:+UseParNewGC -jar ${reference_ide_path}/plugins/$equinox_launcher -application org.eclipse.ant.core.antRunner -buildfile ${reference_ide_path}/plugins/$pde_build/scripts/productBuild/productBuild.xml -Dbuilder=$build_path -Dosgi.locking=none 2>&1
 
-       if [ $? != 0 ];
-       then
-               echo "Build failed..."
-               exit 1
-       fi
+    if [ $? != 0 ];
+    then
+        echo "Build failed..."
+        exit 1
+    fi
 }
 
 __unzip_plugin_pack()
 {
-       echo "unzip to $build_result_path"
-       unzip -a $build_result_path/${result_archive_file} -d $build_result_path/${archive_platform_name}.${windowing}.${architecture}
+    echo "unzip to $build_result_path"
+    unzip -a $build_result_path/${result_archive_file} -d $build_result_path/${archive_platform_name}.${windowing}.${architecture}
 }
 
 build_plugins()
 {
-       case ${platform} in
-               linux)
-                       echo "build plugin for ${platform}"
-                       ;;
-               windows)
-                       echo "build plugin for ${platform}"
-                       ;;
-               *)
-                       echo "${platform} is not support yet."
-                       exit 1
-                       ;;
-       esac
-
-       __set_parameter
-       __set_build_parameter
-       __clean_build_environment
-       __copy_build_sources
-       __copy_dependency_plugins
-       __set_product_version
-       __make_ant_build_properties_file
-       __execute_pde_build
-       __unzip_plugin_pack
-
-       echo "Build SUCCESS. You will find SDK IDE in \"${build_result_path}\"."
+    case ${platform} in
+        linux)
+            echo "build plugin for ${platform}"
+            ;;
+        windows)
+            echo "build plugin for ${platform}"
+            ;;
+        darwin)
+            echo "build plugin for ${platform}"
+            ;;
+        *)
+            echo "${platform} is not support yet."
+            exit 1
+            ;;
+    esac
+
+    __set_parameter
+    __set_build_parameter
+    __clean_build_environment
+    __copy_build_sources
+    __copy_dependency_plugins
+    __set_product_version
+    __make_ant_build_properties_file
+    __execute_pde_build
+    __unzip_plugin_pack
+
+    echo "Build SUCCESS. You will find SDK IDE in \"${build_result_path}\"."
 }
 
 __clean_packaging_environment()
 {
 
-       if [ -d ${INSTALL_DIR} ]
-       then
-               rm -rf ${INSTALL_DIR}
-       else
-               mkdir -p ${INSTALL_DIR}
-       fi
+    if [ -d ${INSTALL_DIR} ]
+    then
+        rm -rf ${INSTALL_DIR}
+    else
+        mkdir -p ${INSTALL_DIR}
+    fi
 }
 
 __copy_necessary_binaries()
 {
-       echo "add necessary files."
+    echo "add necessary files."
 }
 
 packaging_plugins()
 {
-       __set_parameter
-       __set_install_parameter
+    __set_parameter
+    __set_install_parameter
 
-       __clean_packaging_environment
-       __copy_necessary_binaries
+    __clean_packaging_environment
+    __copy_necessary_binaries
 
-       install_ide_path=${INSTALL_DIR}/${ide_root_path_name}
-       
-       if [ ! -d ${install_ide_path} ]
-       then
-               mkdir -p ${install_ide_path}
-       fi
+    install_ide_path=${INSTALL_DIR}/${ide_root_path_name}
+    
+    if [ ! -d ${install_ide_path} ]
+    then
+        mkdir -p ${install_ide_path}
+    fi
 
-       cp -rf ${build_result_path}/${archive_platform_name}.${windowing}.${architecture}/${package_name}/* ${install_ide_path}/
+    cp -rf ${build_result_path}/${archive_platform_name}.${windowing}.${architecture}/${package_name}/* ${install_ide_path}/
 }
 
 # clean
 clean()
 {
-       echo "=========================================CLEAN============================================"
-       rm -rf ${SRCDIR}/*.zip
-       rm -rf ${SRCDIR}/*.tar.gz
-       rm -rf ${build_path}
+    echo "=========================================CLEAN============================================"
+    rm -rf ${SRCDIR}/*.zip
+    rm -rf ${SRCDIR}/*.tar.gz
+    rm -rf ${build_path}
 }
 
 # 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 ' ' '@'`
-       for pkgname_and_platform in ${pkgname_and_platform_list}
-       do
-               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
-                       build_plugins
-               else
-                       echo ""
-               fi
-       done
+    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 ' ' '@'`
+    for pkgname_and_platform in ${pkgname_and_platform_list}
+    do
+        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
+            build_plugins
+        else
+            echo ""
+        fi
+    done
 }
 
 # 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}
-       do
-               echo "=========================================INSTALL============================================"
-               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
-                       packaging_plugins
-               else
-                       echo ""
-               fi
-       done    
+    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}
+    do
+        echo "=========================================INSTALL============================================"
+        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
+            packaging_plugins
+        else
+            echo ""
+        fi
+    done    
 }
 
 [ "$1" = "clean" ] && clean
index 6313360..256d1f0 100644 (file)
@@ -15,3 +15,13 @@ Build-dependency:indigo-winpde [windows]
 Source:product
 Maintainer:kangho kim <kh5325.kim@samsung.com>, yoonki park <yoonki.park@samsung.com>, hyunsik non <hyunsik.noh@samsung.com>, taeyoung son <taeyoung2.son@samsung.com>, gune Kim <gune.kim@samsung.com>, ho namkoong <ho.namkoong@samsung.com>, hyeongseok heo <hyeong-seok.heo@samsung.com>, gyeongseok seo <gyeongseok.seo@samsung.com>, jihoon song<jihoon80.song@samsung.com>, changhyun lee <changhyun1.lee@samsung.com>, Woongsik Choi <woongsik76.choi@samsung.com>, Hyukmin Kwon <hyukmin0530.kwon@samsung.com>, Wooyoung Cho <wooyoung1.cho@samsung.com>, Jaeheung Kim <jaeheung.kim@samsung.com>
 Description:Make base IDE. This also includes patched eclipse plugins.
+
+Package:base-ide-product
+Version:1.0.4
+OS:darwin
+Build-host-os:linux
+Build-dependency:indigo-macpde [darwin]
+Source:product
+Maintainer:kangho kim <kh5325.kim@samsung.com>, yoonki park <yoonki.park@samsung.com>, hyunsik non <hyunsik.noh@samsung.com>, taeyoung son <taeyoung2.son@samsung.com>, gune Kim <gune.kim@samsung.com>, ho namkoong <ho.namkoong@samsung.com>, hyeongseok heo <hyeong-seok.heo@samsung.com>, gyeongseok seo <gyeongseok.seo@samsung.com>, jihoon song<jihoon80.song@samsung.com>, changhyun lee <changhyun1.lee@samsung.com>, Woongsik Choi <woongsik76.choi@samsung.com>, Hyukmin Kwon <hyukmin0530.kwon@samsung.com>, Wooyoung Cho <wooyoung1.cho@samsung.com>, Jaeheung Kim <jaeheung.kim@samsung.com>
+Description:Make base IDE. This also includes patched eclipse plugins.
+