Searched refs:toFile (Results 1 - 25 of 43) sorted by relevance

12

/forgerock/openam-v13/openam-tools/build-helper-plugin/src/main/java/org/forgerock/maven/plugins/inject/content/
H A DIOFactory.java108 * <p>Moves the file with the given file name, {@code fromFile}, to the file, {@code toFile}.</p>
111 * @param toFile The file to move to.
115 void moveTo(File fromFile, File toFile) throws IOException { argument
116 if (toFile.exists()) {
117 if (!toFile.delete()) {
118 throw new IOException("Failed to move file from " + fromFile + " to " + toFile.getAbsolutePath() +
122 if (!fromFile.renameTo(toFile)) {
123 throw new IOException("Failed to move file from, " + fromFile + ", to " + toFile.getAbsolutePath());
/forgerock/openam/openam-tools/build-helper-plugin/src/main/java/org/forgerock/maven/plugins/inject/content/
H A DIOFactory.java108 * <p>Moves the file with the given file name, {@code fromFile}, to the file, {@code toFile}.</p>
111 * @param toFile The file to move to.
115 void moveTo(File fromFile, File toFile) throws IOException { argument
116 if (toFile.exists()) {
117 if (!toFile.delete()) {
118 throw new IOException("Failed to move file from " + fromFile + " to " + toFile.getAbsolutePath() +
122 if (!fromFile.renameTo(toFile)) {
123 throw new IOException("Failed to move file from, " + fromFile + ", to " + toFile.getAbsolutePath());
/forgerock/opendj2/src/build-tools/org/opends/build/tools/
H A DConcatSchema.java57 private String toFile; field in class:ConcatSchema
78 * @param toFile The path to the file containing the concatenated schema
81 public void setToFile(String toFile) argument
83 this.toFile = toFile;
222 BufferedWriter writer = new BufferedWriter(new FileWriter(toFile));
279 toFile + ": " + e, e);
H A DPrepTestNG.java53 private String toFile; field in class:PrepTestNG
64 public void setToFile(String toFile) argument
66 this.toFile = toFile;
97 if(toFile == null)
99 throw new BuildException("Attribute toFile must be set to the modified " +
124 outFile = new FileOutputStream(toFile);
307 methodCount + " method tags to " + toFile);
/forgerock/opendj-b2.6/src/build-tools/org/opends/build/tools/
H A DConcatSchema.java58 private String toFile; field in class:ConcatSchema
79 * @param toFile The path to the file containing the concatenated schema
82 public void setToFile(String toFile) argument
84 this.toFile = toFile;
223 BufferedWriter writer = new BufferedWriter(new FileWriter(toFile));
280 toFile + ": " + e, e);
H A DPrepTestNG.java54 private String toFile; field in class:PrepTestNG
65 public void setToFile(String toFile) argument
67 this.toFile = toFile;
98 if(toFile == null)
100 throw new BuildException("Attribute toFile must be set to the modified " +
125 outFile = new FileOutputStream(toFile);
308 methodCount + " method tags to " + toFile);
/forgerock/opendj2.6.2/src/build-tools/org/opends/build/tools/
H A DConcatSchema.java58 private String toFile; field in class:ConcatSchema
79 * @param toFile The path to the file containing the concatenated schema
82 public void setToFile(String toFile) argument
84 this.toFile = toFile;
223 BufferedWriter writer = new BufferedWriter(new FileWriter(toFile));
280 toFile + ": " + e, e);
H A DPrepTestNG.java54 private String toFile; field in class:PrepTestNG
65 public void setToFile(String toFile) argument
67 this.toFile = toFile;
98 if(toFile == null)
100 throw new BuildException("Attribute toFile must be set to the modified " +
125 outFile = new FileOutputStream(toFile);
308 methodCount + " method tags to " + toFile);
/forgerock/opendj2-hg/src/build-tools/org/opends/build/tools/
H A DConcatSchema.java57 private String toFile; field in class:ConcatSchema
78 * @param toFile The path to the file containing the concatenated schema
81 public void setToFile(String toFile) argument
83 this.toFile = toFile;
222 BufferedWriter writer = new BufferedWriter(new FileWriter(toFile));
279 toFile + ": " + e, e);
H A DPrepTestNG.java53 private String toFile; field in class:PrepTestNG
64 public void setToFile(String toFile) argument
66 this.toFile = toFile;
97 if(toFile == null)
99 throw new BuildException("Attribute toFile must be set to the modified " +
124 outFile = new FileOutputStream(toFile);
307 methodCount + " method tags to " + toFile);
/forgerock/opendj2-jel-hg/src/build-tools/org/opends/build/tools/
H A DConcatSchema.java58 private String toFile; field in class:ConcatSchema
79 * @param toFile The path to the file containing the concatenated schema
82 public void setToFile(String toFile) argument
84 this.toFile = toFile;
223 BufferedWriter writer = new BufferedWriter(new FileWriter(toFile));
280 toFile + ": " + e, e);
H A DPrepTestNG.java54 private String toFile; field in class:PrepTestNG
65 public void setToFile(String toFile) argument
67 this.toFile = toFile;
98 if(toFile == null)
100 throw new BuildException("Attribute toFile must be set to the modified " +
125 outFile = new FileOutputStream(toFile);
308 methodCount + " method tags to " + toFile);
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/util/
H A DBackupManagerTestCase.java245 recursiveDelete(dir.toFile());
246 recursiveDelete(dir2.toFile());
257 targetDir.getCanonicalPath(), BACKUP_ID).toFile();
273 StaticUtils.recursiveDelete(sourceDirectory.toFile());
288 assertThat(file.toFile()).exists();
289 assertThat(file.toFile()).hasContent(file.getFileName().toString());
316 when(backupable.getDirectory()).thenReturn(sourceDirectory.toFile());
338 when(backupable.getDirectory()).thenReturn(sourceDirectory.toFile());
366 OutputStream output = new FileOutputStream(file.toFile(), false);
/forgerock/opendj2/ext/ant/lib/
H A Dant-netrexx.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/forgerock/opendj-b2.6/ext/ant/lib/
H A Dant-netrexx.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/forgerock/opendj2.6.2/ext/ant/lib/
H A Dant-netrexx.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/forgerock/opendj2-hg/ext/ant/lib/
H A Dant-netrexx.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/forgerock/opendj-v3/opendj-server-legacy/ext/ant/lib/
H A Dant-netrexx.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/upgrade/
H A DEmbeddedOpenDJBackupManager.java104 File backupFile = Paths.get(baseDirectory, "backups", backupFilename).toFile();
/forgerock/openidm-v4/openidm-maintenance/src/main/java/org/forgerock/openidm/maintenance/upgrade/
H A DUpdateManagerImpl.java220 .toFile()
283 FileUtils.deleteDirectory(tempUnzipDir.toFile());
347 for (final File file : ARCHIVE_PATH.toFile().listFiles()) {
461 final Properties prop = readProperties(archiveFile.toFile());
508 ZipFile zip = new ZipFile(archive.toFile());
679 "repo/config", json(FileUtil.readFile(path.toFile())));
727 FileUtils.deleteDirectory(tempDirectory.toFile());
817 return FileUtil.readManifest(jarFile.toFile());
819 throw new UpdateException("File " + jarFile.toFile().getName() + " does not exist.", e);
821 throw new UpdateException("Error while reading from " + jarFile.toFile()
[all...]
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/setup/
H A DEmbeddedOpenDJManagerTest.java140 File baseDirectoryZipFile = Paths.get(getClass().getClassLoader().getResource(zipFile).toURI()).toFile();
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/upgrade/
H A DEmbeddedOpenDJBackupManagerTest.java125 File baseDirectoryZipFile = Paths.get(getClass().getClassLoader().getResource(zipFile).toURI()).toFile();
/forgerock/openidm-v4/openidm-maintenance/src/main/java/org/forgerock/openidm/maintenance/impl/
H A DUpdateService.java98 if (!Paths.get(IdentityServer.getInstance().getInstallLocation() + ARCHIVE_DIRECTORY).toFile().exists()) {
99 Paths.get(IdentityServer.getInstance().getInstallLocation() + ARCHIVE_DIRECTORY).toFile().mkdirs();
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/extensions/
H A DDiskSpaceMonitor.java321 return mountPoint.toFile();
326 return mountPoint.toFile();
/forgerock/openidm-v4/openidm-maintenance/src/test/java/org/forgerock/openidm/maintenance/upgrade/
H A DBundleHandlerTest.java228 String bundle1Version = FileUtil.readManifest(bundlePathV1.toFile()).getValue("Bundle-Version");

Completed in 141 milliseconds

12