From: gyeongseok.seo Date: Thu, 26 Jul 2012 10:25:36 +0000 (+0900) Subject: [Title] Fixed pkginfo.manifest - ( target is 64 bit then host also 64 bit ) X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d4cecddc1d38188f3ec89690ca13872bf5188bef;p=sdk%2Ftools%2Fcli.git [Title] Fixed pkginfo.manifest - ( target is 64 bit then host also 64 bit ) [Type] Enhancement [Module] cli [Priority] Minor [Jira#] [Redmine#] 5158 [Problem] [Cause] [Solution] [TestCase] Change-Id: I3bbee7d781d09d169f96adc567e835a1cff1715b --- diff --git a/package/build.ubuntu-64 b/package/build.ubuntu-64 new file mode 100755 index 0000000..0582d18 --- /dev/null +++ b/package/build.ubuntu-64 @@ -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" diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index 0f4a25c..48f4f9a 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,5 +1,5 @@ Version:1.0.10 -Maintainer: Bon-Yong Lee +Maintainer: Bon-Yong Lee, gyeongseok seo 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