summaryrefslogtreecommitdiffstats
path: root/sandbox
diff options
context:
space:
mode:
authoradrianocrestani <adrianocrestani@13f79535-47bb-0310-9956-ffa450edef68>2008-07-17 08:50:25 +0000
committeradrianocrestani <adrianocrestani@13f79535-47bb-0310-9956-ffa450edef68>2008-07-17 08:50:25 +0000
commita4f736787a1b3f19afd29627bb32f7dfe17d47be (patch)
tree76a80783023945f6e7f5d1d0966f52ac851056d3 /sandbox
parent028b412cb2136334d8df8bc9fb8b580bc493e20f (diff)
-updating android-mobile build instructions
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@677537 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/mobile-android/retrotranslator_readme36
1 files changed, 22 insertions, 14 deletions
diff --git a/sandbox/mobile-android/retrotranslator_readme b/sandbox/mobile-android/retrotranslator_readme
index 500f8645e3..c90b092199 100644
--- a/sandbox/mobile-android/retrotranslator_readme
+++ b/sandbox/mobile-android/retrotranslator_readme
@@ -94,19 +94,27 @@ cd modules
mvn clean install -Dtest=no
mvn -Peclipse eclipse:eclipse -Dtest=no
-3. Create a new Eclipse workspace and set the M2_REPO variable as shown below:
+3. Run maven on interface-java-jaxws module:
+
+cd mobile-android/interface-java-jaxws/
+
+mvn
+
+4. Create a new Eclipse workspace and set the M2_REPO variable as shown below:
mvn -Declipse.workspace=workspace eclipse:add-maven-repo
-4. Import the projects from step 1, making sure to uncheck the option to copy projects into the workspace.
+5. Import the projects from step 1, making sure to uncheck the option to copy projects into the workspace.
-5. Set the Android plugin's preferences to point to the folder /tools/adb inside the SDK folder
+6. Set the Android plugin's preferences to point to the folder /tools/adb inside the SDK folder
-6. Import the projects from step 2, making sure to uncheck the option to copy projects into the workspace.
+7. Check if the Android library was created on your eclipse user libraries. If it wasn't, create a library called "Android" and add the android-sdk/android.jar file to it.
-7. Add the android.jar to android-jdk-classes
+8. Import the projects from step 2, making sure to uncheck the option to copy projects into the workspace.
-8. Fixe build path entries for JAR's displaying errors on calculator-android:
+9. Add the android.jar to android-jdk-classes
+
+10. Fix build path entries for JAR's displaying errors on calculator-android:
activation-1.1.jar
axiom-api-1.2.5.jar
@@ -115,12 +123,12 @@ geronimo-commonj_1.1_spec-1.0.jar
stax-1.2.0.jar
stax-api-1.0-2.jar
-9. Do the same for JAR's on tuscany-host-embedded
+11. Do the same for JAR's on tuscany-host-embedded
stax-1.2.0.jar
android.jar
-10. Add android.jar to the following modules:
+12. Add android.jar to the following modules:
tuscany-core
tuscany-binding-ejb
@@ -140,18 +148,18 @@ tuscany-implementation-spring
tuscany-implementation-widget
tuscany-workspace-admin
-11. Build workspace
+13. Build workspace
-12. Disable the "Java Builder" from all projects
+14. Disable the "Java Builder" from all projects
-13. Run retrotranslator on mobile-android and modules from the code downloaded in steps 1 and 2, as shown below:
+15. Run retrotranslator on mobile-android and modules from the code downloaded in steps 1 and 2, as shown below:
java -jar ../Retrotranslator-1.2.6-bin/retrotranslator-transformer-1.2.6.jar -srcdir ../srcdir -target 1.5 -reflection safe -stripannot -embed . -classpath ../Retrotranslator-1.2.6-bin/retrotranslator-android-1.2.6.jar -verbose
-14. Add retrotranslator-android-1.2.6.jar as an external JAR to calculator-android
+16. Add retrotranslator-android-1.2.6.jar as an external JAR to calculator-android
-15. Rebuild workspace
+17. Rebuild workspace
-16. Run calculator-android. The result will be a ClassNotFoundException for java.rmi.Remote or java.beans.Introspector
+18. Run calculator-android. The result will be a ClassNotFoundException for java.rmi.Remote or java.beans.Introspector