CloudServices/NativeSync: Difference between revisions

Jump to navigation Jump to search
Line 102: Line 102:
* 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".
* 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.
Copy the project and 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>.
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>.
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>.
Confirmed users
355

edits

Navigation menu