I've been following this tutorial to create my own custom project type and for the most part it works. Unfortunately when stepping through the my new project wizard it doesn't create a new project on "Finish".
My first thought was that I had missed this step:
- Have performFinish() return true.
But I definitely have that done.
public class NewProjectWizard extends Wizard implements INewWizard {
@Override
public boolean performFinish() {
return true;
}
}
There isn't much else to do. The test environment can create other project types just fine - like "Java" - their folders are created in runtime-EclipseApplication
home folder correctly. I tried the Alt+Shift+F1 trick to look at other plugins' source and cannot see what the crucial step is.
What is missing? Are there other good resources which cover this? Nothing shows in the Error Log view, is there another log somewhere?
You have to do the actual work of creating the project in the performFinish() implementation. If you only seek to create a new Project, maybe you'd like to extend org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard
instead of the plain "Wizard"?