Lines Matching refs:outPath
134 static bool copyFileToArchive(io::IFile* file, const std::string& outPath, in copyFileToArchive() argument
160 context->getDiagnostics()->note(DiagMessage() << "writing " << outPath << " to archive"); in copyFileToArchive()
163 if (writer->startEntry(outPath, compressionFlags)) { in copyFileToArchive()
171 context->getDiagnostics()->error(DiagMessage() << "failed to write file " << outPath); in copyFileToArchive()
731 std::string outPath = mOptions.generateJavaClassPath.value(); in writeJavaFile() local
732 file::appendPath(&outPath, file::packageToPath(util::utf16ToUtf8(outPackage))); in writeJavaFile()
733 if (!file::mkdirs(outPath)) { in writeJavaFile()
735 DiagMessage() << "failed to create directory '" << outPath << "'"); in writeJavaFile()
739 file::appendPath(&outPath, "R.java"); in writeJavaFile()
741 std::ofstream fout(outPath, std::ofstream::binary); in writeJavaFile()
744 DiagMessage() << "failed writing to '" << outPath << "': " << strerror(errno)); in writeJavaFile()
750 mContext->getDiagnostics()->error(DiagMessage(outPath) << generator.getError()); in writeJavaFile()
756 DiagMessage() << "failed writing to '" << outPath << "': " << strerror(errno)); in writeJavaFile()
788 std::string outPath = mOptions.generateJavaClassPath.value(); in writeManifestJavaFile() local
789 file::appendPath(&outPath, file::packageToPath(packageUtf8)); in writeManifestJavaFile()
791 if (!file::mkdirs(outPath)) { in writeManifestJavaFile()
793 DiagMessage() << "failed to create directory '" << outPath << "'"); in writeManifestJavaFile()
797 file::appendPath(&outPath, "Manifest.java"); in writeManifestJavaFile()
799 std::ofstream fout(outPath, std::ofstream::binary); in writeManifestJavaFile()
802 DiagMessage() << "failed writing to '" << outPath << "': " << strerror(errno)); in writeManifestJavaFile()
808 DiagMessage() << "failed writing to '" << outPath << "': " << strerror(errno)); in writeManifestJavaFile()
819 const std::string& outPath = mOptions.generateProguardRulesPath.value(); in writeProguardFile() local
820 std::ofstream fout(outPath, std::ofstream::binary); in writeProguardFile()
823 DiagMessage() << "failed to open '" << outPath << "': " << strerror(errno)); in writeProguardFile()
830 DiagMessage() << "failed writing to '" << outPath << "': " << strerror(errno)); in writeProguardFile()