README: update README file
authorminkee.lee <minkee.lee@samsung.com>
Mon, 31 Aug 2015 11:53:36 +0000 (20:53 +0900)
committerminkee.lee <minkee.lee@samsung.com>
Tue, 1 Sep 2015 09:40:59 +0000 (18:40 +0900)
- new build description is needed by git seperation.
  (emulator-manager and emulator-manager-resources)
- This includes how to build both emulator-manager and
  emulator-manager-resources.

Change-Id: Ic741b6f6752244418213fc363e8cdd575dcb5b2b
Signed-off-by: minkee.lee <minkee.lee@samsung.com>
README

diff --git a/README b/README
index 8425d63..183a576 100644 (file)
--- a/README
+++ b/README
@@ -1,48 +1,70 @@
-How to build emulator manager?
-1. Before building emulator manager, swt.jar and jsch-0.1.50.jar files are required. Please follow the next steps.
- - Download emulator-lib_XXX.zip at https://download.tizen.org/sdk/latest/tizen/binary
- - Choose emulator-lib_XXX.zip with latest version and proper OS
- - Unzip a emulator-lib_XXX.zip file
+Emulator manager consists of two java project.
+ - emulator-manager
+ - emulator-manager-resources.
+This README tells how to build above two project and test Emulator manager.
 
-2. Create 'lib' directory under the {emulator-manager_SRC}/common-project
-3. Copy swt.jar and jsch-0.1.50.jar to the 'lib' directory
+How to build emulator-manager?
+1. Before building emulator-manager, some library files are required. Please follow the next steps.
+       - Download an emulator-common-lib-dev_XXX.zip at sdk package server.
+       - Choose an emulator-common-lib-dev_XXX.zip with latest version and proper OS.
+       - Unzip an emulator-common-lib-dev_XXX.zip file.
 
-4.  We make emulator-manager.jar and em-plugin.jar using build.xml such as:
-    $ cd emulator-manager (emulator-manager git directory)
-    $ ant
+2. Create 'lib' directory under the {emulator-manager_SRC}
+**  {emulator-manager_SRC} means root dir of emulator-manager source.
 
-5.  If build succeed, you can see next files
-       common-project/emulator-manager.jar
-    plugin-project/mobile-plugin/em-plugin.jar
-       plugin-project/${profile}-plugin/em-plugin.jar
+3. Copy unziped files to the 'lib' directory
 
+4. Make emulator-manager.jar using build.xml such as:
+       $ cd {emulator-manager_SRC}
+       $ ant
 
-How to run and test emulator manager?
+5. If build succeed, you can see following file
+       {emulator-manager_SRC}/emulator-manager.jar
+
+
+How to build emulator-manager-resources?
+1. Before building emulator-manager-resources, swt.jar and emulator-manager.jar are required.
+       - You can get swt.jar from library zip file which is mentioned at building emulator-manager section.
+       - You can get emulator-manager.jar by building emulator-manager project or from {tizen-sdk}/tools/emulator/bin
+       **  {tizen-sdk} means tizen-sdk installed path.
+
+2. Create 'lib' directory under the {emulator-manager-resources_SRC}
+** {emulator-manager-resources_SRC} means root dir of emulator-manager-resources source.
+
+3. Copy swt.jar, emulator-manager.jar to the 'lib' directory.
+
+4. Make em-plugin-{profile}.jar by:
+       $ cd {emulator-manager-resources_SRC}
+       $ ./build.sh
+       ** {profile} : e.g., mobile, wearable, ...
+
+5. If build succeed, you can see following file
+       {emulator-manager-resources_SRC}/plugins/{profile}/em-plugin-{profile}.jar
+
+
+How to run and test Emulator manager?
 1. Copy jar file
-       1.      Install tizen sdk (http://developer.tizen.org)
-       **      Before copying file, you need to back up original files.
-       2.      Copy common-project/emulator-manager.jar to ${tizen-sdk}/tools/emulator/bin
-       3.      Copy em-plugin.jar file to proper platform
-               - Copy plugin-project/mobile-plugin/em-plugin.jar to ${tizen-sdk}/platforms/mobile-2.3/emulator-resources/plugins
-               - Copy plugin-project/${profile}-plugin/em-plugin.jar to ${tizen-sdk}/platforms/${profile}-X.X/emulator-resources/plugins
-
-       4.      Launch emulator manager
-
-2. Using eclipse (on Ubuntu)
-       1.      Install tizen sdk (http://developer.tizen.org)
-       2.      Start eclipse
-               - Import common-project(EmulatorManager) and plugin-project(mobile-plugin and ${profile}-plugin)
-               - Check 'lib' directory. If not exist 'lib' directroy, make 'lib' directroy and then, copy swt.jar and jsch-0.1.50.jar files
-
-       3.      Make directory '${User}/tizen-sdk-data'
-       4.      Make 'tizensdkpath' file in tizen-sdk-data directory
-               - Write 'TIZEN_SDK_INSTALLED_PATH=${tizen-sdk-install-path}' to 'tizensdkpath' file
-               - Such as: TIZEN_SDK_INSTALLED_PATH=/home/tester/tizen-sdk
-
-       5.      Run as emulator manager
-
-       ** If modify plugin sources, build sources using build.xml and copy em-plugin.jar such as:
-       - $ant (in emulator-manager directory)
-       - Copy plugin-project/mobile-plugin/em-plugin.jar to ${tizen-sdk}/platforms/mobile-2.3/emulator-resources/plugins
+       1. Install tizen sdk.
+       2. Copy emulator-manager.jar to {tizen-sdk}/tools/emulator/bin
+       **  {tizen-sdk} means tizen sdk installed path.
+       **  Before copy file, you'd better back up original files.
+       3. Copy em-plugin-{profile}.jar file to proper platform
+               - Copy {emulator-manager-resources_SRC}/plugins/{profile}/em-plugin-{profile}.jar to {tizen-sdk}/platforms/tizen-{x.x}/{profile}/emulator-resources/plugins
+               ** {x.x} is  version of tizen platform.
+       4. Launch emulator manager
+
+2. Using eclipse
+       1. Install tizen sdk.
+       2. Start eclipse
+               - Import emulator-manager project (EmulatorManager) and emulator-manager-resources project ({profile}-plugin).
+               - Check 'lib' directory. If not exist 'lib' directroy, make 'lib' directory and then, copy libraries that mentioned at building emulator-manager section.
+       3. Copy sdk.info file from sdk installed path to path that up to 3 depth from emulator-manager source dir.
+               - ex) cd {emulator-manager_SRC} ;  cp {tizen-sdk}/sdk.info ../../../
+       4. Run as emulator manager
+
+       ** If emulator-manager-resources is modified, build sources using build.sh and copy em-plugin-xxx.jar such as:
+       - $ ./build.sh (in emulator-manager-resources directory)
+       - Copy {emulator-manager-resources_SRC}/plugins/{profile}/em-plugin-{profile}.jar to {tizen-sdk}/platforms/tizen-{x.x}/{profile}/emulator-resources/plugins
        - Run as emulator
-       - Emulator Manager loading em-plugin.jar under ${tizen-sdk}/platforms/mobile-2.3/emulator-resources/plugins
+       - Emulator Manager loads em-plugin-{profile}.jar under {tizen-sdk}/platforms/tizen-{x.x}/{profile}/emulator-resources/plugins
+