bug 7001: fix rpm build for new UI, some files should be put into $(catalina_home)/resource

status 7001: resolved fixed
This commit is contained in:
edison 2010-11-04 16:15:33 -07:00
parent e9bd0594bd
commit 0bee91b52a
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ bld.install_files('${MSENVIRON}/webapps/client/WEB-INF',
start_path.ant_glob("**",src=True,bld=False,dir=False,flat=True),
cwd=start_path,relative_trick=True)
bld.install_files("${MSCONF}",'WEB-INF/classes/resources/*.properties',chmod=0640)
bld.install_files("${MSCONF}/resources",'WEB-INF/classes/resources/*.properties',chmod=0640)
if not Options.options.PRESERVECONFIG:
bld.install_files_filtered("${MSCONF}","tomcatconf/*")

View File

@ -559,6 +559,7 @@ fi
%defattr(0644,root,root,0755)
%{_sysconfdir}/%{name}/management/catalina.policy
%{_sysconfdir}/%{name}/management/*.properties
%{_sysconfdir}/%{name}/management/resources/*.properties
%{_sysconfdir}/%{name}/management/components.xml
%{_sysconfdir}/%{name}/management/context.xml
%config(noreplace) %attr(640,root,%{name}) %{_sysconfdir}/%{name}/management/db.properties