So I'm trying to build an Eclipse application using Eclipse's ANT toolset. This would allow me to build an Eclipse application from the command line without having to go through the Eclipse GUI.
But whenever I try and run the build script, I get the following errors (path names changed):
BUILD FAILED
C:\project\build.xml:42: The following error occurred while executing this line:
C:\eclipse\plugins\org.eclipse.pde.build\scripts\productBuild\productBuild.xml:21: The following error occurred while executing this line:
C:\eclipse\plugins\org.eclipse.pde.build\scripts\productBuild\productBuild.xml:45: Internal Error. Content Provider not set for Site: "{0}".
C:\project\build.xml:42: The following error occurred while executing this line:
C:\eclipse\plugins\org.eclipse.pde.build\scripts\productBuild\productBuild.xml:21: The following error occurred while executing this line:
C:\eclipse\plugins\org.eclipse.pde.build\scripts\productBuild\productBuild.xml:45: Internal Error. Content Provider not set for Site: "{0}".
Total time: 5 seconds
But wait! Eclipse is open source! I can figure out what's causing the error!
So after going through the code, I determine that the error I'm getting is essentially impossible - barring a race condition somewhere.
Dammit!