Lines Matching refs:path
119 if not os.path.isfile(p.PROPS):
121 if not os.path.isdir(p.SRC):
133 if not os.path.exists(srcdir):
138 filepath = os.path.join(srcdir, filename)
139 if filename.endswith(".java") and os.path.isfile(filepath):
155 pkg = pkg.replace(".", os.path.sep) # e.g. android.view => android/view
160 elif os.path.isdir(filepath):
166 def checkJavaFile(path): argument
170 f = file(path)
188 arc_path = os.path.join(TOP_FOLDER, dest_pkg, os.path.basename(filepath))
197 dest_path = os.path.join(p.zipfile, arc_path)
198 dest_dir = os.path.dirname(dest_path)
199 if not os.path.isdir(dest_dir):
227 if os.path.exists(p.zipfile):
229 props_dest = os.path.join(p.zipfile, TOP_FOLDER + "/source.properties")
230 os.makedirs(os.path.dirname(props_dest))
237 parseSrcDir(p, os.path.join(p.SRC, d))
241 if os.path.exists("_temp.zip"):
245 shutil.move(os.path.join(p.zipfile, "_temp.zip"), p.DST)