0 down vote favorite
I am using sharepoint 2010 and VS2010.
I have implemented this tutorial for creating a custom web template, and it works:
Now I would like to implement my own masterpage and css file. First I started to implement the masterpage, but it didnt work. This is what I implemented:
I created a new custom web template like in the tutorial described above. After this I create a new mapped folder to the 14 hive folder template/globals. In this folder I created my custom test.master file (this is a copy of the original v4.master). In my ONET.xml I did replaced all the masterpage declaration from MasterUrl="_catalogs/masterpage/v4.master" to MasterUrl="_catalogs/masterpage/test.master".
Thats it. I build it, deploy it. Created a new site collection. But it didnt work. Did I do something wrong??
See here my solution explorer and the replaced masterpage in the onet.xml: