Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for prop1 (0.02 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

            assertActivation(true, profile, newContext(null, newProperties("other", "")));
        }
    
        @Test
        void testWithValue_UserPropertyDominantOverSystemProperty() throws Exception {
            Profile profile = newProfile("prop", "value");
    
            Properties props1 = newProperties("prop", "value");
            Properties props2 = newProperties("prop", "other");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

            pw.println("key3 = val3");
            pw.println("");
    
            MavenProperties props = new MavenProperties();
            props.load(new StringReader(sw.toString()));
            props.save(System.err);
            System.err.println("=====");
    
            props.put("key2", props.get("key2"));
            props.put("key3", "foo");
            props.save(System.err);
            System.err.println("=====");
        }
    
        @Test
    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-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            Properties props = new Properties();
            props.put("key", "user_value");
            ToolchainModel toolchain = new ToolchainModel();
            toolchain.setType("TYPE");
            toolchain.setProvides(props);
            PersistedToolchains userResult = new PersistedToolchains();
            userResult.setToolchains(Collections.singletonList(toolchain));
    
            props = new Properties();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                    if (error != null) {
                        props.setProperty(key + ERROR_KEY_SUFFIX, error);
                    } else {
                        props.remove(key + ERROR_KEY_SUFFIX);
                    }
    
                    getLogger().debug("Writing resolution-state to: " + touchfile);
                    channel.truncate(0);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. 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)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

        @Test
        public void testRecursiveExpressionCycleNPE() throws Exception {
            Map<String, String> props = new HashMap<>();
            props.put("aa", "${bb}");
            props.put("bb", "${aa}");
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
    
            Model model = Model.newBuilder().properties(props).build();
    
            SimpleProblemCollector collector = new SimpleProblemCollector();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/MergerTest.java

                        .read(
                                new StringReader("<project>\n"
                                        + "  <properties>\n"
                                        + "    <my.prop>my-value</my.prop>\n"
                                        + "  </properties>\n"
                                        + "</project>"),
                                true,
                                new InputSource(null, "merge-input"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/FessBoot.java

                    final Properties props, final List<String> readConfigList) {
                if (props == null) {
                    return;
                }
                super.setupServerConfigIfNeeds(logger, server, connector, props, readConfigList);
                doSetupServerConfig(logger, props, "SSLEnabled", value -> {
                    if ("true".equalsIgnoreCase(value)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenPropertiesLoader.java

                    String overrideName = name.substring(OVERRIDE_PREFIX.length());
                    props.put(overrideName, substVars(value, name, props, callback));
                } else {
                    props.put(name, substVars(value, name, props, callback));
                }
            }
            props.keySet().removeIf(k -> k.startsWith(OVERRIDE_PREFIX));
        }
    
        private static MavenProperties loadPropertiesFile(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            osActivation.setOs( activationOS );
    
            osActivated.setActivation( osActivation );
    
            Properties props = System.getProperties();
            ProfileActivationContext ctx = new ProfileActivationContext( props, false );
    
            ProfileManager profileManager = new DefaultProfileManager( getContainer(), props );
    
            profileManager.addProfile( osActivated );
    
            List active = profileManager.getActiveProfiles( null );
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top