CLI: Add default cli config file 59/13559/2
authorhyeongseok.heo <hyeongseok.heo@samsung.com>
Mon, 9 Dec 2013 12:19:43 +0000 (21:19 +0900)
committerhyeongseok.heo <hyeongseok.heo@samsung.com>
Mon, 9 Dec 2013 12:24:47 +0000 (21:24 +0900)
Modify build script so that default cli config file which is named
.tizen-cli-config is installed at tizen-sdk/tools directory.

Change-Id: I49e0674eaa1eb92970ef4b0df8414a43b1b19778
Signed-off-by: hyeongseok.heo <hyeongseok.heo@samsung.com>
build.xml
org.tizen.ncli.ide/tizen-default-config
package/build.linux

index 44d591a..e132dab 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -54,8 +54,6 @@
                </copy>
                <javac srcdir="${build}" encoding="utf-8" debug="true" verbose="false">
                        <classpath>
-                               <dirset dir="${lib}" />
-                               <fileset dir="${lib}" />
                                <fileset dir="${newcli-lib}"/>
                        </classpath>
                </javac>
index 6a4d283..7afc427 100644 (file)
@@ -2,4 +2,3 @@ default.build.configuration=Debug
 default.build.architecture=x86
 default.build.compiler=llvm
 default.sdb.timeout=60000
-default.profiles.path=
index 366b089..240d739 100755 (executable)
@@ -11,6 +11,8 @@ NATIVE_LIB=${SRCDIR}/native-lib
 NCLI_PROJECT_HOME="org.tizen.ncli.ide"
 NCLI_PACKAGE_DIR=package/new-cli.package.$PLATFORM
 NCLI_TARGET=${NCLI_PACKAGE_DIR}/data/tools/ide
+NCLI_TOOLS_TARGET=${NCLI_PACKAGE_DIR}/data/tools
+NCLI_DEFAULT_CONFIG=tizen-default-config
 NCLI_LIB=${SRCDIR}/lib-ncli
 # clean
 clean()
@@ -291,6 +293,7 @@ newcli_install() {
     esac
 # Copy configuration files
     cp -r $NCLI_PROJECT_HOME/resources $NCLI_TARGET/conf-ncli || true
+       cp $NCLI_PROJECT_HOME/$NCLI_DEFAULT_CONFIG $NCLI_TOOLS_TARGET/.tizen-cli-config || true
     
 dependency_jars="
 log4j-*.jar