Search Results
OK to copy?
Examples 1 through 9 of
9 (0.0020 seconds)
Class:
org.apache.axis.configuration.FileProvider
©,
Rating:
0% of 0,
C1
Class: org.apache.tools.ant.taskdefs.BuildNumber ©, Rating: 0% of 0, C2
Class: org.apache.tools.ant.taskdefs.Touch ©, Rating: 0% of 0, C1
Class: org.apache.jasper.EmbeddedServletOptions ©, Rating: 0% of 0, C3
Class: org.apache.tools.ant.taskdefs.optional.EchoProperties ©, Rating: 0% of 0, C3
Class: org.apache.tools.ant.taskdefs.Get ©, Rating: 0% of 0, C3
Class: org.apache.batik.apps.rasterizer.SVGConverter ©, Rating: 0% of 0, C1
Class: org.apache.tools.ant.taskdefs.Tar ©, Rating: 100% of 1, C3
Class: org.apache.tools.ant.taskdefs.Zip ©, Rating: 0% of 0, C3
145 */
146 private void check() {
147 readOnly = configFile.canRead() & !configFile.canWrite();
148
149 /*
Class: org.apache.tools.ant.taskdefs.BuildNumber ©, Rating: 0% of 0, C2
193 }
194
195 if (!myFile.canWrite()) {
196 final String message = "Unable to write to " + myFile + ".";
197
Class: org.apache.tools.ant.taskdefs.Touch ©, Rating: 0% of 0, C1
230 }
231
232 if (!file.canWrite()) {
233 throw new BuildException("Can not change modification date of "
234 + "read-only file " + file);
Class: org.apache.jasper.EmbeddedServletOptions ©, Rating: 0% of 0, C3
560 }
561
562 String fork = config.getInitParameter("fork");
563 if (fork != null) {
564 if (fork.equalsIgnoreCase("true")) {
Class: org.apache.tools.ant.taskdefs.optional.EchoProperties ©, Rating: 0% of 0, C3
285 }
286
287 if (destfile.exists() && !destfile.canWrite()) {
288 String message =
289 "Can not write to the specified destfile!";
Class: org.apache.tools.ant.taskdefs.Get ©, Rating: 0% of 0, C3
072 }
073
074 if (dest.exists() && !dest.canWrite()) {
075 throw new BuildException("Can't write to " + dest.getAbsolutePath(),
076 getLocation());
Class: org.apache.batik.apps.rasterizer.SVGConverter ©, Rating: 0% of 0, C1
1114 if (file.exists()) {
1115 // Check the existing file.
1116 if (!file.canWrite()) {
1117 return false;
1118 }
Class: org.apache.tools.ant.taskdefs.Tar ©, Rating: 100% of 1, C3
199 }
200
201 if (tarFile.exists() && !tarFile.canWrite()) {
202 throw new BuildException("Can not write to the specified tarfile!",
203 getLocation());
Class: org.apache.tools.ant.taskdefs.Zip ©, Rating: 0% of 0, C3
0343 }
0344
0345 if (zipFile.exists() && !zipFile.canWrite()) {
0346 throw new BuildException(zipFile + " is read-only.");
0347 }
Result Page:
1