Skip cleaning gwt project from python setup file
authorKostas Papadimitriou <kpap@grnet.gr>
Tue, 20 Mar 2012 13:53:30 +0000 (15:53 +0200)
committerKostas Papadimitriou <kpap@grnet.gr>
Tue, 20 Mar 2012 13:53:30 +0000 (15:53 +0200)
snf-pithos-web-client/setup.py

index ce8d38b..1e22b26 100644 (file)
@@ -186,12 +186,12 @@ def clean_gwt(root="../", public_dir="bin/www/gr.grnet.pithos.web.Pithos/"):
     if not os.path.exists(os.path.join(root, "build.xml")):
         return
 
-    curdir = os.getcwd()
-    os.chdir(root)
-    rcode = sp.call(["ant", "clean"])
-    if rcode == 1:
-        raise Exception("GWT clean failed")
-    os.chdir(curdir)
+    #curdir = os.getcwd()
+    #os.chdir(root)
+    #rcode = sp.call(["ant", "clean"])
+    #if rcode == 1:
+        #raise Exception("GWT clean failed")
+    #os.chdir(curdir)
     pub_dir = os.path.abspath(os.path.join(root, public_dir))
     static_dir = os.path.abspath(os.path.join("pithos_web_client", "static", \
         "pithos_web_client"))