The easiest way to run the odata4j example is to simply test your project and open it in eclipse.
If you do not have mercury, install it from here .
check out the latest odata4j code using this mercurial command,
hg clone https:
Open the project in eclipse using the maven eclipse plugin. If you are using the latest version of eclipse, it will be installed already, you cannot install it from here .
In eclipse go to import-> maven-> Existing maven projects
Then select the directory where mercurial checked odata4j.
When eclipse finishes importing projects, you can find InMemoryProducerExample and right-click on it to start it as a java program. You can run any of the other examples in the same way.
source share