Tizen 2.0 Release tizen_2.0 submit/tizen_2.0/20130215.192333
authorHyungKyu Song <hk76.song@samsung.com>
Fri, 15 Feb 2013 15:58:14 +0000 (00:58 +0900)
committerHyungKyu Song <hk76.song@samsung.com>
Fri, 15 Feb 2013 15:58:14 +0000 (00:58 +0900)
AUTHORS [new file with mode: 0644]
LICENSE.APLv2 [new file with mode: 0644]
NOTICE [new file with mode: 0644]
package/build.linux [new file with mode: 0755]
package/changelog [new file with mode: 0644]
package/pkginfo.manifest [new file with mode: 0644]
script/build.sh [new file with mode: 0755]
script/clean.sh [new file with mode: 0755]
script/customTargets.xml [new file with mode: 0755]
script/install.sh [new file with mode: 0755]

diff --git a/AUTHORS b/AUTHORS
new file mode 100644 (file)
index 0000000..5fb5ce2
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,12 @@
+YoonKi Park <yoonki.park@samsung.com>
+Hyunsik Noh <hyunsik.noh@samsung.com>
+Gun Kim <gune.kim@samsung.com>
+Taeyoung Son <taeyoung2.son@samsung.com>
+Namkoong Ho <ho.namkoong@samsung.com>
+Jihoon Song <jihoon80.song@samsung.com>
+Gyeongseok Seo <gyeongseok.seo@samsung.com>
+Changhyun Lee <changhyun1.lee@samsung.com>
+Bonyong Lee <bonyong.lee@samsung.com>
+Hyeongseok Heo <hyeongseok.heo@samsung.com>
+Kangho Kim <kh5325.kim@samsung.com>
+HyunGoo Kang <hyungoo1.kang@samsung.com>
diff --git a/LICENSE.APLv2 b/LICENSE.APLv2
new file mode 100644 (file)
index 0000000..39aeaf7
--- /dev/null
@@ -0,0 +1,207 @@
+Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+
+
+
+
diff --git a/NOTICE b/NOTICE
new file mode 100644 (file)
index 0000000..49acec9
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,3 @@
+Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
+Except as noted, this software is licensed under Apache License, Version 2.
+Please, see the LICENSE.APLv2 file for Apache License, Version 2 terms and conditions.
diff --git a/package/build.linux b/package/build.linux
new file mode 100755 (executable)
index 0000000..47c201a
--- /dev/null
@@ -0,0 +1,27 @@
+#!/bin/bash -xe
+
+# clean
+clean()
+{
+    echo "=========================================CLEAN============================================"
+    rm -rf ${SRCDIR}/package/pde-build.package.${TARGET_OS}
+    rm -rf ${SRCDIR}/pde-build_*_${TARGET_OS}.zip
+}
+
+# build
+build() 
+{
+    echo "=========================================BUILD============================================"
+}
+
+# install
+install() 
+{
+    echo "=========================================INSTALL============================================"
+    INSTALL_DIR=${SRCDIR}/package/pde-build.package.${TARGET_OS}/data
+
+    mkdir -p ${INSTALL_DIR}
+    cp -rf ${SRCDIR}/script ${INSTALL_DIR}/pde-build
+}
+
+$1
diff --git a/package/changelog b/package/changelog
new file mode 100644 (file)
index 0000000..bdb19fe
--- /dev/null
@@ -0,0 +1,6 @@
+* 1.0.69
+- Fixed bug when branding plugin is not set.
+== taeyoung2.son <taeyoung2.son@samsung.com> 2012-10-18 23:26
+* 1.0.68
+- If branding plugin is binary, it doesn't set build time.
+== yoonki.park <yoonki.park@samsung.com> 2012-10-18 21:53
diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest
new file mode 100644 (file)
index 0000000..ca707ad
--- /dev/null
@@ -0,0 +1,8 @@
+Version:1.0.69
+Source:pde-build
+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>, bonyong lee <bonyong.lee@samsung.com>
+
+Package:pde-build
+OS:ubuntu-32,ubuntu-64,windows-32,windows-64,macos-64
+Build-host-os:ubuntu-64
+Description:Headless pde build script
diff --git a/script/build.sh b/script/build.sh
new file mode 100755 (executable)
index 0000000..26fe843
--- /dev/null
@@ -0,0 +1,225 @@
+#!/bin/bash -xe
+
+build_path=${SRCDIR}/build_result
+package_name=$1
+
+__set_parameter()
+{
+    build_id=${package_name}
+    build_type=N
+    build_result_directory=${build_type}.${build_id}
+    build_result_path="$build_path/$build_result_directory"
+    ide_root_path_name=ide
+
+    case ${TARGET_OS} in
+        ubuntu-32)
+            archive_platform_name=linux
+            windowing=gtk
+            architecture=x86
+            ;;
+        windows-32)
+            archive_platform_name=win32
+            windowing=win32
+            architecture=x86
+            ;;
+        ubuntu-64)
+            archive_platform_name=linux
+            windowing=gtk
+            architecture=x86_64
+            ;;
+        windows-64)
+            archive_platform_name=win32
+            windowing=win32
+            architecture=x86_64
+            ;;
+       macos-64)
+            archive_platform_name=macosx
+            windowing=cocoa
+            architecture=x86_64
+            ;;
+        *)
+            echo "${TARGET_OS} is not support yet."
+            ;;
+    esac
+
+    result_archive_file=${build_id}-${archive_platform_name}.${windowing}.${architecture}.zip
+}
+
+__set_build_parameter()
+{
+    build_script_path=${ROOTDIR}/pde-build
+    reference_ide_path=${ROOTDIR}/ide
+}
+__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
+
+}
+
+__copy_build_sources()
+{
+    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
+    rm -rf $temp_dir
+
+    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 $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
+}
+
+__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 ${build_script_path}/customTargets.xml $build_path
+
+    if [ -d $reference_ide_path ] 
+    then
+        sed -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_*`
+
+    java -server -XX:+UseParNewGC -Xmx128m -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
+}
+
+__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}
+}
+
+__modify_about_mappings_file()
+{
+    branding_plugin=`grep "topLevelElementId=" ${build_path}/build.properties | cut -f2 -d"="`
+    branding_path=`grep "plugin=" ${build_path}/features/${branding_plugin}/feature.xml -m1 | cut -f2 -d"\""`
+    about_mapping_path="${build_path}/plugins/${branding_path}/about.mappings"
+    
+    if [ -d ${build_path}/plugins/${branding_path} -a -e ${about_mapping_path} ]
+    then
+        build_time=`date +%Y%m%d-%H%M`
+        about_build_time_parameter="1"
+         sed -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}
+    fi
+}
+
+build_plugins()
+{
+    case ${TARGET_OS} in
+        ubuntu-32|ubuntu-64|windows-32|windows-64|macos-64)
+            echo "build plugin for ${TARGET_OS}"
+            ;;
+        *)
+            echo "${TARGET_OS} is not support yet."
+            exit 1
+            ;;
+    esac
+
+    __set_parameter
+    __set_build_parameter
+    __clean_build_environment
+    __copy_build_sources
+    __copy_dependency_plugins
+    __make_ant_build_properties_file
+    __modify_about_mappings_file
+    __execute_pde_build
+    __unzip_plugin_pack
+
+    echo "Build SUCCESS. You will find SDK IDE in \"${build_result_path}\"."
+}
+
+build_plugins
diff --git a/script/clean.sh b/script/clean.sh
new file mode 100755 (executable)
index 0000000..6cf9762
--- /dev/null
@@ -0,0 +1,8 @@
+#!/bin/bash -xe
+
+package_name=$1
+
+rm -rf ${SRCDIR}/*.zip
+rm -rf ${SRCDIR}/*.tar.gz
+rm -rf ${SRCDIR}/build_result
+rm -rf ${SRCDIR}/${package_name}.package.${BUILD_TARGET_OS}
diff --git a/script/customTargets.xml b/script/customTargets.xml
new file mode 100755 (executable)
index 0000000..6a42e92
--- /dev/null
@@ -0,0 +1,187 @@
+<project name="Build specific targets and properties" default="noDefault">
+
+       <!-- ===================================================================== -->
+       <!-- Run a given ${target} on all elements being built -->
+       <!-- Add on <ant> task for each top level element being built. -->
+       <!-- ===================================================================== -->
+       <available property="allElementsFile" file="${builder}/allElements.xml" value="${builder}/allElements.xml"/>
+       <property name="allElementsFile" location="${eclipse.pdebuild.templates}/headless-build/allElements.xml"/>
+
+       <import file="${allElementsFile}" />
+       <target name="allElements">
+               <ant antfile="${genericTargets}" target="${target}">
+                       <property name="type" value="${topLevelElementType}"/>
+                       <property name="id" value="${topLevelElementId}"/>
+               </ant>
+       </target>
+
+       <target
+               name="assemble.${topLevelElementId}.linux.gtk.x86">
+               <ant antfile="{$assembleScriptName}" dir="${buildDirectory}"/>
+       </target>
+       <target
+               name="assemble.${topLevelElementId}.win32.win32.x86">
+               <ant antfile="{$assembleScriptName}" dir="${buildDirectory}"/>
+       </target>
+       
+       <!-- ===================================================================== -->
+       <!-- ===================================================================== -->
+       <target name="getBaseComponents" depends="checkLocalBase" unless="skipBase">
+               <get src="${eclipseBaseURL}" dest="${buildDirectory}/../temp-base.zip" />
+               <unzip dest="${base}" overwrite="true" src="${buildDirectory}/../temp-base.zip" />
+       </target>
+
+       <target name="checkLocalBase">
+               <available file="${base}" property="skipBase" />
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Check out map files from correct repository -->
+       <!-- Replace values for mapsCheckoutTag as desired. -->
+       <!-- ===================================================================== -->
+       <target name="getMapFiles" depends="checkLocalMaps" unless="skipMaps">
+               <property name="mapsCheckoutTag" value="HEAD" />
+               <cvs cvsRoot="${mapsRepo}" package="${mapsRoot}" dest="${buildDirectory}/maps" tag="${mapsCheckoutTag}" />
+       </target>
+
+       <target name="checkLocalMaps">
+               <available property="skipMaps" file="${buildDirectory}/maps" />
+       </target>
+
+       <target name="tagMapFiles" if="tagMaps">
+               <cvs dest="${buildDirectory}/maps/${mapsRoot}" command="tag ${mapsTagTag}" />
+       </target>
+
+       <!-- ===================================================================== -->
+
+       <target name="clean" unless="noclean">
+               <antcall target="allElements">
+                       <param name="target" value="cleanElement" />
+               </antcall>
+       </target>
+
+       <target name="gatherLogs">
+               <mkdir dir="${buildDirectory}/${buildLabel}/compilelogs" />
+               <antcall target="allElements">
+                       <param name="target" value="gatherLogs" />
+               </antcall>
+               <unzip dest="${buildDirectory}/${buildLabel}/compilelogs" overwrite="true">
+                       <fileset dir="${buildDirectory}/features">
+                               <include name="**/*.log.zip" />
+                       </fileset>
+               </unzip>
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do before setup -->
+       <!-- ===================================================================== -->
+       <target name="preSetup">
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do after setup but before starting the build proper -->
+       <!-- ===================================================================== -->
+       <target name="postSetup">
+               <antcall target="getBaseComponents" />
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do before fetching the build elements -->
+       <!-- ===================================================================== -->
+       <target name="preFetch">
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do after fetching the build elements -->
+       <!-- ===================================================================== -->
+       <target name="postFetch">
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do before the repositories are being processed -->
+       <!-- ===================================================================== -->
+       <target name="preProcessRepos">
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do after the repositories have been processed -->
+       <!-- ===================================================================== -->
+       <target name="postProcessRepos">
+       </target>
+       
+       <!-- ===================================================================== -->
+       <!-- Steps to do before generating the build scripts. -->
+       <!-- ===================================================================== -->
+       <target name="preGenerate">
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do after generating the build scripts. -->
+       <!-- ===================================================================== -->
+       <target name="postGenerate">
+               <antcall target="clean" />
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do before running the build.xmls for the elements being built. -->
+       <!-- ===================================================================== -->
+       <target name="preProcess">
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do after running the build.xmls for the elements being built. -->
+       <!-- ===================================================================== -->
+       <target name="postProcess">
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do before running assemble. -->
+       <!-- ===================================================================== -->
+       <target name="preAssemble">
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do after  running assemble. -->
+       <!-- ===================================================================== -->
+       <target name="postAssemble">
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do before running package. -->
+       <!-- ===================================================================== -->
+       <target name="prePackage">
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do after  running package. -->
+       <!-- ===================================================================== -->
+       <target name="postPackage">
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do after the build is done. -->
+       <!-- ===================================================================== -->
+       <target name="postBuild">
+               <antcall target="gatherLogs" />
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do to test the build results -->
+       <!-- ===================================================================== -->
+       <target name="test">
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Steps to do to publish the build results -->
+       <!-- ===================================================================== -->
+       <target name="publish">
+       </target>
+
+       <!-- ===================================================================== -->
+       <!-- Default target                                                        -->
+       <!-- ===================================================================== -->
+       <target name="noDefault">
+               <echo message="You must specify a target when invoking this file" />
+       </target>
+
+</project>
diff --git a/script/install.sh b/script/install.sh
new file mode 100755 (executable)
index 0000000..0aa530a
--- /dev/null
@@ -0,0 +1,60 @@
+#!/bin/bash -xe
+
+build_path=${SRCDIR}/build_result
+package_name=$1
+
+__set_parameter()
+{
+    build_id=${package_name}
+    build_type=N
+    build_result_directory=${build_type}.${build_id}
+    build_result_path="$build_path/$build_result_directory"
+    ide_root_path_name=ide
+    INSTALL_DIR=${SRCDIR}/package/${package_name}.package.${TARGET_OS}/data
+
+    case ${TARGET_OS} in
+        ubuntu-32)
+            archive_platform_name=linux
+            windowing=gtk
+            architecture=x86
+            ;;
+        windows-32)
+            archive_platform_name=win32
+            windowing=win32
+            architecture=x86
+            ;;
+        ubuntu-64)
+            archive_platform_name=linux
+            windowing=gtk
+            architecture=x86_64
+            ;;
+        windows-64)
+            archive_platform_name=win32
+            windowing=win32
+            architecture=x86_64
+            ;;
+       macos-64)
+            archive_platform_name=macosx
+            windowing=cocoa
+            architecture=x86_64
+            ;;
+        *)
+            echo "${TARGET_OS} is not support yet."
+            ;;
+    esac
+}
+
+packaging_plugins()
+{
+    __set_parameter
+    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}/
+}
+
+packaging_plugins