I have this strange problem at which I have spent stupid amount of time. To build my portlet, I haven\'t used sdk and I am using my own ant script do the job. It works all w
go to plugins-sdk folder. open build.userName.properties (In my case name of file is build.asif.properties) open it.. add the below line
auto.deploy.dir = D:\\nWorkSpace\\liferay-portal-6.2.0-ce-ga1\\deploy
"D:\nWorkSpace\liferay-portal-6.2.0-ce-ga1\deploy" is the path of my deploy direcotory.
where nWorkSpace is my workspace. My problem is resolve.