Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for setProperty (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. src/main/java/org/codelibs/fess/job/ExecJob.java

                    final ScheduledJob job = (ScheduledJob) jobRuntime.getParameterMap().get(Constants.SCHEDULED_JOB);
                    if (job != null) {
                        prop.setProperty("job.runtime.id", job.getId());
                        prop.setProperty("job.runtime.name", job.getName());
                    }
                }
                prop.store(out, cmdList.toString());
            } catch (final IOException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            // wait for yellow status
            runner.ensureYellow();
    
            System.setProperty(FesenClient.HTTP_ADDRESS, "localhost:" + runner.node().settings().get("http.port", "9201"));
    
            super.setUp();
    
            // logging
            System.setProperty("java.util.logging.SimpleFormatter.format", "%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$s %2$s %5$s%6$s%n");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

            return p;
        }
    
        private Properties newProperties(String osName, String osVersion, String osArch) {
            Properties props = new Properties();
            props.setProperty("os.name", osName);
            props.setProperty("os.version", osVersion);
            props.setProperty("os.arch", osArch);
            return props;
        }
    
        @Test
        void testVersionStringComparison() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Activation syspropActivation = new Activation();
    
            ActivationProperty syspropProperty = new ActivationProperty();
            syspropProperty.setName("java.version");
    
            syspropActivation.setProperty(syspropProperty);
    
            syspropActivated.setActivation(syspropActivation);
    
            Profile defaultActivated = new Profile();
            defaultActivated.setId("defaultActivated");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. 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)
  7. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                version = prop.getProperty("fess.version", "0.0.0");
                final String[] values = version.split("\\.");
                majorVersion = Integer.parseInt(values[0]);
                minorVersion = Integer.parseInt(values[1]);
                productVersion = majorVersion + "." + minorVersion;
                System.setProperty("fess.version", version);
                System.setProperty("fess.product.version", productVersion);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/ProfileUtil.java

                for (final String value : list) {
                    if (buf.length() > 0) {
                        buf.append(',');
                    }
                    buf.append(value);
                }
                System.setProperty(SPRING_PROFILES_ACTIVE, buf.toString());
            }
        }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

        }
    
        private Model read(InputStream input, Path pomFile, Map<String, ?> options) throws IOException {
            try {
                XMLInputFactory factory = XMLInputFactory.newFactory();
                factory.setProperty(XMLInputFactory.IS_REPLACING_ENTITY_REFERENCES, false);
                XMLStreamReader parser = factory.createXMLStreamReader(input);
    
                InputSource source = getSource(options);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                        props.load(Channels.newInputStream(channel));
                    }
    
                    props.setProperty(key, Long.toString(System.currentTimeMillis()));
    
                    if (error != null) {
                        props.setProperty(key + ERROR_KEY_SUFFIX, error);
                    } else {
                        props.remove(key + ERROR_KEY_SUFFIX);
                    }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top