views:

22

answers:

0

I need to create a plugin eclipse.This plugin will create a web project.
I have got a wizard named CustomProjectNewWizard, it runs. But when i want to create the project, i can only generate a JS project :

IJavaScriptProject jp = JavaScriptCore.create(project);
JsNatureInstaller jsnatinst = new JsNatureInstaller();
jsnatinst.installNature(jp.getProject(), progressMonitor);

The file .project is ok with good natures but it is not a web project, these files are missing : /.settings/org.eclipse.wst.common.component
/.settingd/org.eclipse.wst.common.project.facet.core.xml

Is it possible to create a web static project programmatically ?