フォーラム

ホーム » Liferay Portal » English » 3. Development

構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Meera Prince
liferay spring mvc
2013/01/08 1:01
答え

Meera Prince

ランク: Liferay Legend

投稿: 1110

参加年月日: 2011/02/08

最近の投稿

http://www.liferaysavvy.com/2013/01/liferay-spring-portlet-mvc-portlet.html
Vishal Panchal
RE: liferay spring mvc
2013/01/08 1:31
答え

Vishal Panchal

ランク: Expert

投稿: 280

参加年月日: 2012/05/20

最近の投稿

Hi Meera,

Great Article.!
Thanks for contributing.

Regards,
Vishal R. Panchal
Meera Prince
RE: liferay spring mvc
2013/01/08 2:14
答え

Meera Prince

ランク: Liferay Legend

投稿: 1110

参加年月日: 2011/02/08

最近の投稿

Thank you
sheela mk
RE: liferay spring mvc
2013/02/14 4:00
答え

sheela mk

ランク: Regular Member

投稿: 111

参加年月日: 2012/02/16

最近の投稿

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..
Meera Prince
RE: liferay spring mvc
2013/02/14 5:00
答え

Meera Prince

ランク: Liferay Legend

投稿: 1110

参加年月日: 2011/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
sheela mk
RE: liferay spring mvc
2013/02/14 22:38
答え

sheela mk

ランク: Regular Member

投稿: 111

参加年月日: 2012/02/16

最近の投稿

Ya..I did the same..as u explained..But..portlet is not in the list of along with Out of Box portlets..

 1
 2sourceone@sourceone-ThinkCentre-M71e-sheela:~/Desktop/liferayga2/portletinaction/ch1_HelloWorld$ ant build
 3
 4Buildfile: /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/build.xml
 5
 6clean:
 7
 8compile:
 9    [mkdir] Created dir: /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/WEB-INF/classes/content
10  [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
11
12 //Let me knw..whether any problem with this line.[/color]
13
14
15    [javac] Compiling 1 source file to /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/WEB-INF/classes
16     [copy] Copying 1 file to /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/WEB-INF/classes/content
17
18build:
19    [mkdir] Created dir: /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/build
20      [war] Building war: /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/build/ch1_HelloWorld.war
21     [copy] Copying 1 file to /home/sourceone/Desktop/liferayga2/portletinaction/ch1_HelloWorld/C:/liferay-portal-6.0.1/deploy
22
23BUILD SUCCESSFUL
24Total time: 1 second
25sourceone@sourceone-ThinkCentre-M71e-sheela:~/Desktop/liferayga2/portletinaction/ch1_HelloWorld$
sheela mk
RE: liferay spring mvc
2013/02/14 22:48
答え

sheela mk

ランク: Regular Member

投稿: 111

参加年月日: 2012/02/16

最近の投稿

K..Meera Prince..I got it..Thanks You.. emoticon
Masroor Khan
RE: liferay spring mvc
2013/02/14 22:49
答え

Masroor Khan

ランク: Regular Member

投稿: 119

参加年月日: 2008/09/09

最近の投稿

Hi,

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



Regards,

Masroor Khan
sheela mk
RE: liferay spring mvc
2013/02/15 0:59
答え

sheela mk

ランク: Regular Member

投稿: 111

参加年月日: 2012/02/16

最近の投稿

hai..Is it possible to put those example of Portlet Manning in Action in liferay sdk..for making changes.. emoticon
Meera Prince
RE: liferay spring mvc
2013/02/15 1:26
答え

Meera Prince

ランク: Liferay Legend

投稿: 1110

参加年月日: 2011/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.