Anyone may notice that there is a difference in the development of Eclipse in PhoneGap Build and PhoneGap. I want to develop based on PhoneGap Build to support Android and iPhone. However, for debugging in Android, I need to set up an Eclipse project that is different from PhoneGap Build.
For example, the location of index.html is in the Build root directory when it is in the / www file in Eclipse. There is config.xml in the assembly, while I need to configure it in AndroidManifest.xml for Eclipse.
How can I use the same source to develop PhoneGap Build while I can debug it in Android and my friend can debug iPhone? Any useful folder structure? I want to put in the same SVN / GIT repo, and I do not want to duplicate index.html, css, img, js files.
source share