diff options
| author | Keith Wall <kwall@apache.org> | 2012-09-19 13:26:39 +0000 |
|---|---|---|
| committer | Keith Wall <kwall@apache.org> | 2012-09-19 13:26:39 +0000 |
| commit | a770b917bad25a996b2177f83ca9c38df7161edf (patch) | |
| tree | 35e441d538f4a12f37d7db26aceca32153e4b339 /java/broker-plugins | |
| parent | 16551bcc5e6adda658cea2bc8b9e956adf1b1d8e (diff) | |
| download | qpid-python-a770b917bad25a996b2177f83ca9c38df7161edf.tar.gz | |
NO-JIRA: use uptodate to prevent management-http's dojo unwar happening unnecessarily
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1387583 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/broker-plugins')
| -rw-r--r-- | java/broker-plugins/management-http/build.xml | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/java/broker-plugins/management-http/build.xml b/java/broker-plugins/management-http/build.xml index b792cb292e..1eab0b7083 100644 --- a/java/broker-plugins/management-http/build.xml +++ b/java/broker-plugins/management-http/build.xml @@ -43,7 +43,16 @@ <import file="../../module.xml" /> - <target name="precompile"> + <!-- Flagfile used to determine if uwar needs to be done. ._ is part of Ant's defaultexcludes so wont appear bundles --> + <property name="dojo.uptodate.flagfile" value="${module.classes}/resources/dojo/._dojouptodate.timestamp"/> + + <uptodate property="unwardojo.done" + targetfile="${dojo.uptodate.flagfile}" + srcfile="${project.root}/${dojo}"/> + + <target name="precompile" depends="unwardojo"/> + + <target name="unwardojo" unless="unwardojo.done"> <unwar src="${project.root}/${dojo}" dest="${module.classes}/resources/dojo"> <patternset> <exclude name="META-INF/**"/> @@ -51,6 +60,7 @@ <exclude name="**/*.uncompressed.js"/> </patternset> </unwar> + <touch file="${dojo.uptodate.flagfile}"/> </target> <target name="bundle" depends="bundle-tasks" /> |
