2014-09-18 4 views
2

내 조직 테스트 서버에서 Liferay의 로컬 인스턴스로 테마 (LP5-ellucian-theme)를 가져 와서 사용자 지정 테마 개발을 할 수있게하려고합니다. 나중에 테마 서버를 다시 테스트 서버에 업로드합니다.기존의 테마 디렉토리를 다른 Liferay 서버 인스턴스로 가져 오는 방법은 무엇입니까?

내 질문 : 내 LP5-ellucian 테마 디렉토리를 Liferay의 로컬 인스턴스로 가져 오는 가장 좋은 방법은 무엇입니까?

이클립스에서 LP5-ellucian-theme/docroot의 모든 파일 (_diffs 제외)을 새 테마의 _diffs 폴더로 복사 한 다음 서버에 배포하면서 새로운 Liferay 테마 프로젝트를 만들려고했습니다. 나는이 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. 

내가이 일을 할 수있는 더 좋은 방법이 있나요를? 여기

내 로컬 dev에 ENV 세부 사항은 다음과 같습니다

  • 플러그인 SDK 6.2
  • 을 Liferay 포털 톰캣 6.2
  • JRE 7.0
  • 이클립스 케플러

테스트 서버에있는 I Liferay Portal에서 테마를 가져 왔습니다. 6.1

답변

1

테마 개발은 liferay 6.1에서 liferay 6.2와 완전히 다릅니다. 테마의 일부분을 다시 작성하지 않고도 성공적인 결과를 얻을 수는 없습니다.

처음부터 시작하여 새 테마를 작성하십시오. 가장 좋은 방법입니다.

0

6.2 환경에서 create 명령을 사용하여 새 테마를 만든 다음 생성 된 파일에 코드를 추가하는 것이 좋습니다. 당신은 그냥 전체 파일을 복사해서는 안됩니다. 테마가 등록되지 않은 것 같습니다. 테마가 올바르게 배포되었는지와 배포 된 이름을 확인 했습니까?