Author: adrianocrestani Date: Thu Jul 17 01:50:25 2008 New Revision: 677537
URL: http://svn.apache.org/viewvc?rev=677537&view=rev Log: -updating android-mobile build instructions Modified: tuscany/sandbox/mobile-android/retrotranslator_readme Modified: tuscany/sandbox/mobile-android/retrotranslator_readme URL: http://svn.apache.org/viewvc/tuscany/sandbox/mobile-android/retrotranslator_readme?rev=677537&r1=677536&r2=677537&view=diff ============================================================================== --- tuscany/sandbox/mobile-android/retrotranslator_readme (original) +++ tuscany/sandbox/mobile-android/retrotranslator_readme Thu Jul 17 01:50:25 2008 @@ -94,19 +94,27 @@ 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. + +6. Set the Android plugin's preferences to point to the folder /tools/adb inside the SDK folder -5. Set the Android plugin's preferences to point to the folder /tools/adb inside the SDK folder +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. -6. Import the projects from step 2, making sure to uncheck the option to copy projects into the workspace. +8. Import the projects from step 2, making sure to uncheck the option to copy projects into the workspace. -7. Add the android.jar to android-jdk-classes +9. Add the android.jar to android-jdk-classes -8. Fixe build path entries for JAR's displaying errors on calculator-android: +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 @@ 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-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
