Lines Matching refs:write
8 sys.stderr.write("usage: java-layers.py DEPENDENCY_FILE SOURCE_DIRECTORIES...\n")
9 sys.stderr.write("\n")
10 sys.stderr.write("Enforces layering between java packages. Scans\n")
11 sys.stderr.write("DIRECTORY and prints errors when the packages violate\n")
12 sys.stderr.write("the rules defined in the DEPENDENCY_FILE.\n")
13 sys.stderr.write("\n")
14 sys.stderr.write("Prints a warning when an unknown package is encountered\n")
15 sys.stderr.write("on the assumption that it should fit somewhere into the\n")
16 sys.stderr.write("layering.\n")
17 sys.stderr.write("\n")
18 sys.stderr.write("DEPENDENCY_FILE format\n")
19 sys.stderr.write(" - # starts comment\n")
20 sys.stderr.write(" - Lines consisting of two java package names: The\n")
21 sys.stderr.write(" first package listed must not contain any references\n")
22 sys.stderr.write(" to any classes present in the second package, or any\n")
23 sys.stderr.write(" of its dependencies.\n")
24 sys.stderr.write(" - Lines consisting of one java package name: The\n")
25 sys.stderr.write(" packge is assumed to be a high level package and\n")
26 sys.stderr.write(" nothing may depend on it.\n")
27 sys.stderr.write(" - Lines consisting of a dash (+) followed by one java\n")
28 sys.stderr.write(" package name: The package is considered a low level\n")
29 sys.stderr.write(" package and may not import any of the other packages\n")
30 sys.stderr.write(" listed in the dependency file.\n")
31 sys.stderr.write(" - Lines consisting of a plus (-) followed by one java\n")
32 sys.stderr.write(" package name: The package is considered \'legacy\'\n")
33 sys.stderr.write(" and excluded from errors.\n")
34 sys.stderr.write("\n")
59 sys.stderr.write("%s:%d: Circular dependency found:\n"
62 sys.stderr.write("%s:%d: Dependency: %s\n"
146 sys.stderr.write(("%s:%d: Package '%s' already defined on"
157 sys.stderr.write(("%s:%d: Can't add dependency to top level package "
165 sys.stderr.write("%s:%d: Too many words on line starting at \'%s\'\n" % (
197 sys.stderr.write(("%s: Error: Unable to parse java. Can't find class "
208 sys.stderr.write(("%s: Error: Unable to parse java. Missing package "
225 sys.stderr.write(("%s: Error: Package does not appear in dependency file: "
231 sys.stderr.write("%s: Illegal import in package '%s' of '%s'\n"
250 sys.stderr.write("%s: Using this file as dependency file.\n" % argv[1])