NewJavaProjectWizardPageOne p = new NewJavaProjectWizardPageOne();
Wizard is UI and hence it obviously won't work in headless mode.
Dani
Yes, but (some of) the code that creates the java project from sources is
written in the classes NewJavaProjectWizard...
So I hacked my way to a solution. I basically copied these classes (and a
couple of other classes) in the application code and changed them so that
they don't have anything to do with the UI. Then, of course, I used those
instead of the "real" ones.