incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject [2/2] CLOUDSTACK-63: remove ant
Date Mon, 10 Sep 2012 20:26:59 GMT
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


Mime
View raw message