problem with path when exporting module

Jun 18, 2010 at 4:47 PM

Hi all!  I'm new to Sharepoint dev. so maybe it's a silly question.  I use SPSource and WSPBuilder to deploy solution.  My first try was to export a page layout, just add a label and then publish this solution.  I followed SPSource_Starter_Guide_WSPBuilder for the WSPBuilder part and view file provision walkthrough for the page layout part.  Everything was fine but when i tried to activate the feature, i got an error  "Failed to instantiate file "mypage.aspx" from module "MyFirstPageFeature": Source path "MyFirstPageFeature" not found.".

I then noticed that the file mypage.Provisioner.xml that was generated had MyFirstPageFeature in the path attribute of the Module node.  I then set it to blank (as in the walkthrough) and then deployed again and everything is ok.

Is it ok to manually edit the provisioner file?

Thank you for your help and this great tool!

Jun 20, 2010 at 7:02 AM

Hi there, yes you can modify those files once it's generated them. It's mainly the .aspx file and not the manifest which is the benefit of using SPSource.