Modify dibs-build script for Mac
authorharry.heo <harry.heo@samsung.com>
Thu, 14 Apr 2016 08:11:04 +0000 (17:11 +0900)
committerharry.heo <harry.heo@samsung.com>
Thu, 14 Apr 2016 08:11:04 +0000 (17:11 +0900)
- As upgrading Eclipse Mars(4.5), modify some build script for Mac
- Change build host os to macos-64 for macos package (pkginfo.manifest)
- Add build.macos file

Change-Id: I5c60f40fdd83b41069e506f8e2f790d06617e78d
Signed-off-by: harry.heo <harry.heo@samsung.com>
package/build.macos [new file with mode: 0755]
package/changelog
package/pkginfo.manifest
script/ant-build.xml
script/ant-clean.xml
script/ant-install.xml

diff --git a/package/build.macos b/package/build.macos
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
index 1daf9a3..4ac8607 100644 (file)
@@ -1,3 +1,6 @@
+* 2.1.9
+- Modify ant-build.xml,ant-install.xml for Mac as upgrading Eclipse Mars.
+== hyeongseok.heo <harry.heo@samsung.com> 2016-04-14
 * 2.1.8
 - Added ant script for package build.
 == hyocheol.ahn <hyocheol.ahn@samsung.com> 2015-09-05
index 96d3cc5..febc839 100644 (file)
@@ -1,6 +1,6 @@
-Version:2.1.8
+Version:2.1.9
 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>
+Maintainer:yoonki park <yoonki.park@samsung.com>, hyeongseok heo <harry.heo@samsung.com>
 
 Package:pde-build
 OS:ubuntu-32,ubuntu-64,windows-32,windows-64,macos-64
index 4f6ec66..3facb08 100644 (file)
@@ -16,7 +16,7 @@
     <property name="archive.platform.name" value="" />
     <property name="windowing" value="" />
     <property name="architecture" value="" />
-
+    
     <!-- =====================================================================
      - set class path for ant-contrib.jar 
      ===================================================================== -->
@@ -87,7 +87,9 @@
                 <var name="windowing" unset="true" />
                 <property name="windowing" value="cocoa" />
                 <var name="architecture" unset="true" />
-                <property name="architecture" value="x86_64" />                
+                <property name="architecture" value="x86_64" />
+                <var name="ide.root.path.name" unset="true" />
+                <property name="ide.root.path.name" value="IDE.app/Contents/Eclipse" />
             </case>
             <default>
                 <fail message="${TARGET_OS} is not support yet." unless="false" />
index b9b37d7..30bd60f 100644 (file)
@@ -25,7 +25,7 @@
      - remove leggacy directory and files.
      =====================================================================-->
     <target name="pde.clean" description="remove leggacy directory and files.">
-        <echo>IDE ANT - Clena : ${SRCDIR} : ${SRCDIR}/build_result  : ${SRCDIR}/package/${package.name}.package.${BUILD_TARGET_OS}</echo>
+        <echo>IDE ANT - Clean : ${SRCDIR} : ${SRCDIR}/build_result  : ${SRCDIR}/package/${package.name}.package.${BUILD_TARGET_OS}</echo>
         <delete>
             <fileset dir="${SRCDIR}" includes="**/*.zip, **/*.tar.gz" erroronmissingdir="false" />
             <!--<fileset dir="${SRCDIR}" includes="*.zip, *.tar.gz" erroronmissingdir="false" />-->
index cd5e1a4..87ce113 100644 (file)
@@ -78,6 +78,8 @@
                 <property name="windowing" value="cocoa" />
                 <var name="architecture" unset="true" />
                 <property name="architecture" value="x86_64" />
+                <var name="ide.root.path.name" unset="true" />
+                <property name="ide.root.path.name" value="IDE.app/Contents/Eclipse" />
             </case>
             <default>
                 <fail message="${TARGET_OS} is not support yet." unless="false" />