Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for getProperty (0.09 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            String revision = request.getUserProperties().getProperty("revision");
            assertEquals("8.2.0", revision);
    
            assertEquals("bar ", request.getUserProperties().getProperty("foo"));
            assertEquals("bar two", request.getUserProperties().getProperty("foo2"));
            assertEquals("Apache Maven", request.getUserProperties().getProperty("label"));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            assertEquals("fff", s36, "7");
            String s35 = props2.getProperty("g");
            assertEquals("g", s35, "8");
            String s34 = props2.getProperty("h h");
            assertEquals("", s34, "9");
            String s33 = props2.getProperty(" ");
            assertEquals("i=i", s33, "10");
            String s32 = props2.getProperty("j");
            assertEquals("   j", s32, "11");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

            version.append(reduce(properties.getProperty("distributionShortName") + " home: "
                            + System.getProperty("maven.home", "<unknown Maven " + "home>")))
                    .append(ls);
            version.append("Java version: ")
                    .append(System.getProperty("java.version", "<unknown Java version>"))
                    .append(", vendor: ")
                    .append(System.getProperty("java.vendor", "<unknown vendor>"))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/FessBoot.java

            // update java.io.tmpdir
            final String tempPath = System.getProperty(FESS_TEMP_PATH);
            if (tempPath != null) {
                System.setProperty(JAVA_IO_TMPDIR, tempPath);
            }
    
            final TomcatBoot tomcatBoot = new FessBoot(getPort(), getContextPath()) //
                    .useTldDetect(); // for JSP
            final String varPath = System.getProperty(FESS_VAR_PATH);
            if (varPath != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                    return getResourcePath(getProperty(SPNEGO_LOGIN_CONF, "auth_login.conf"));
                }
                if (SpnegoHttpFilter.Constants.KRB5_CONF.equals(name)) {
                    return getResourcePath(getProperty(SPNEGO_KRB5_CONF, "krb5.conf"));
                }
                if (SpnegoHttpFilter.Constants.CLIENT_MODULE.equals(name)) {
                    return getProperty(SPNEGO_LOGIN_CLIENT_MODULE, "spnego-client");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            assertEquals("jar", depArtifact.getExtension());
            assertEquals("java", depArtifact.getProperty("language", null));
            assertEquals("jar", depArtifact.getProperty("type", null));
            assertEquals("true", depArtifact.getProperty("constitutesBuildPath", null));
            assertEquals("false", depArtifact.getProperty("includesDependencies", null));
            assertEquals(4, depArtifact.getProperties().size());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java

            MavenPropertiesLoader.loadProperties(p, mavenUserProps, p::getProperty, false);
            assertEquals("bar", p.getProperty("foo"));
            assertNull(p.getProperty("foo-env"));
    
            p = new Properties();
            p.put("user.home", userDirectory.toString());
            p.put("env.envName", "ci");
            MavenPropertiesLoader.loadProperties(p, mavenUserProps, p::getProperty, false);
            assertEquals("bar-env", p.getProperty("foo"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java

            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
            String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}", basedir);
    
            assertEquals(basedir.getAbsolutePath(), aligned);
        }
    
        @Test
        void testAlignToBasedirWhereBasedirExpressionIsTheValuePrefix() {
            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

            return ComponentUtil.getSystemProperties().getProperty(OIC_CLIENT_SECRET, StringUtil.EMPTY);
        }
    
        protected String getOicTokenServerUrl() {
            return ComponentUtil.getSystemProperties().getProperty(OIC_TOKEN_SERVER_URL, "https://accounts.google.com/o/oauth2/token");
        }
    
        protected String getOicRedirectUrl() {
            return ComponentUtil.getSystemProperties().getProperty(OIC_REDIRECT_URL, "http://localhost:8080/sso/");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    or(paths::getProperty, prefix("cli.", commandLine::getOptionValue), systemProperties::getProperty);
    
            Path mavenConf;
            if (systemProperties.getProperty(MAVEN_INSTALLATION_CONF) != null) {
                mavenConf = fileSystem.getPath(systemProperties.getProperty(MAVEN_INSTALLATION_CONF));
            } else if (systemProperties.getProperty("maven.conf") != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top