>I’ve had a battle with a Level 32 “non-repeating phantasm, a class-5 free roaming vapor, real nasty one too.” In other words I’ve been having some fun getting a PDE product build running. I’ve been struggling with PDE product builds for a couple of years, some ugly monster from the netherworld always crops up.
The difficulty wasn’t with getting the build going, thanks to this article. Once I had everything configure correctly, it was a snap to get a headless product build running. The difficulty came in just getting the .product file configure correctly. In the past I had used a Plugin Build for products. Unfortunately this ment I had to get all of the plugins added to the product configuration. As I’m doing a variation of the Eclipse IDE but for XML development, this ment several thousand plugins needed to be added. Not something that is much fun to do.
So, I looked into doing a feature build. Should be pretty straight forward right? Add the features you depend on, and launch the export/build. Wrong! I should know better than that by now.
Unfortunately, if you don’t add just the right features, PDE Build gets confused. It has difficulty figuring out what you actually need. What makes it even more fun is that PDE will suggest versions of features that can’t be resolved. So what is the solution. Take an Agile/Iterative approach to getting a build to work. Or if you want to call it what it is….trial and error.
Because of the weird dependencies that can occur, start small with your product build. Add only the very bare bone minimum that you need. Export that configuration, if it builds correctly, synch the .product file to your repository. Next add the next piece. If there are errors, fix them.
Some weird gotchas that can occur. Depending on your target platform, you may see multiple versions of features that are available. Try to select the most current feature (i.e the most recent). Also don’t add more than what is actually required or specified that couldn’t be found by the export function. Doing so will cause you more hair pulling, and let the “slimer” pde ghost win.
PDE product export and build can work, but it’s a finky monster. Make sure you have a good twenty-sided die, and a +2 broadsword with you. It might also help to have a proton pack along just in case.