Search Results
OK to copy?
Examples 1 through 10 of
38 (0.0030 seconds)
Class:
org.apache.tools.ant.taskdefs.Dirname
©,
Rating:
0% of 0,
C1
Class: org.apache.axis.wsdl.toJava.JavaUndeployWriter ©, Rating: 0% of 0, C1
Class: org.apache.jmeter.NewDriver ©, Rating: 0% of 0, C3
Class: org.apache.jmeter.NewDriver ©, Rating: 0% of 0, C3
Class: org.apache.batik.apps.svgbrowser.WindowsAltFileSystemView ©, Rating: 0% of 0, C1
Class: org.apache.axis.wsdl.toJava.JavaWriter ©, Rating: 0% of 0, C1
Class: org.apache.tools.ant.taskdefs.Unpack ©, Rating: 0% of 0, C2
Class: org.apache.tools.ant.taskdefs.ImportTask ©, Rating: 0% of 0, C3
Class: org.apache.catalina.util.CGIProcessEnvironment ©, Rating: 0% of 0, C3
Class: org.apache.jk.config.BaseJkConfig ©, Rating: 0% of 0, C2
74 throw new BuildException("file attribute required", getLocation());
75 } else {
76 String value = file.getParent();
77 getProject().setNewProperty(property, value);
78 }
Class: org.apache.axis.wsdl.toJava.JavaUndeployWriter ©, Rating: 0% of 0, C1
160 protected PrintWriter getPrintWriter(String filename) throws IOException {
161 File file = new File(filename);
162 File parent = new File(file.getParent());
163 parent.mkdirs();
164 FileOutputStream out = new FileOutputStream(file);
Class: org.apache.jmeter.NewDriver ©, Rating: 0% of 0, C3
062 {
063 File userDir = new File(System.getProperty("user.dir"));
064 jmDir = userDir.getAbsoluteFile().getParent();
065 }
066
Class: org.apache.jmeter.NewDriver ©, Rating: 0% of 0, C3
053 try
054 {
055 jmDir = jar.getCanonicalFile().getParentFile().getParent();
056 }
057 catch (IOException e)
Class: org.apache.batik.apps.svgbrowser.WindowsAltFileSystemView ©, Rating: 0% of 0, C1
Class: org.apache.axis.wsdl.toJava.JavaWriter ©, Rating: 0% of 0, C1
190 protected PrintWriter getPrintWriter(String filename) throws IOException {
191 File file = new File(filename);
192 File parent = new File(file.getParent());
193 parent.mkdirs();
194 return new PrintWriter(new FileWriter(file));
Class: org.apache.tools.ant.taskdefs.Unpack ©, Rating: 0% of 0, C2
Class: org.apache.tools.ant.taskdefs.ImportTask ©, Rating: 0% of 0, C3
117 // *not* the current directory (same as entity includes).
118
119 File buildFileParent = new File(buildFile.getParent());
120 File importedFile = FILE_UTILS.resolveFile(buildFileParent, file);
121
Class: org.apache.catalina.util.CGIProcessEnvironment ©, Rating: 0% of 0, C3
362 log("findCGI: traversing to [" + currentLocation + "]");
363 }
364 }
365 if (!currentLocation.isFile()) {
366 return new String[] { null, null, null, null };
Class: org.apache.jk.config.BaseJkConfig ©, Rating: 0% of 0, C2
396 base=new File( base.getAbsolutePath()); //??
397 }
398 File parent=new File(base.getParent());
399 if(!parent.exists()){
400 if(!parent.mkdirs()){