Oh yeah forgot about that. :) To create an appropriate project in eclipse, copy the .classpath file here to your root dir:
http://android.git.kernel.org/?p=platform/development.git;a=tree;f=ide/eclipse Then make a .project file in the same root dir containing the following, and you should be able to import this into eclipse and have all of the interesting source available: <?xml version="1.0" encoding="UTF-8"?> <projectDescription> <name>cupcake</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription> On Tue, Feb 17, 2009 at 5:43 PM, Jey Michael <[email protected]> wrote: > > Based on some comments that I recall, google-apps are developed from > within the environment of make build system. 'Eclipse plugin + ant > builds' combination would not work so well for debugging all the > internal apps. > > For debugging, the easy approach is to create a java application > within eclipse, including the full source tree. Its not bad. It > works. Very useful. > > -Jey > > > On Tue, Feb 17, 2009 at 3:35 PM, Videoguy <[email protected]> wrote: > > > > Hi > > I am trying to understand how the Phone app that ships with Android > > works. I like to put break points inside Phone app and see the trace > > of control. So I got 1.0 source code. I created an Eclipse project > > pointing to <source>/packages/Apps/Phone folder. Eclipse reported ton > > of errors as the app depends on lot of internal classes. > > I tried to create another jar just with com.android.internal packages. > > That has ton of errors too. I looked at the make file in Phone App > > folder. It doesn't have any references to other jars. > > > > My question is how do developers on Android team debug this app? > > I appreciate any pointers (or links to other posts or documents > > somewhere in the source package). > > > > Thanks > > Video guy > > > > > > > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---
