>Shouldn't:
>if(!isNewProjectWizard())
>+ model.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_RUNTIME_LIBRARIES_COPYING, false);
>just be replaced with:
>model.setBooleanProperty(ISeamFacetDataModelProperties.SEAM_RUNTIME_LIBRARIES_COPYING, !isNewProjectWizard());
>?
>Shouldn't all instances of model.getBooleanProperty(ISeamFacetDataModelProperties.SEAM_RUNTIME_LIBRARIES_COPYING) be refactored into
>a method call aka shouldCopySeamRuntimeLibraries() or similar ?
agree
>isNewProjectWizard does not seem to consider the case where the facet delegate is run from the dynamic web project? Should it ? or is that considered a case where it
>shouldn't copy libraries too ?
if we have "true" as default value of SEAM_RUNTIME_LIBRARIES_COPYING property and set it to "false" only in case of adding Seam Facet to existing project.
it should work
It means that the delegate should not copy resources in case of installing it to an existing project. But if Seam Facet Install Delegate was invoked by New Project wizard then it should copy all required resources as before.