Lines Matching refs:File
5 * you may not use this file except in compliance with the License.
17 import java.io.File;
33 File templatesDirectory = new File(c.toolDirectory, "templates");
34 String ipr = Files.toString(new File(templatesDirectory, IDEA_IPR));
35 Files.toFile(ipr, new File(IDEA_IPR));
37 String iml = Files.toString(new File(templatesDirectory, IDEA_IML));
40 for (File sourceRoot : c.sourceRoots) {
41 sourceRootsXml.append("<sourceFolder url=\"file://$MODULE_DIR$/")
53 for (File excludedDir : c.excludesUnderSourceRoots()) {
54 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/")
61 + "url=\"file://$MODULE_DIR$/out/eclipse\"/>\n");
64 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/.repo\"/>\n");
65 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/bluetooth\"/>\n");
66 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/chromium\"/>\n");
67 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/icu4c\"/>\n");
68 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/external/webkit\"/>\n");
69 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/frameworks/base/docs\"/>\n");
70 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/out/host\"/>\n");
71 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/out/target/common/docs\"/>\n");
72 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates\"/>\n");
73 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/out/target/product\"/>\n");
74 sourceRootsXml.append("<excludeFolder url=\"file://$MODULE_DIR$/prebuilt\"/>\n");
77 for (File jar : c.jarFiles) {
89 Files.toFile(iml, new File(IDEA_IML));
92 private static boolean isTests(File file) {
93 String path = file.getPath();