I had referred the alfresco 3.4 sdk where i can find the amp sample project but it is for Alfresco explorer. I have to set up the amp project for alfresco share, where i could have custom content models, So could you please help.
for custom content models, you need an extension project for the Alfresco Repository which - in terms of AMP modules - is equivalent to the Alfresco Explorer, since the latter is just a part of the former. Usually, in your situation, you would have two extension projects: one for the Repository with your custom models and one for Share "just" for custom UI.
So u mean to say custom content model configuration would get installed in alfresco.war and the custom UI on share would go in share.war If it is so please,How would i build the project structure for share.war like mentioned in this https://wiki.alfresco.com/wiki/AMP_Files for alfresco.war.