[Title] fix script bug and add realm.jar
authorBon-Yong Lee <bonyong.lee@samsung.com>
Tue, 27 Nov 2012 07:07:44 +0000 (16:07 +0900)
committerBon-Yong Lee <bonyong.lee@samsung.com>
Tue, 27 Nov 2012 07:13:11 +0000 (16:13 +0900)
[Desc.]
[Issue]

org.tizen.cli/doc/install/bin_/web-template
org.tizen.cli/doc/install/bin_/web-template.bat
org.tizen.cli/doc/install/realm/realm.jar [new file with mode: 0644]
org.tizen.cli/src/org/tizen/cli/exec/template/ClientMain.java
package/build.ubuntu-32
package/build.ubuntu-64
package/changelog
package/pkginfo.manifest

index 7673f9d..8b8b18d 100755 (executable)
@@ -24,7 +24,7 @@ for ARG in "$@" ; do
     ARGS="$ARGS $(escapeSpace $ARG)"
 done
 
-OPT="$OPT -Dtizen.template.realm=file://$DIR_HOME/realm/config.json"
+OPT="$OPT -Dtizen.template.realm=file:///$DIR_HOME/realm/config.json"
 
 EXEC="java -cp $CLASSPATH $OPT $MAIN $ARGS"
 
index f022e7c..719f2ae 100644 (file)
@@ -25,7 +25,7 @@ set READ_ARG=n
 
 FOR %%W IN ( %* ) DO ( call:parseArg %%W )
 
-set OPT=%OPT_TRACE% %OPT_LOGGING% %OPT_PRG_NAME% -Dtizen.template.realm=file://%CLI_HOME\realm/config.json
+set OPT=%OPT_TRACE% %OPT_LOGGING% %OPT_PRG_NAME% -Dtizen.template.realm=file:///%CLI_HOME$\realm\config.json
 set EXEC=java -cp %CLI_HOME%\conf -Djava.ext.dirs=%CLI_HOME%\lib %OPT% %MAIN% %*
 
 IF NOT "" == "%OPT_TRACE%" ( echo Command :%EXEC% )
diff --git a/org.tizen.cli/doc/install/realm/realm.jar b/org.tizen.cli/doc/install/realm/realm.jar
new file mode 100644 (file)
index 0000000..6157c38
Binary files /dev/null and b/org.tizen.cli/doc/install/realm/realm.jar differ
index 4457457..28952dd 100755 (executable)
@@ -120,6 +120,7 @@ implements ILaunchOptions
         }\r
         catch ( final Throwable e )\r
         {\r
+            logger.error( "Error :", e );\r
             getPrompter().error( "Invalid realm!! Check realm and its contents :" + urlStr );\r
             return ;\r
         }\r
index 6d9645a..2d89e21 100755 (executable)
@@ -87,6 +87,8 @@ install()
             ;;
     esac
     cp -r $PROJECT_HOME/doc/install/conf $TARGET/conf
+       cp -r $PROJECT_HOME/doc/install/sample $TARGET/sample
+       cp -r $PROJECT_HOME/doc/install/realm $TARGET/realm
        cp -r $LIB/* $TARGET/lib
        cp dist/*.jar $TARGET/lib
 }
index 6d9645a..2d89e21 100755 (executable)
@@ -87,6 +87,8 @@ install()
             ;;
     esac
     cp -r $PROJECT_HOME/doc/install/conf $TARGET/conf
+       cp -r $PROJECT_HOME/doc/install/sample $TARGET/sample
+       cp -r $PROJECT_HOME/doc/install/realm $TARGET/realm
        cp -r $LIB/* $TARGET/lib
        cp dist/*.jar $TARGET/lib
 }
index c7ec162..cca0ea6 100644 (file)
@@ -1,4 +1,4 @@
-* 1.0.24
+* 1.0.25
 - Template with CLI
 == bylee <bylee@samsung.com> 2012-11-25 16:59
 * 1.0.22
index a6f28e9..5351d0a 100644 (file)
@@ -1,4 +1,4 @@
-Version:1.0.24
+Version:1.0.25
 Maintainer: Bon-Yong Lee<bonyong.lee@samsung.com>, gyeongseok seo <gyeongseok.seo@samsung.com>
 
 Package: web-cli