Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for fromSystemProperties (0.23 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/testfixtures/internal/NativeServicesTestFixture.java

            if (!initialized) {
                System.setProperty("org.gradle.native", "true");
                File nativeDir = getNativeServicesDir();
                NativeServices.initializeOnDaemon(nativeDir, NativeServicesMode.fromSystemProperties());
                initialized = true;
            }
        }
    
        public static synchronized NativeServices getInstance() {
            if (nativeServices == null) {
                initialize();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/NativeServicesInitializingAction.java

            this.action = action;
        }
    
        @Override
        public void execute(ExecutionListener executionListener) {
            NativeServices.initializeOnClient(buildLayout.getGradleUserHomeDir(), NativeServicesMode.fromSystemProperties());
            loggingManager.attachProcessConsole(loggingConfiguration.getConsoleOutput());
            action.execute(executionListener);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/ChmodBenchmark.java

        public void setupTrial() throws IOException {
            this.tempRootDir = Files.createTempDirectory("chmod-benchmark");
            NativeServices.initializeOnDaemon(tempRootDir.toFile(), NativeServicesMode.fromSystemProperties());
            this.fileSystem = FileSystems.getDefault();
        }
    
        @TearDown(Level.Trial)
        public void tearDownTrial() throws IOException {
            FileUtils.forceDelete(tempRootDir.toFile());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 12:13:32 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top