Tuesday, August 2, 2011

Getting rid of a false Eclipse project error

Well, the good new is I made it through a random testing session of about 1/2 hour and didn't uncover a single bug. The bad news is that now the app won't compile. Huh? I just did it about an hour ago. The only change I made was to commit the project to SVN.

Neither of the library project are showing errors, nor is the "shell" project where I'm having the compile issue. But it's one of those situations where, although the project shows a red x on it and doesn't run when you try to run it, you get the "your project contains errors, please fix them", but there are no errors flagged in the project. A clean doesn't help matters. Delete gen? Doesn't work, and I'm not sure I should've done that. Revert - still no good. Look at run configuration, specify an avd - nothing.

I have a nasty feeling I'm going to have to delete and recreate the project. How does that affect svn?

I also have this message showing on the console:

1-08-02 10:58:43 - JlptQuiz4Full] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.kanjisoft.jlpt4.full/.BootStrapActivity }
[2011-08-02 12:48:46 - JlptQuiz4Full] /JlptQuiz4Full/gen already exists but is not a source folder. Convert to a source folder or rename it.

Restart eclipse? I'm really reaching. Ok, delete the project (not the contents).

It doesn't let me - an invalid project description? It overlaps the location of another project JlptQuiz4Full. But I specified Create New Project from Existing source. And I delete the project file. Is it still there? Yes. So, what does it mean to delete a project? Why doesn't it show up in eclipse?

I could create it as a new project, with a different name, just to make sure it works. But, first let's try to import an existing project, using File, import...there it is, select it...

Well, how do you like that - it works

Ok, off to Panera to do some refactoring.

No comments:

Post a Comment