Revision e4d44659

b/snf-pithos-web-client/setup.py
186 186
    if not os.path.exists(os.path.join(root, "build.xml")):
187 187
        return
188 188

  
189
    #curdir = os.getcwd()
190
    #os.chdir(root)
191
    #rcode = sp.call(["ant", "clean"])
192
    #if rcode == 1:
193
        #raise Exception("GWT clean failed")
194
    #os.chdir(curdir)
189
    curdir = os.getcwd()
190
    os.chdir(root)
191
    rcode = sp.call(["ant", "clean"])
192
    if rcode == 1:
193
        raise Exception("GWT clean failed")
194
    os.chdir(curdir)
195 195
    pub_dir = os.path.abspath(os.path.join(root, public_dir))
196 196
    static_dir = os.path.abspath(os.path.join("pithos_web_client", "static", \
197 197
        "pithos_web_client"))

Also available in: Unified diff