Ian is an Eclipse committer and EclipseSource Distinguished Engineer with a passion for developer productivity.
He leads the J2V8 project and has served on several …
Yesterday I spent the day working on examples of how PDE Build can be used to build OSGi bundles. I was setting up builders, copying files from my workspace to my builder, and running builds. Early in the morning I was faced with the follow:
The method disposeImageButtonImages(ImageButton) from the type ScaledWidgetFactory refers to the missing type ImageButton
Ok, a compile error, no big deal… the better part of a day later I finally had this solved. Just so nobody ever has to deal with this particular error again, I thought I would post a small debugging tip you can use. But first, some background on my day (after I saw the error):
In fact, the problem will happen very infrequently. It only happened because I was copying bundles from my workspace (not fetching them from CVS), and in some cases, the bundles were not fully built.
So, the lesson: If you get strange compile errors using PDE Build, try deleting the bundles bin/ directory.
Thanks goes out to Andrew Niefer who once again came through with a much better way off structuring my build.
Ian is an Eclipse committer and EclipseSource Distinguished Engineer with a passion for developer productivity.
He leads the J2V8 project and has served on several …