From dc0b05ed0a026a2e509056efe28c8b8f36606637 Mon Sep 17 00:00:00 2001 From: Bon-Yong Lee Date: Thu, 5 Jul 2012 16:11:19 +0900 Subject: [PATCH] [Title] Remove build script for windows [Type] Bugfix [Module] Sub [Priority] Minor [CQ#] // CQ Issue Number [Redmine#] // Redmine Isuue Number [Problem] // Problem Description [Cause] // Cause Description [Solution] // Solution Description [TestCase] // Executed the test-target (How to) --- package/build.windows | 51 ------------------------------------------------ package/pkginfo.manifest | 2 +- 2 files changed, 1 insertion(+), 52 deletions(-) delete mode 100755 package/build.windows diff --git a/package/build.windows b/package/build.windows deleted file mode 100755 index d34e7d9..0000000 --- a/package/build.windows +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/sh -xe -# clean -clean() -{ - echo "$SRCDIR" - rm -rf $SRCDIR/*.jar - rm -rf $SRCDIR/*.zip - rm -rf $SRCDIR/*.tar.gz -} - -prepare() -{ - if [ "$JAVA_HOME" = "" ] - then - echo "Make sure that you have installed JDK" - echo "and then set installed JDK/bin path into JAVA_HOME" - echo "as a system environment variable on your PC!!" - exit 1 - fi - - PATH=$PATH:$ROOTDIR/bin:$ROOTDIR/apache-ant-1.8.3/bin - export PATH -} - -# build -build() -{ - prepare - - cd $SRCDIR - ant -buildfile build.xml windows-jar - gcc $SRCDIR/dist/win32/emulator-manager.c -o $SRCDIR/dist/win32/emulator-manager.exe -mwindows -} - -# install -install() -{ - BIN_DIR=$SRCDIR/package/emulator-manager.package.windows/data/Emulator - mkdir -p $BIN_DIR/bin - mkdir -p $BIN_DIR/icons - - cp $SRCDIR/dist/win32/emulator-manager.jar $BIN_DIR/bin - cp $SRCDIR/dist/win32/emulator-manager.exe $BIN_DIR/bin - cp $SRCDIR/resource/res/em.ico $BIN_DIR/icons -} - -[ "$1" = "clean" ] && clean -[ "$1" = "build" ] && build -[ "$1" = "install" ] && install - -echo "success" diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index af72d6d..a92493e 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -10,7 +10,7 @@ Description: Tizen IDE Command Line Interface Package: web-cli Version:1.0.0 OS: windows -Build-host-os: windows +Build-host-os: linux Maintainer: Bon-Yong Lee Build-dependency: webapp-eplugin [windows] Source: emulator-manager -- 2.7.4