留言板
liferay spring mvc
http://www.liferaysavvy.com/2013/01/liferay-spring-portlet-mvc-portlet.html
Hi Meera,
Great Article.!
Thanks for contributing.
Regards,
Vishal R. Panchal
Great Article.!
Thanks for contributing.
Regards,
Vishal R. Panchal
Thank you
Hai..Pls let me knw how to execute the project on Spring MVC..on Book Catalog example from Portlet Manning in Acton..
Existing Source code..Containing both build.xml file and pom.xml file..
For deploying..
Let me knw How to deploy it into portal..
Existing Source code..Containing both build.xml file and pom.xml file..
For deploying..
Let me knw How to deploy it into portal..
HI sheela mk
From dos command prompt please go to project directory there you can see build file.
after enter this command ant -p then you can see all targets. there you can find build target.
If you run ant build then portlet war file created in build directory /folder of project.
If you run maven then it will be created in dist folder. once you get war file copy this file to tomcat deploy directory.
Regards,
Meera Prince
From dos command prompt please go to project directory there you can see build file.
after enter this command ant -p then you can see all targets. there you can find build target.
If you run ant build then portlet war file created in build directory /folder of project.
If you run maven then it will be created in dist folder. once you get war file copy this file to tomcat deploy directory.
Regards,
Meera Prince
Ya..I did the same..as u explained..But..portlet is not in the list of along with Out of Box portlets..
sourceone@sourceone-ThinkCentre-M71e-sheela:~/Desktop/liferayga2/portletinaction/ch1_HelloWorld$ ant build
Buildfile: /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/build.xml
clean:
compile:
[mkdir] Created dir: /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/WEB-INF/classes/content
[color=#f72222] [javac] /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/build.xml:60: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
//Let me knw..whether any problem with this line.[/color]
[javac] Compiling 1 source file to /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/WEB-INF/classes
[copy] Copying 1 file to /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/WEB-INF/classes/content
build:
[mkdir] Created dir: /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/build
[war] Building war: /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/build/ch1_HelloWorld.war
[copy] Copying 1 file to /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/C:/liferay-portal-6.0.1/deploy
BUILD SUCCESSFUL
Total time: 1 second
sourceone@sourceone-ThinkCentre-M71e-sheela:~/Desktop/liferayga2/portletinaction/ch1_HelloWorld$
Hi,
Please check server console, is it deploy successfully or any error.
Regards,
Masroor Khan
Please check server console, is it deploy successfully or any error.
Regards,
Masroor Khan
hai..Is it possible to put those example of Portlet Manning in Action in liferay sdk..for making changes..