Git Product home page Git Product logo

android-wave-client's Introduction

== Setup Notes for Eclipse==

The project is built with Maven which automatically will download dependencies,
that will take time if you don't have Maven already installed.

Two code repositories are needed to build this project:

* git+ssh://[email protected]/android-wave/google-wave-api.git

Contains Google Wave Robot API and Wave Model projects backported to Java 5 
(Android only accepts Java 5 files and original code is written for Java 6).

From this repository we need the "backport" branch. So this command may be
necessary:
git checkout -b backport origin/backport

* git+ssh://[email protected]/android-wave/android-wave-client.git
The Android client itself. Requires the APIs from wave-api project listed above.


= Installing Wave Google APIs

1) Be sure you have maven2 installed.  If not:
   $sudo apt-get install maven2

2) $git checkout -b backport origin/backport
   (backport to android)

3) Execute
   $mvn clean install

   If the build fails, probably you need to specify the path to the JDK, in this
   way:

   $mvn clean install -DJAVA_1_5_HOME=/usr/lib/jvm/java-6-sun

   (it is that way,  JAVA_1_5_HOME pointing to a java6 sdk)

   on MacOSX, command is:
   $mvn clean install -DJAVA_1_5_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home

   This is a workaround in fact, in order to guarantee that the project will run
   on Android it is required that this project can be compiled and its tests can
   run on a Java 5 JDK. Thus this path is required as a reminder to install and
   use the proper JDK for the work.

   At this point, the google wave api should be installed in your local maven
   repository. Now we can move and configure the android app.

= Configuring the Wave client for Android in Eclipse

1) Execute
   $mvn clean install

   This step requires an Android SDK already installed in the system and the
   ANDROID_HOME environment variable already published.

2) Generate the eclipse project files, executing:
   $mvn eclipse:eclipse

3) Now you can import the project into Eclipse.

   Eclipse can be memory intensive, so you may find convenient to increase its
   memory in eclipse.ini, using -Xmx512m  (default one in eclipse.ini is 256m).

   It will give errors because of an undefined variable "M2_REPO". Add it:
   windows -> Preferences. Java->Buildpath-> classpath variables
   M2_REPO = $USER_HOME/.m2/repository (replace $USER_HOME with your real user
   home directory.

4) You need to remove one path from the project classpath, the one named "JRE
   System Library"
        right click -> remove from builpath
   Not absolutely required.

5) From eclipse menu, Project->clean, to force rebuild the project. Not required
   but can help.

Done, at this point you should have the project ready to go.

android-wave-client's People

Contributors

mremond avatar mschonaker avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.