構造的に表示 平面上に表示 ツリー上に表示
スレッド [ 前へ | 次へ ]
toggle
Syed Fahmeed Nawaz
Best IDE for liferay portlet development
2012/10/17 5:25
答え

Syed Fahmeed Nawaz

ランク: New Member

投稿: 9

参加年月日: 2012/10/03

最近の投稿

Guide me which is the best IDE for liferay portlet development i am using eclipse but i am not comfortable with it because i am unable to connect database did any one haive idea about eclipse mysql integration for liferay database.....
Priyanka Dhingra
RE: Best IDE for liferay portlet development
2012/10/17 5:42
答え

Priyanka Dhingra

ランク: Liferay Master

投稿: 501

参加年月日: 2011/12/19

最近の投稿

can you explain why you need the mysql integration with eclipse...I never came across with such requirement
anyhow eclipse 1.5.2 liferay developer studio is the best one as far as i know
Syed Fahmeed Nawaz
RE: Best IDE for liferay portlet development
2012/10/17 5:44
答え

Syed Fahmeed Nawaz

ランク: New Member

投稿: 9

参加年月日: 2012/10/03

最近の投稿

i want to change the default HSQL databse to mysql i am not able to connect mysql database to liferay using eclipse....
Priyanka Dhingra
RE: Best IDE for liferay portlet development
2012/10/17 6:23
答え

Priyanka Dhingra

ランク: Liferay Master

投稿: 501

参加年月日: 2011/12/19

最近の投稿

just create the portal-ext.properties in your 3. liferay-portal\tomcat-x.x.xx\webapps\ROOT\WEB-INF\classes
and add these properties there after creating a database in sql

1jdbc.default.driverClassName=com.mysql.jdbc.Driver
2 jdbc.default.url=jdbc:mysql://localhost/lportal?useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
3 jdbc.default.username=
4 jdbc.default.password=

you dont need to use my sql through eclipse
Hitoshi Ozawa
RE: Best IDE for liferay portlet development
2012/10/18 17:37
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7990

参加年月日: 2010/03/23

最近の投稿

Refer to Dave's reply in the thread below:

http://www.liferay.com/community/forums/-/message_boards/message/5609279
Subhash Pavuskar
RE: Best IDE for liferay portlet development
2012/10/19 2:25
答え

Subhash Pavuskar

ランク: Regular Member

投稿: 233

参加年月日: 2012/03/12

最近の投稿

Adding to Priyanka Dhingra point !!

Add following xml code to /home/Documents/Liferay-SetUp-6.1.1/Liferay-6.1.1/tomcat-7.0.27/conf/Catalina/localhost/ROOT.xml File


 1
 2<Resource
 3    name="jdbc/LiferayPool"
 4    auth="Container"
 5    type="javax.sql.DataSource"
 6    driverClassName="com.mysql.jdbc.Driver"
 7    url="jdbc:mysql://localhost/Liferay6.1.1?useUnicode=true&amp;characterEncoding=UTF-8"
 8    username="root"
 9    password="root"
10    maxActive="20"
11/>
Hitoshi Ozawa
RE: Best IDE for liferay portlet development
2012/10/20 5:17
答え

Hitoshi Ozawa

ランク: Liferay Legend

投稿: 7990

参加年月日: 2010/03/23

最近の投稿

Editing ROOT.xml file in unnecessary because jdbc connection is being defined in portal-ext.properties.