Searched refs:installDir (Results 1 - 25 of 44) sorted by relevance

12

/glassfish-3.1.2/appclient/server/core/src/main/java/org/glassfish/appclient/server/core/jws/
H A DLoaderConfigContent.java60 LoaderConfigContent(final File installDir) throws FileNotFoundException, IOException { argument
61 content = loadContent(configFileURI(installDir));
83 private URI configFileURI(final File installDir) { argument
84 return installDir.toURI().resolve(OSGI_CONFIG_FILE_PATH);
/glassfish-3.1.2/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/
H A DUninstallNodeBaseCommand.java60 private String installDir; field in class:UninstallNodeBaseCommand
72 installDir = resolver.resolve(installDir);
75 if (checkIfNodeExistsForHost(host, installDir)) {
89 return installDir;
H A DInstallNodeBaseCommand.java77 private String installDir; field in class:InstallNodeBaseCommand
97 installDir = resolver.resolve(installDir);
100 if (checkIfNodeExistsForHost(host, installDir)) {
101 throw new CommandException(Strings.get("node.already.configured", host, installDir));
139 return installDir;
/glassfish-3.1.2/common/common-util/src/test/java/com/sun/enterprise/universal/glassfish/
H A DASenvPropertyReaderTest.java65 installDir = new File(
76 pr = new ASenvPropertyReader(installDir);
88 private static File installDir; field in class:ASenvPropertyReaderTest
/glassfish-3.1.2/ant-tasks/src/main/java/org/glassfish/ant/tasks/
H A DAdminTask.java52 String installDir, command, commandStr; field in class:AdminTask
62 public void setInstallDir(String installDir) { argument
63 this.installDir = installDir;
99 if (installDir == null) {
105 return installDir;
116 log("Install Directory of application server not known. Specify either the installDir attribute or the asinstall.dir property",
123 log("Glassfish install directory : " + installDirectory + " not found. Specify the correct directory as installDir attribute or asinstall.dir property");
155 private File getAsAdmin(File installDir) { argument
157 File binDir = new File(installDir, "bi
[all...]
/glassfish-3.1.2/extras/upgrade/upgrade-jar/src/main/java/com/sun/enterprise/tools/upgrade/common/
H A DBaseDomainInfoObj.java61 String installDir = null; //- user provided path of the domain field in class:BaseDomainInfoObj
79 installDir = s;
83 srvConfigFile = installDir + "/" + CONFIG_DOMAIN_XML_FILE;
87 return installDir;
92 return installDir;
H A DTargetAppSrvObj.java92 super.installDir = s;
/glassfish-3.1.2/installer/src/main/java/org/glassfish/installer/util/
H A DGlassFishUtils.java191 /* @param installDir root of the installation directory.
194 static public String getGlassfishConfigFilePath(String installDir) { argument
196 return installDir + "\\glassfish\\config\\asenv.bat";
199 return installDir + "/glassfish/config/asenv.conf";
202 /* @param installDir root of the installation directory.
205 static public String getGlassfishAdminScriptPath(String installDir) { argument
207 return installDir + "\\glassfish\\bin\\asadmin.bat";
209 return installDir + "/glassfish/bin/asadmin";
318 static public boolean isGlassFishInstalledHere(String installDir) { argument
320 return FileUtils.isFileExist(getGlassfishAdminScriptPath(installDir))
[all...]
/glassfish-3.1.2/core/bootstrap/src/main/java/com/sun/enterprise/glassfish/bootstrap/
H A DJarUtil.java108 private static String getSystemModuleLocation(String installDir, String rarName) { argument
109 return installDir + File.separator + "lib" +
115 private static boolean systemModuleLocationExists(String installDir, String rarName) { argument
116 return new File(getSystemModuleLocation(installDir, rarName)).exists();
119 public static boolean extractRars(String installDir) { argument
122 extracted = extracted & extractRar(installDir, rarName);
127 public static void setEnv(String installDir) { argument
129 getSystemModuleLocation(installDir, DEFAULT_JMS_ADAPTER));
133 public static boolean extractRar(String installDir, String rarName) { argument
134 if (systemModuleLocationExists(installDir, rarNam
[all...]
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/
H A DUpgradeFilesystem.java70 String installDir = System.getProperty(
73 File agentsDir = new File(installDir, "nodeagents");
74 File nodesDir = new File(installDir, "nodes");
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/
H A DInstanceDirUtils.java77 * ${installDir}/glassfish/nodes/${nodeName}.
92 * The installDir field contains the installation directory which the
99 String installDir = node.getInstallDir();
102 installDir == null
104 : new File(installDir, "glassfish"));
H A DListNodesHelper.java88 String installDir = n.getInstallDir();
115 NodeInfo ni = new NodeInfo( name, host, installDir,
/glassfish-3.1.2/cluster/cli/src/test/java/com/sun/enterprise/admin/cli/cluster/
H A DLocalInstanceCommandTest.java103 private static File installDir; field in class:LocalInstanceCommandTest
108 installDir = SmartFile.sanitize(new File(installDirPath));
109 nodeAgentsDir = new File(installDir, "nodes");
/glassfish-3.1.2/appclient/client/acc-standalone/src/main/java/org/glassfish/appclient/client/packageappclient/
H A DPackageAppClient.java72 * <li>the contents of the ${installDir}/lib/dtds and schemas directories (for
80 * <li><code>-output path-to-output-file</code> (default: ${installDir}/lib/appclient/appclient.jar)
81 * <li><code>-xml path-to-sun-acc.xml-config-file</code> (default: ${installDir}/domains/domain1/config/sun-acc.xml)
187 File installDir = findInstallDir(thisJarFile);
188 File modulesDir = new File(installDir.toURI().resolve("glassfish/modules/"));
189 File outputFile = chooseOutputFile(installDir, args);
199 final File[] configFiles = chooseConfigFiles(installDir, args);
208 addFile(os, installDir.toURI(), thisJarFile.toURI(), outputFile, "");
217 addFile(os, installDir.toURI(),
224 * so resolve them against the installDir fil
437 chooseOutputFile(final File installDir, final String[] args) argument
450 chooseFile( final String option, final String defaultRelativeURI, final File installDir, final String[] args) argument
475 chooseConfigFiles(final File installDir, final String[] args) argument
[all...]
/glassfish-3.1.2/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/
H A DGFEmbeddedLauncher.java180 cmdLine.add(installDir.getPath());
275 installDir = new File(installDirName);
277 if (!installDir.isDirectory())
278 installDir.mkdirs();
280 if (!installDir.isDirectory())
283 installDir = SmartFile.sanitize(installDir);
330 File derbyLib = new File(installDir, relPath);
333 derbyLib = new File(installDir.getParentFile(), relPath);
363 private File installDir; field in class:GFEmbeddedLauncher
[all...]
H A DGFLauncherNativeHelper.java64 installDir = SmartFile.sanitize(info.getInstallDir());
65 libDir = new File(installDir, LIBDIR);
147 private final File installDir; field in class:GFLauncherNativeHelper
H A DGFLauncherInfo.java304 * not dependent on an installation. Normally we figure out installDir from
308 installDir = f;
312 return installDir;
367 if(installDir == null)
368 installDir = GFLauncherUtils.getInstallDir();
370 if (!GFLauncherUtils.safeIsDirectory(installDir)) {
371 throw new GFLauncherException("noInstallDir", installDir);
419 domainParentDir = new File(installDir, DEFAULT_DOMAIN_PARENT_DIR);
513 File installDir; field in class:GFLauncherInfo
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/glassfish/
H A DGFLauncherUtils.java76 if(installDir == null)
113 installDir = SmartFile.sanitize(f);
116 installDir = null;
119 return installDir;
243 // if anything is not kosher simply return w/o setting installDir to anything.
252 installDir = f;
256 private static File installDir; field in class:GFLauncherUtils
H A DASenvPropertyReader.java76 * @param installDir The Glassfish installation directory
78 public ASenvPropertyReader(File installDir) argument
82 installDir = SmartFile.sanitize(installDir);
83 props = propsMap.get(installDir);
85 props = new ASenvMap(installDir);
86 propsMap.put(installDir, props);
134 ASenvMap(File installDir) { argument
135 put(INSTALL_ROOT_PROPERTY, installDir.getPath());
136 File configDir = SmartFile.sanitize(new File(installDir, "confi
[all...]
/glassfish-3.1.2/admin/launcher/src/test/java/com/sun/enterprise/admin/launcher/
H A DGFLauncherTest.java64 installDir = asenv.getParentFile().getParentFile();
65 domainsDir = new File(installDir, "domains");
86 info.setInstallDir(installDir);
198 private static File installDir; field in class:GFLauncherTest
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/pe/
H A DPEAccXmlTokens.java65 final String installDir = layout.getInstallRootDir().getAbsolutePath();
67 FileUtils.makeForwardSlashes(installDir));
/glassfish-3.1.2/cluster/common/src/main/java/com/sun/enterprise/util/cluster/
H A DNodeInfo.java55 private final String installDir; field in class:NodeInfo
62 private static final String INSTALLDIR = Strings.get("ListNode.installDir");
68 this.installDir = installDir1;
87 return installDir;
/glassfish-3.1.2/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/connect/
H A DNodeRunnerSsh.java105 String installDir = node.getInstallDirUnixStyle() + "/" +
107 if (!StringUtils.ok(installDir)) {
108 throw new IllegalArgumentException("Node does not have an installDir");
115 fullcommand.add(installDir + "/bin/asadmin");
/glassfish-3.1.2/installer/src/main/java/org/openinstaller/provider/conf/
H A DInstallationConfigurator.java79 final String xcsFilePath, final String installDir) {
81 installDir,
82 GlassFishUtils.getGlassfishAdminScriptPath(installDir),
83 GlassFishUtils.getGlassfishConfigFilePath(installDir));
174 String installDir = productRef.getInstallLocation();
177 org.glassfish.installer.util.FileUtils.setAllFilesExecutable(installDir + "/glassfish/bin");
178 org.glassfish.installer.util.FileUtils.setAllFilesExecutable(installDir + "/bin");
179 if (org.glassfish.installer.util.FileUtils.isFileExist(installDir + "/mq/bin")) {
180 org.glassfish.installer.util.FileUtils.setAllFilesExecutable(installDir + "/mq/bin");
78 InstallationConfigurator(final String productName, final String altRootDir, final String xcsFilePath, final String installDir) argument
/glassfish-3.1.2/flashlight/framework/src/main/java/org/glassfish/flashlight/cli/
H A DEnableMonitoring.java192 private File getAgentJar(File installDir) { argument
193 return new File(installDir, FLASHLIGHT_AGENT_PATH);

Completed in 4240 milliseconds

12