【发布时间】:2015-06-13 04:14:01
【问题描述】:
我正在尝试将一个主题 (LP5-ellucian-theme) 从我的组织测试服务器导入到 Liferay 的本地实例,以便我可以进行一些自定义主题开发,然后将其上传回测试服务器。
我的问题:将 LP5-ellucian-theme 目录导入本地 Liferay 实例的最佳方式是什么?
我尝试在 Eclipse 中创建一个新的 Liferay 主题项目,将 LP5-ellucian-theme/docroot 中的所有文件(_diffs 除外)复制到我的新主题的 _diffs 文件夹中,然后部署到服务器。但是,当我将门户显示设置切换为使用此 lp5 主题时,主题保持不变并且我收到以下消息:
16:12:13,798 WARN [http-bio-8080-exec-6][ThemeLocalServiceImpl:151] No theme found for specified theme id lp5_WAR_lp5theme. Returning the default theme.
16:12:14,489 WARN [http-bio-8080-exec-6][ThemeLocalServiceImpl:151] No theme found for specified theme id lp5_WAR_lp5theme. Returning the default theme.
16:12:14,491 WARN [http-bio-8080-exec-11][ThemeLocalServiceImpl:151] No theme found for specified theme id lp5_WAR_lp5theme. Returning the default theme.
16:12:14,492 WARN [http-bio-8080-exec-12][ThemeLocalServiceImpl:151] No theme found for specified theme id lp5_WAR_lp5theme. Returning the default theme.
16:12:14,492 WARN [http-bio-8080-exec-10][ThemeLocalServiceImpl:151] No theme found for specified theme id lp5_WAR_lp5theme. Returning the default theme.
16:12:14,492 WARN [http-bio-8080-exec-1][ThemeLocalServiceImpl:151] No theme found for specified theme id lp5_WAR_lp5theme. Returning the default theme.
16:12:15,895 WARN [http-bio-8080-exec-1][ThemeLocalServiceImpl:151] No theme found for specified theme id lp5_WAR_lp5theme. Returning the default theme.
16:12:16,312 WARN [http-bio-8080-exec-4][ThemeLocalServiceImpl:151] No theme found for specified theme id lp5_WAR_lp5theme. Returning the default theme.
16:12:18,638 WARN [http-bio-8080-exec-12][ThemeLocalServiceImpl:151] No theme found for specified theme id lp5_WAR_lp5theme. Returning the default theme.
有没有更好的方法可以做到这一点?
这是我的本地开发环境详细信息:
- 插件 SDK 6.2
- Liferay Portal-Tomcat 6.2
- JRE 7.0
- Eclipse 开普勒
我从中提取主题的测试服务器正在 Liferay Portal 6.1 上运行
【问题讨论】:
标签: plugins liferay liferay-6 liferay-theme liferay-ide