Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pdt-dev] Initialize buildpath and project structure in new project wizard

Hi,

i'm extending the PDT Project Wizard to initialize new Projects with the structure for the Symfony framework

Basically i'm doing the following:

1. Iterate the skeleton project and create the project folders/files recursively.
2. Create a IBuildpathEntry for the source folders
3. Call init() passing the script project and the buildpathentries.

The code of the wizard page can be found here:

https://github.com/pulse00/Symfony-2-Eclipse-Plugin/blob/master/com.dubture.symfony.ui/src/com/dubture/symfony/ui/wizards/project/SymfonyProjectWizardThirdPage.java#L53

The problem is that the Buildpathentries show up in the UI of the wizard and also the project structure is initialized correctly,
but the .buildpath file does not contain the correct entries. It's the same like the default one from the PDT project wizard.

Has anyone an idea what i'm missing here? Or is there a better way to achieve the initialization of a project?


regards

-robert





Back to the top