/glassfish-3.1.2/common/common-util/src/test/java/org/glassfish/admin/payload/ |
H A D | PayloadFilesManagerTest.java | 292 File targetDir = null; 300 targetDir = File.createTempFile("tgt", ""); 301 targetDir.delete(); 302 targetDir.mkdir(); 308 desiredResults.add(new File(targetDir.toURI().resolve(FILE_A_PREFIX + FILE_A_NAME))); 311 desiredResults.add(new File(targetDir.toURI().resolve(FILE_B_PREFIX + FILE_B_NAME))); 318 protected CommonPermTest init(File targetDir) { 319 super.init(targetDir); 362 }.init(targetDir).run("simplePermanentTransferTest"); 364 if (targetDir ! 1258 init(final File targetDir) argument [all...] |
/glassfish-3.1.2/core/logging/src/main/java/com/sun/enterprise/server/logging/commands/ |
H A D | CollectLogFiles.java | 139 File targetDir = makingDirectoryOnDas(targetServer.getName(), report); 150 copyLogFilesForLocalhost(sourceDir, targetDir.getAbsolutePath(), report, targetServer.getName()); 199 File targetDir = null; 214 targetDir = makingDirectoryOnDas(targetServer.getName(), report); 219 copyLogFilesForLocalhost(sourceDir, targetDir.getAbsolutePath(), report, instanceName); 222 domain, logger, instanceName, targetDir.getAbsolutePath(), logFileDetails); 268 File targetDir = null; 285 targetDir = makingDirectoryOnDas(SystemPropertyConstants.DEFAULT_SERVER_INSTANCE_NAME, report); 295 copyLogFilesForLocalhost(sourceDir, targetDir.getAbsolutePath(), report, 336 targetDir 406 copyLogFilesForLocalhost(String sourceDir, String targetDir, ActionReport report, String instanceName) argument [all...] |
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/services/ |
H A D | WindowsService.java | 195 targetDir = new File(getServerDirs().getServerDir(), TARGET_DIR); 196 targetDir.mkdirs(); // just in case... 197 if (!targetDir.isDirectory()) 198 throw new RuntimeException(Strings.get("noTargetDir", targetDir)); 199 targetWin32Exe = new File(targetDir, info.serviceName + "Service.exe"); 200 targetXml = new File(targetDir, info.serviceName + "Service.xml"); 211 if (targetDir == null || targetWin32Exe == null || targetXml == null) 328 new File(targetDir, getServerDirs().getServerName() + "Service").toString() + ".*", 346 private File targetDir; field in class:WindowsService
|
/glassfish-3.1.2/common/common-util/src/main/java/org/glassfish/admin/payload/ |
H A D | PayloadFilesManager.java | 98 private final File targetDir; field in class:PayloadFilesManager 106 final File targetDir, 110 this.targetDir = targetDir; 117 final File targetDir, 120 this(targetDir, report, logger, null); 124 return targetDir; 164 * manager's targetDir (which the caller passes to the constructor) is the default 169 * against the targetDir). 177 * string and is resolved against the targetDir combine 105 PayloadFilesManager( final File targetDir, final ActionReport report, final Logger logger, final ActionReportHandler reportHandler) argument 116 PayloadFilesManager( final File targetDir, final ActionReport report, final Logger logger) argument 195 Perm(final File targetDir, final ActionReport report, final Logger logger) argument 207 Perm(final File targetDir, final ActionReport report, final Logger logger, final ActionReportHandler reportHandler) argument [all...] |
/glassfish-3.1.2/extras/upgrade/upgrade-jar/src/main/java/com/sun/enterprise/tools/upgrade/common/ |
H A D | UpgradeUtils.java | 109 * @param targetDir File pointing at root of new tree 115 public static void copyDirectory(File sourceDir, File targetDir) throws IOException { argument 119 File dest = new File(targetDir, srcFiles[i].getName()); 129 copyFile(srcFiles[i].getAbsolutePath(), new File(targetDir,
|
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/util/ |
H A D | ExtensionValidator.java | 157 File targetDir = new File(extensionsTok.nextToken()); 158 if (!targetDir.exists() || !targetDir.isDirectory()) { 161 File[] files = targetDir.listFiles();
|
/glassfish-3.1.2/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/ |
H A D | ImportSyncBundleCommand.java | 285 File targetDir = this.getServerDirs().getServerDir(); 286 targetDir.mkdirs(); 287 Perm perm = new Perm(targetDir, null, logger); 294 syncBundle, targetDir.getAbsolutePath());
|
/glassfish-3.1.2/core/logging/src/main/java/com/sun/enterprise/server/logging/logviewer/backend/ |
H A D | LogFilterForInstance.java | 404 File targetDir = new File(path); 407 if (targetDir.exists()) { 408 deleted = targetDir.delete(); 410 return targetDir; 414 created = targetDir.mkdir(); 418 return targetDir;
|
/glassfish-3.1.2/deployment/autodeploy/src/main/java/org/glassfish/deployment/autodeploy/ |
H A D | AutoDeployer.java | 245 boolean mkdirs(final File baseDir, final File targetDir) { argument 247 final URI targetURI = targetDir.toURI().normalize(); 254 return targetDir.mkdirs();
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/common/util/logging/ |
H A D | LoggingConfigImpl.java | 126 public boolean copyLoggingPropertiesFile(File targetDir) throws IOException { argument 134 File dest = new File(targetDir, ServerEnvironmentImpl.kLoggingPropertiesFileName);
|