Changes

Jump to: navigation, search

CloudServices/NativeSync

20 bytes added, 01:15, 11 January 2012
Setting up Eclipse
* Correct formatting: Preferences > Java:Code style:Formatter, Edit…, change name to "Mozilla", change both indentation values to 2, tab policy = Spaces only, check "Align fields in columns".
Copy the example.project -> .project and example.classpath to .classpath, making sure to update the path values:  cp example.project .project cp example.classpath .classpath
You may need to set <tt>M2_REPO</tt> (for example, as described at [[http://www.mkyong.com/maven/how-to-configure-m2_repo-variable-in-eclipse-ide/]]) to something like <tt>~/.m2/repository</tt>.
 
To run the test suite under Eclipse, first configure the test suite launcher, under <tt>Preferences > Run/Debug > Launching > Default Launchers</tt>. Set the Debug and Run launchers to <tt>Android JUnit Test Launcher</tt>. To run the test suite, select the <tt>android-sync</tt> project and execute <tt>Run > Run As ... > JUnit Test</tt>.
Confirm
355
edits

Navigation menu