掲示板

liferay spring mvc

thumbnail
11年前 に meera prince によって更新されました。

liferay spring mvc

Liferay Legend 投稿: 1111 参加年月日: 11/02/08 最新の投稿
http://www.liferaysavvy.com/2013/01/liferay-spring-portlet-mvc-portlet.html
thumbnail
11年前 に Vishal Panchal によって更新されました。

RE: liferay spring mvc

Expert 投稿: 289 参加年月日: 12/05/20 最新の投稿
Hi Meera,

Great Article.!
Thanks for contributing.

Regards,
Vishal R. Panchal
thumbnail
11年前 に meera prince によって更新されました。

RE: liferay spring mvc

Liferay Legend 投稿: 1111 参加年月日: 11/02/08 最新の投稿
Thank you
thumbnail
11年前 に sheela mk によって更新されました。

RE: liferay spring mvc

Regular Member 投稿: 111 参加年月日: 12/02/17 最新の投稿
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..
thumbnail
11年前 に meera prince によって更新されました。

RE: liferay spring mvc

Liferay Legend 投稿: 1111 参加年月日: 11/02/08 最新の投稿
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
thumbnail
11年前 に sheela mk によって更新されました。

RE: liferay spring mvc

Regular Member 投稿: 111 参加年月日: 12/02/17 最新の投稿
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$ 



thumbnail
11年前 に Masroor Khan によって更新されました。

RE: liferay spring mvc

Regular Member 投稿: 124 参加年月日: 08/09/09 最新の投稿
Hi,

Please check server console, is it deploy successfully or any error.



Regards,

Masroor Khan
thumbnail
11年前 に sheela mk によって更新されました。

RE: liferay spring mvc

Regular Member 投稿: 111 参加年月日: 12/02/17 最新の投稿
hai..Is it possible to put those example of Portlet Manning in Action in liferay sdk..for making changes.. emoticon
thumbnail
11年前 に meera prince によって更新されました。

RE: liferay spring mvc

Liferay Legend 投稿: 1111 参加年月日: 11/02/08 最新の投稿
Hi sheela mk,

First create One Portlet using Liferay SDK. Once you get default files then remove you docroot folder from created portlet and bring spring portlet docroot from war file. then you can deploy portlet from IDE.

Note: make sure portlet dtd versions.
thumbnail
11年前 に sheela mk によって更新されました。

RE: liferay spring mvc

Regular Member 投稿: 111 参加年月日: 12/02/17 最新の投稿
K..Meera Prince..I got it..Thanks You.. emoticon