Put conditional around gxpc taskdef on third-party git-svn-id: https://svn.apache.org/repos/asf/incubator/wave/branches/wave-0.4-release@1517930 13f79535-47bb-0310-9956-ffa450edef68
Project: http://git-wip-us.apache.org/repos/asf/incubator-wave/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-wave/commit/443ef7c2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-wave/tree/443ef7c2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-wave/diff/443ef7c2 Branch: refs/heads/master Commit: 443ef7c287b310f8a2a7d04738376099d29668c0 Parents: cb1cb1d Author: Ali Lown <[email protected]> Authored: Tue Aug 27 19:18:57 2013 +0000 Committer: Ali Lown <[email protected]> Committed: Tue Aug 27 19:18:57 2013 +0000 ---------------------------------------------------------------------- build-macros.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/443ef7c2/build-macros.xml ---------------------------------------------------------------------- diff --git a/build-macros.xml b/build-macros.xml index f8813d4..8e19234 100644 --- a/build-macros.xml +++ b/build-macros.xml @@ -165,7 +165,9 @@ </sequential> </macrodef> - <!-- Task which compiles GXP templates --> - <taskdef name="gxpc" classname="com.google.gxp.compiler.ant.GxpcTask" - classpath="${lib.runtime}/gxp/gxp-0.2.4-beta.jar" /> + <target name="define-gxpc" depends="get-third-party-runtime"> + <!-- Task which compiles GXP templates --> + <taskdef name="gxpc" classname="com.google.gxp.compiler.ant.GxpcTask" + classpath="${lib.runtime}/google-gxp-0.2.4-beta.jar" /> + </target> </project>
