From c4b255b75179ef6b88b848008479c78a1813eb9f Mon Sep 17 00:00:00 2001 From: harshanL Date: Tue, 27 Jan 2015 09:06:16 +0530 Subject: [PATCH] Changed the archetype readme to add prerequisites --- .../tools/mdm-android-agent-archetype/readme.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/product/modules/tools/mdm-android-agent-archetype/readme.txt b/product/modules/tools/mdm-android-agent-archetype/readme.txt index dbedfd74b..512744c8e 100644 --- a/product/modules/tools/mdm-android-agent-archetype/readme.txt +++ b/product/modules/tools/mdm-android-agent-archetype/readme.txt @@ -1,10 +1,16 @@ -How to use CDM-Android-agent archetype +Prerequisites + +1. Apache maven 3.1.1 or higher +2. Apache Ant 1.9.3 or higher +3. Android SDK (SDK 17 or higher) must be installed & ANDROID_HOME environment variable must be set + +How to use MDM-Android-agent archetype 1. Install the archetype jar by executing the following command in the cmd. mvn install:install-file -Dfile= -DgroupId=org.wso2.mdmserver -DartifactId=mdm-android-agent-archetype -Dversion=1.0.0-SNAPSHOT -Dpackaging=jar -DgeneratePom=true -2. Execute the following command to generate a cdm-android-agent project. Use the generated client-key & client-secret for API subscription as the values for -DclientKey & -DclientSecret arguments. The default android target version used here is 17. If you need to change that please provide -Dplatform argument. +2. Execute the following command to generate a mdm-android-agent project. Use the generated client-key & client-secret for API subscription as the values for -DclientKey & -DclientSecret arguments. The default android target version used here is 17. If you need to change that please provide -Dplatform argument. mvn archetype:generate -B -DarchetypeGroupId=org.wso2.mdmserver -DarchetypeArtifactId=mdm-android-agent-archetype -DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=org.wso2.carbon -DartifactId=mdm-android-agent -DclientKey= -DclientSecret= -Dplatform=