Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

Sunday, July 12, 2009

Change non-Eclipse SVN project to Android Eclipse project



Some Android project on svn may not be an Eclipse project. To get the convenience of ADT, we may wish to transform them to Android Eclipse project. The following are the steps:

Preparation:
Make sure you have the following plugins installed:
- Android plugins for Eclipse
- Subclipse
We assume that you have already configured Eclipse for Android development.

(The following description and screenshots comes from Eclipse Ganymede version).
  1. import from svn by doing the usual file->new->other->check out project from svn
  2. select "check out as a project configured using new project wizard"
  3. select android project
  4. find out the package name and the class that extends Activity class and enter in the info. eg.
  5. create the project.
  6. You may see a build error caused by conflicting R.java. Under src directory, there is a R.java, which conflicts with the R.java generated by Android project under gen directory. Delete R.java under src directory. (You may wish to do a diff of the two files first).
  7. clean and rebuild and make sure there is no error.
Hope it helps.

Monday, June 8, 2009

asDoc with Flex Builder

Martin Rädlinger has a good article about how to setup asDoc right from Eclipse or Flex Builder. The instruction works great. The only thing you have to be careful is that the arguments should be "-window-tile" instead of "- window-title" (look at the screenshot that shows the argument and you'll understand what I mean).