summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrianocrestani <adrianocrestani@13f79535-47bb-0310-9956-ffa450edef68>2008-06-30 20:10:15 +0000
committeradrianocrestani <adrianocrestani@13f79535-47bb-0310-9956-ffa450edef68>2008-06-30 20:10:15 +0000
commit669c78a93a487f1bc35e7db1d6434ae07a895772 (patch)
tree4bd81be037e70d74b5610920d7a2ad002879b7e3
parent364603be877ea6c5eec3114e2cd727e7955e83be (diff)
-adding to mobile-android sandbox the instructions about how to get the actual sca android workspace set
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@672890 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--sandbox/mobile-android/retrotranslator_readme157
1 files changed, 157 insertions, 0 deletions
diff --git a/sandbox/mobile-android/retrotranslator_readme b/sandbox/mobile-android/retrotranslator_readme
new file mode 100644
index 0000000000..500f8645e3
--- /dev/null
+++ b/sandbox/mobile-android/retrotranslator_readme
@@ -0,0 +1,157 @@
+Google Summer of Code 2008
+Allow Google Android applications to easily consume business services
+=====================================================================
+This readme details the steps necessary to run retrotranslator on a workspace hosting SCA modules and modified Android modules.
+
+1. Download the modified code from: https://svn.apache.org/repos/asf/incubator/tuscany/sandbox/mobile-android
+
+svn checkout https://svn.apache.org/repos/asf/incubator/tuscany/sandbox/mobile-android
+
+2. Download and install the SCA modules from: https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules
+
+svn checkout --revision 643746 https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules
+
+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:
+
+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. 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. Add the android.jar to android-jdk-classes
+
+8. Fixe build path entries for JAR's displaying errors on calculator-android:
+
+activation-1.1.jar
+axiom-api-1.2.5.jar
+cgilib-nodep-2.1_3.jar
+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
+
+stax-1.2.0.jar
+android.jar
+
+10. Add android.jar to the following modules:
+
+tuscany-core
+tuscany-binding-ejb
+tuscany-binding-http
+tuscany-binding-jsonrpc
+tuscany-binding-rmi
+tuscany-binding-rss-rome
+tuscany-binding-ws-axis2
+tuscany-contribution-groovy
+tuscany-host-webapp
+tuscany-implementation-das
+tuscany-implementation-data-xml
+tuscany-implementation-node-runtime
+tuscany-implementation-osgi
+tuscany-implementation-resource
+tuscany-implementation-spring
+tuscany-implementation-widget
+tuscany-workspace-admin
+
+11. Build workspace
+
+12. 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:
+
+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
+
+15. Rebuild workspace
+
+16. Run calculator-android. The result will be a ClassNotFoundException for java.rmi.Remote or java.beans.Introspector
+
+Google Summer of Code 2008
+Allow Google Android applications to easily consume business services
+=====================================================================
+This readme details the steps necessary to run retrotranslator on a workspace hosting SCA modules and modified Android modules.
+
+1. Download the modified code from: https://svn.apache.org/repos/asf/incubator/tuscany/sandbox/mobile-android
+
+svn checkout https://svn.apache.org/repos/asf/incubator/tuscany/sandbox/mobile-android
+
+2. Download and install the SCA modules from: https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules
+
+svn checkout --revision 643746 https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/modules
+
+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:
+
+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. 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. Add the android.jar to android-jdk-classes
+
+8. Fixe build path entries for JAR's displaying errors on calculator-android:
+
+activation-1.1.jar
+axiom-api-1.2.5.jar
+cgilib-nodep-2.1_3.jar
+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
+
+stax-1.2.0.jar
+android.jar
+
+10. Add android.jar to the following modules:
+
+tuscany-core
+tuscany-binding-ejb
+tuscany-binding-http
+tuscany-binding-jsonrpc
+tuscany-binding-rmi
+tuscany-binding-rss-rome
+tuscany-binding-ws-axis2
+tuscany-contribution-groovy
+tuscany-host-webapp
+tuscany-implementation-das
+tuscany-implementation-data-xml
+tuscany-implementation-node-runtime
+tuscany-implementation-osgi
+tuscany-implementation-resource
+tuscany-implementation-spring
+tuscany-implementation-widget
+tuscany-workspace-admin
+
+11. Build workspace
+
+12. 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:
+
+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
+
+15. Rebuild workspace
+
+16. Run calculator-android. The result will be a ClassNotFoundException for java.rmi.Remote or java.beans.Introspector
+
+