Pankaj Kathiriya:
Hi,
AFAIK, If you have for example mail portlet installed from Plugin Installations, then there wont be any build.xml, So copy build.xml of other portlet you have and change project-name attribute.
And you have to create new docroot folder and copy WEB-INF, META-INF, jsps etc all under it.
Now make your changes in code.
Then you would be able to deploy .
HTH,
Thanks,
Pankaj
I try to do that. My project look like this:

I change all names in xml's and deploy. After install i have a loot errors:
iferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter
Please sign in to flag this as inappropriate.