Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 281 for SetProperty (0.05 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                    new File(System.getProperty("basedir", "."), "target/local-repo").getAbsoluteFile());
        }
    
        @Override
        public ArtifactRepository createDefaultRemoteRepository() throws InvalidRepositoryException {
            return new MavenArtifactRepository(
                    DEFAULT_REMOTE_REPO_ID,
                    "file://"
                            + new File(System.getProperty("basedir", "."), "src/test/remote-repo")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. settings.gradle.kts

    val localProperties = Properties().apply {
      val file = rootProject.projectDir.resolve("local.properties")
      if (file.exists()) {
        load(file.inputStream())
      }
    }
    val sdkDir = localProperties.getProperty("sdk.dir")
    if (androidHome != null || sdkDir != null) {
      include(":android-test")
      include(":android-test-app")
    }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Oct 11 09:17:37 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/Name.java

     */
    public class Name {
    
        private static final int TYPE_OFFSET = 31;
        private static final int SCOPE_OFFSET = 33;
        private static final String DEFAULT_SCOPE = Config.getProperty("jcifs.smb1.netbios.scope");
    
        static final String OEM_ENCODING = Config.getProperty("jcifs.smb1.encoding", Charset.defaultCharset().displayName());
    
        /** The NetBIOS name (up to 15 characters) */
        public String name;
        /** The NetBIOS scope identifier */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

          assertEquals(expected, property.key());
        }
      }
    
      public void testGetValue() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
          assertEquals(System.getProperty(property.key()), property.value());
        }
      }
    
      public void testToString() {
        for (StandardSystemProperty property : StandardSystemProperty.values()) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/MavenPluginJavaPrerequisiteChecker.java

            String requiredJavaVersion = pluginDescriptor.getRequiredJavaVersion();
            if (requiredJavaVersion != null && !requiredJavaVersion.isEmpty()) {
                String currentJavaVersion = System.getProperty("java.version");
                if (!matchesVersion(requiredJavaVersion, currentJavaVersion)) {
                    throw new IllegalStateException("Required Java version " + requiredJavaVersion
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. okhttp-osgi-tests/build.gradle.kts

    }
    
    test.configure {
      dependsOn(copyOsgiTestDeployment)
    }
    
    dependencies {
      osgiTestDeploy(libs.eclipseOsgi)
      osgiTestDeploy(libs.kotlin.stdlib.osgi)
    }
    
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    tasks.withType<Test> {
      onlyIf("Tests require JDK 17") {
        testJavaVersion >= 17
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Aug 01 08:17:18 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

            Interpolator interpolator = new DefaultInterpolator();
            UnaryOperator<String> callback = v -> {
                String r = request.getUserProperties().getProperty(v);
                if (r == null) {
                    r = request.getSystemProperties().getProperty(v);
                }
                return r != null ? r : v;
            };
            return v -> interpolator.interpolate(v, callback);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

    import org.apache.maven.model.Profile;
    
    /**
     * JdkPrefixProfileActivator
     */
    @Deprecated
    public class JdkPrefixProfileActivator extends DetectedProfileActivator {
        private static final String JDK_VERSION = System.getProperty("java.version");
    
        @Override
        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            String jdk = activation.getJdk();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

    @NullUnmarked
    final class ClassPathUtil {
      private ClassPathUtil() {}
    
      /**
       * Returns the URLs in the class path specified by the {@code java.class.path} {@linkplain
       * System#getProperty system property}.
       */
      // TODO(b/65488446): Make this a public API.
      static URL[] parseJavaClassPath() {
        ImmutableList.Builder<URL> urls = ImmutableList.builder();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

            String timestampFormat = DEFAULT_BUILD_TIMESTAMP_FORMAT;
    
            Properties modelProperties = model.getProperties();
            if (modelProperties != null) {
                timestampFormat = modelProperties.getProperty(BUILD_TIMESTAMP_FORMAT_PROPERTY, timestampFormat);
            }
    
            ValueSource modelValueSource1 = new PrefixedObjectValueSource(PROJECT_PREFIXES, model, false);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top