Lines Matching refs:filepath
138 filepath = os.path.join(srcdir, filename)
139 if filename.endswith(".java") and os.path.isfile(filepath):
140 pkg = checkJavaFile(filepath)
142 verbose("No package found in %s", filepath)
150 verbose("Ignore package %s [%s]", pkg, filepath)
156 copy(p, filepath, pkg)
160 elif os.path.isdir(filepath):
162 parseSrcDir(p, filepath)
187 def copy(p, filepath, dest_pkg): argument
188 arc_path = os.path.join(TOP_FOLDER, dest_pkg, os.path.basename(filepath))
193 print >>sys.stderr, "zip %s [%s]" % (arc_path, filepath)
201 shutil.copyfile(filepath, dest_path)
204 p.zipfile.write(filepath, arc_path)