After creating a portlet, as mentioned in liferay documentation.While deploying it to tomcat, below mentioned error was seen.
Target "depoly" does not exist in the project "my-greeting-portlet"
Please see the commands below.
While deploying using ant deploy command, below mentioned error was seen.
Target "depoly" does not exist in the project "my-greeting-portlet"
Please see the commands below.
C:\liferay-plugins-sdk-6.0.5\portlets>create.bat my-greeting "My Greeting" Buildfile: C:\liferay-plugins-sdk-6.0.5\portlets\build.xml create: [unzip] Expanding: C:\liferay-plugins-sdk-6.0.5\portlets\portlet.zip into C: \liferay-plugins-sdk-6.0.5\portlets\my-greeting-portlet [mkdir] Created dir: C:\liferay-plugins-sdk-6.0.5\portlets\my-greeting-portl et\docroot\WEB-INF\tld [copy] Copying 6 files to C:\liferay-plugins-sdk-6.0.5\portlets\my-greeting -portlet\docroot\WEB-INF\tld BUILD SUCCESSFUL Total time: 4 seconds C:\liferay-plugins-sdk-6.0.5\portlets>
While deploying using ant deploy command, below mentioned error was seen.
C:\liferay-plugins-sdk-6.0.5\portlets>cd my-greeting-portlet C:\liferay-plugins-sdk-6.0.5\portlets\my-greeting-portlet>ant deploy Buildfile: C:\liferay-plugins-sdk-6.0.5\portlets\my-greeting-portlet\build.xml BUILD FAILED Target "depoly" does not exist in the project "my-greeting-portlet". C:\liferay-plugins-sdk-6.0.5\portlets\my-greeting-portlet>