Я пытаюсь импортировать тему (LP5-ellucian-theme) с тестового сервера моей организации на локальный экземпляр Liferay, чтобы я мог разработать собственную тему, которую позже загружу обратно на тестовый сервер.
Мой вопрос: как лучше всего импортировать каталог LP5-ellucian-theme в мой локальный экземпляр Liferay?
Я попытался создать новый проект темы Liferay в Eclipse, скопировав все файлы (кроме _diffs) из LP5-ellucian-theme/docroot в папку _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-Tomcat 6.2
- JRE 7.0
- Затмение Кеплер
Тестовый сервер, с которого я вытащил тему, работает на Liferay Portal 6.1.