Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 163 for getProperty (0.05 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/logging/impl/MavenSimpleConfiguration.java

                    switch (level) {
                        case DEBUG -> "debug";
                        case INFO -> "info";
                        case ERROR -> "error";
                    };
    
            String current = System.setProperty(Constants.MAVEN_LOGGER_DEFAULT_LOG_LEVEL, value);
            if (current != null && !value.equalsIgnoreCase(current)) {
                LOGGER.info(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 08 21:10:33 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/properties/internal/EnvironmentUtils.java

                        String key = "env."
                                + (caseSensitive ? entry.getKey() : entry.getKey().toUpperCase(Locale.ENGLISH));
                        tmp.setProperty(key, entry.getValue());
                    }
                    envVars = tmp;
                }
    
                props.putAll(envVars);
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateSmokeTestedPluginsVersions.kt

                }
    
        private
        fun updateProperties(fetchedVersions: List<TestedVersion>) = updateProperties {
            fetchedVersions.forEach { (pluginId, version) ->
                setProperty(pluginId, version)
            }
        }
    
        private data class TestedVersion(
            val pluginId: String,
            val version: String
        )
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Sep 18 16:06:17 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

        abstract val compatibilityDocFile: RegularFileProperty
    
        @TaskAction
        fun action() =
            fetchLatestKotlinVersions().let { latestKotlinVersions ->
                updateProperties {
                    setProperty("latests", latestKotlinVersions.joinToString(","))
                }
                updateCompatibilityDoc(
                    compatibilityDocFile,
                    "Gradle is tested with Kotlin",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Oct 29 08:29:55 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

        fun configureLogging(
          debug: Boolean,
          showHttp2Frames: Boolean,
          sslDebug: Boolean,
        ) {
          if (debug || showHttp2Frames || sslDebug) {
            if (sslDebug) {
              System.setProperty("javax.net.debug", "")
            }
            LogManager.getLogManager().reset()
            val handler =
              object : ConsoleHandler() {
                override fun publish(record: LogRecord) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        }
        String oldPathSeparator = PATH_SEPARATOR.value();
        String oldClassPath = JAVA_CLASS_PATH.value();
        System.setProperty(PATH_SEPARATOR.key(), ":");
        System.setProperty(
            JAVA_CLASS_PATH.key(),
            Joiner.on(":")
                .join(
                    "relative/path/to/some.jar",
                    "/absolute/path/to/some.jar",
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

        }
    
        @Test
        void testAndConditionInActivation() throws Exception {
            Properties sysProperties = new Properties();
            sysProperties.setProperty("myproperty", "test");
    
            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

        }
    
        @Test
        void testSystemScopeDependencyIsPresentInTheCompileClasspathElements() throws Exception {
            File pom = getProject("it0063");
    
            Properties eps = new Properties();
            eps.setProperty("jre.home", new File(pom.getParentFile(), "jdk/jre").getPath());
    
            MavenSession session = createMavenSession(pom, eps);
            MavenProject project = session.getCurrentProject();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/nullaway/NullawayStatusTask.kt

        @get:Input
        val projectPath = project.buildTreePath
    
        @get:Input
        abstract val nullawayEnabled: Property<Boolean>
    
        // TODO(https://github.com/gradle/gradle/issues/27582): We cannot use a SetProperty<ResolvedArtifactResult> because some projects
        //  have no task dependencies and thus are non-CC serializable.
        @get:Input
        abstract val nullawayAwareDeps: Property<ArtifactCollection>
    
        init {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Aug 20 13:18:23 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

          }
          else -> println(message)
        }
      }
    
      fun enableJsseDebugLogging(debugHandler: (JsseDebugMessage) -> Unit = this::quietDebug): Closeable {
        System.setProperty("javax.net.debug", "")
        return OkHttpDebugLogging.enable(
          "javax.net.ssl",
          object : Handler() {
            override fun publish(record: LogRecord) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top