You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ah...@apache.org on 2012/09/10 22:55:52 UTC
[4/50] [abbrv] CLOUDSTACK-63: remove ant
http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/c14dcd2d/wscript
----------------------------------------------------------------------
diff --git a/wscript b/wscript
index 60bc925..f1c9b62 100644
--- a/wscript
+++ b/wscript
@@ -275,15 +275,14 @@ def runant(tsk):
environ = dict(os.environ)
environ["CATALINA_HOME"] = tsk.env.TOMCATHOME
- environ["ANT_HOME"] = _join("tools","ant","apache-ant-1.7.1")
if tsk.generator.env.DISTRO == "Windows":
stanzas = [
- _join(environ["ANT_HOME"],"bin","ant.bat"),
+ "ant",
"-Dthirdparty.classpath=\"%s\""%(tsk.env.CLASSPATH.replace(os.pathsep,",")),
]
else:
stanzas = [
- _join(environ["ANT_HOME"],"bin","ant"),
+ "ant",
"-Dthirdparty.classpath=%s"%(tsk.env.CLASSPATH.replace(os.pathsep,",")),
]
stanzas += tsk.generator.antargs