--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="cli.build" default="dist">
+ <property name="project" value="org.tizen.cli" />
+ <property name="build" value="build" />
+ <property name="dist" value="dist" />
+ <property name="lib" value="lib" />
+
+ <target name="dist">
+ <delete dir="${build}" quiet="true" />
+ <mkdir dir="${build}" />
+ <copy todir="${build}">
+ <fileset dir="${project}/src" />
+ </copy>
+ <javac srcdir="${build}" encoding="utf-8" debug="true" verbose="true">
+ <classpath>
+ <fileset dir="${lib}" />
+ </classpath>
+ </javac>
+ <mkdir dir="${dist}" />
+ <jar basedir="${build}" destfile="${dist}/tizen-cli.jar">
+ </jar>
+ <delete dir="${build}" quiet="true" />
+ </target>
+</project>
--- /dev/null
+#!/bin/sh -xe
+
+PROJECT_HOME="org.tizen.cli"
+BUILD=build
+TARGET=data/SDK/dev_tools/lilac
+
+LIB=$SRCDIR/lib
+
+# clean
+clean()
+{
+ echo "$SRCDIR"
+ #rm -rf $SRCDIR/*.jar
+ #rm -rf $SRCDIR/*.zip
+ #rm -rf $SRCDIR/*.tar.gz
+}
+
+# build
+build()
+{
+ mkdir -p $LIB
+ SRC=`find $ROOTDIR -name "org.eclipse.osgi_*"`
+ cp $SRC $LIB
+
+ SRC=`find $ROOTDIR -name "org.tizen.common_*"`
+ cp $SRC $LIB
+ jar -xvf $SRC lib
+
+ SRC=`find $ROOTDIR -name "org.tizen.web.common_*"`
+ cp $SRC $LIB
+
+ SRC=`find $ROOTDIR -name "org.tizen.web.sign_*"`
+ cp $SRC $LIB
+ jar -xvf $SRC lib
+
+ cp $PROJECT_HOME/lib/*.jar lib
+
+ mkdir -p $BUILD
+ cp -r $PROJECT_HOME/src/* $BUILD
+
+ JARS=`find $DIR_LIB -name "*.jar"`
+
+ JAR=""
+ for JAR_FILE in $JARS; do
+ JAR=$JAR:$JAR_FILE
+ done
+
+ ant
+
+ mkdir -p $TARGET/lib
+ cp -r $PROJECT_HOME/doc/install/* $TARGET
+ cp -r $LIB/* $TARGET/lib
+}
+
+# install
+install()
+{
+
+ echo "Hello2"
+}
+
+[ "$1" = "clean" ] && clean
+[ "$1" = "build" ] && build
+[ "$1" = "install" ] && install
+
+echo "success"
--- /dev/null
+#!/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"
--- /dev/null
+Package: web-cli
+Version: 1.0.0
+OS: linux
+Build-host-os: linux
+Maintainer: Bon-Yong Lee<bonyong.lee@samsung.com>
+Build-dependency: webapp-eplugin [linux]
+Source: emulator-manager
+Description: Tizen IDE Command Line Interface
+
+Package: web-cli
+Version: 1.0.0
+OS: windows
+Build-host-os: windows
+Maintainer: Bon-Yong Lee<bonyong.lee@samsung.com>
+Build-dependency: webapp-eplugin [windows]
+Source: emulator-manager
+Description: Tizen IDE Command Line Interface