[Title] Fixed pkginfo.manifest - ( target is 64 bit then host also 64 bit )
authorgyeongseok.seo <gyeongseok.seo@samsung.com>
Thu, 26 Jul 2012 10:25:36 +0000 (19:25 +0900)
committergyeongseok.seo <gyeongseok.seo@samsung.com>
Thu, 26 Jul 2012 10:26:24 +0000 (19:26 +0900)
[Type] Enhancement
[Module] cli
[Priority] Minor
[Jira#]
[Redmine#] 5158
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: I3bbee7d781d09d169f96adc567e835a1cff1715b

package/build.ubuntu-64 [new file with mode: 0755]
package/pkginfo.manifest

diff --git a/package/build.ubuntu-64 b/package/build.ubuntu-64
new file mode 100755 (executable)
index 0000000..0582d18
--- /dev/null
@@ -0,0 +1,63 @@
+#!/bin/sh -xe
+
+PROJECT_HOME="org.tizen.cli"
+BUILD=build
+PLATFORM=$TARGET_OS
+TARGET=package/web-cli.package.$PLATFORM/data/tools/ide
+
+LIB=$SRCDIR/lib
+
+# clean
+clean()
+{
+       echo "$SRCDIR"
+       rm -rf dist lib package/web-cli.package.linux
+}
+
+# build
+build() 
+{
+       echo $LIB
+       mkdir -p $LIB
+       SRC=`find $ROOTDIR -name "org.eclipse.osgi_*" | head -1`
+       cp $SRC $LIB
+
+       SRC=`find $ROOTDIR -name "org.tizen.common_*" | head -1`
+       cp $SRC $LIB
+       jar -xvf $SRC lib
+
+       SRC=`find $ROOTDIR -name "org.tizen.web.common_*" | head -1`
+       cp $SRC $LIB
+
+    SRC=`find $ROOTDIR -name "org.tizen.web.launch_*" | head -1`
+       cp $SRC $LIB
+       jar -xvf $SRC lib
+
+       SRC=`find $ROOTDIR -name "org.tizen.web.sign_*" | head -1`
+       cp $SRC $LIB
+       jar -xvf $SRC lib
+
+       cp $PROJECT_HOME/lib/*.jar $LIB
+
+       mkdir -p $BUILD
+       cp -r $PROJECT_HOME/src/* $BUILD
+
+       ant
+
+}
+
+# install
+install() 
+{
+       mkdir -p $TARGET/lib
+       cp -r $PROJECT_HOME/doc/install/bin_ $TARGET/bin
+    cp -r $PROJECT_HOME/doc/install/conf $TARGET/conf
+       cp -r $LIB/* $TARGET/lib
+       cp dist/*.jar $TARGET/lib
+}
+
+[ "$1" = "clean" ] && clean
+[ "$1" = "build" ] && build
+[ "$1" = "install" ] && install
+
+echo "success"
index 0f4a25c..48f4f9a 100644 (file)
@@ -1,5 +1,5 @@
 Version:1.0.10
-Maintainer: Bon-Yong Lee<bonyong.lee@samsung.com>
+Maintainer: Bon-Yong Lee<bonyong.lee@samsung.com>, gyeongseok seo <gyeongseok.seo@samsung.com>
 
 Package: web-cli
 OS: ubuntu-32
@@ -10,7 +10,7 @@ Description: Tizen IDE Command Line Interface
 
 Package: web-cli
 OS: ubuntu-64
-Build-host-os: ubuntu-32
+Build-host-os: ubuntu-64
 Build-dependency: webapp-eplugin [ubuntu-64], base-ide-product [ubuntu-64], common-eplugin [ubuntu-64]
 Install-dependency: sdb [ubuntu-64]
 Description: Tizen IDE Command Line Interface
@@ -24,14 +24,14 @@ Description: Tizen IDE Command Line Interface
 
 Package: web-cli
 OS: windows-64
-Build-host-os: ubuntu-32
+Build-host-os: ubuntu-64
 Build-dependency: webapp-eplugin [windows-64], base-ide-product [windows-64], common-eplugin [windows-64]
 Install-dependency: sdb [windows-64]
 Description: Tizen IDE Command Line Interface
 
 Package: web-cli
 OS: macos-64
-Build-host-os: ubuntu-32
+Build-host-os: ubuntu-64
 Build-dependency: webapp-eplugin [macos-64], base-ide-product [macos-64], common-eplugin [macos-64]
 Install-dependency: sdb [macos-64]
 Description: Tizen IDE Command Line Interface