From 69ee28e6c98205e604bf2371dcbd2dd17ac57011 Mon Sep 17 00:00:00 2001 From: "Manuel Amador (Rudd-O)" Date: Thu, 12 Aug 2010 15:08:40 -0700 Subject: [PATCH] Add support for installing any type of file within client/WEB-INF --- wscript_build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wscript_build b/wscript_build index 59e33345f80..a964c9040dd 100644 --- a/wscript_build +++ b/wscript_build @@ -460,7 +460,10 @@ if buildpremium: bld.install_files('${SYSCONFDIR}/%s/%s'%(bld.env.PACKAGE,proj),'cloudstack-proprietary/test/conf/*') # build / install declarations of server project <- this is actually now in client project -bld.install_files("${MSENVIRON}/webapps/client/WEB-INF",'client/WEB-INF/web.xml') # install web.xml file +start_path = bld.path.find_dir("client/WEB-INF") +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) if not Options.options.PRESERVECONFIG: bld.install_files_filtered("${SERVERSYSCONFDIR}","server/conf/*")