CloudServices/NativeSync: Difference between revisions

Line 35: Line 35:
* Logcat debug statements
* Logcat debug statements
  adb logcat
  adb logcat
== Development ==
Let's stick to some fairly sane Java conventions: 2-space indenting (Java is wide enough as it is), Maven2 for dependencies and build, TestNG (or JUnit4, if we so decide) for unit tests. We can wire in Hudson later if we have time or feel it's a benefit up-front.
Let's figure out bleeding edge stuff ("how do I get a SyncAdapter to work?") in throwaway projects. There will be a lot of these :)


=== Setting up Eclipse ===
=== Setting up Eclipse ===
Line 53: Line 47:
* Open Eclipse, choose File > Import… Existing Project, pick your repo dir.
* Open Eclipse, choose File > Import… Existing Project, pick your repo dir.
* 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".
== Development ==
Let's stick to some fairly sane Java conventions: 2-space indenting (Java is wide enough as it is), Maven2 for dependencies and build, TestNG (or JUnit4, if we so decide) for unit tests. We can wire in Hudson later if we have time or feel it's a benefit up-front.
Let's figure out bleeding edge stuff ("how do I get a SyncAdapter to work?") in throwaway projects. There will be a lot of these :)
Confirmed users
400

edits