modules/enterprise/gui/downloads-war/pom.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 2e10c0199c7bf871379f5d322bfdfe0d2825d6d3 Author: Thomas Segismont tsegismo@redhat.com Date: Tue Oct 1 10:39:34 2013 +0200
Fix master-compile: rhq-downloads-war may not have a src/main/webapp directory (i.e. on fresh checkouts)
diff --git a/modules/enterprise/gui/downloads-war/pom.xml b/modules/enterprise/gui/downloads-war/pom.xml index 9d694cb..c021f98 100644 --- a/modules/enterprise/gui/downloads-war/pom.xml +++ b/modules/enterprise/gui/downloads-war/pom.xml @@ -101,8 +101,10 @@ <copy todir="${classes.dir}" verbose="${rhq.verbose}"> <fileset dir="target/classes" /> </copy> - <property name="deployment.dir" location="${rhq.deploymentDir}" /> + <property name="deployment.dir" location="${rhq.deploymentDir}" /> <echo>*** Copying updated files from src${file.separator}main${file.separator}webapp${file.separator} to ${deployment.dir}${file.separator}...</echo> + <!-- Create src/main/webapp if it does not exist --> + <mkdir dir="${basedir}/src/main/webapp"/> <copy todir="${deployment.dir}" verbose="${rhq.verbose}"> <fileset dir="${basedir}/src/main/webapp" /> </copy>
rhq-commits@lists.fedorahosted.org