Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 340 for processDir (0.16 sec)

  1. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/processenvironment/AbstractProcessEnvironment.java

        @Override
        public void setProcessDir(File processDir) throws NativeIntegrationException {
            setNativeProcessDir(processDir);
            System.setProperty("user.dir", processDir.getAbsolutePath());
        }
    
        protected abstract void setNativeProcessDir(File processDir);
    
        @Override
        public boolean maybeSetProcessDir(File processDir) {
            setProcessDir(processDir);
            return true;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/ProcessEnvironment.java

        /**
         * Sets the process working directory.
         *
         * @param processDir The directory.
         * @throws NativeIntegrationException If process directory cannot be set.
         */
        void setProcessDir(File processDir) throws NativeIntegrationException;
    
        /**
         * Sets the process working directory, if possible
         *
         * @param processDir The directory.
         * @return true if the directory can be set, false if not possible.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/processenvironment/NativePlatformBackedProcessEnvironment.java

        protected void setNativeEnvironmentVariable(String name, String value) {
            process.setEnvironmentVariable(name, value);
        }
    
        @Override
        protected void setNativeProcessDir(File processDir) {
            process.setWorkingDirectory(processDir);
        }
    
        @Override
        public File getProcessDir() {
            return process.getWorkingDirectory();
        }
    
        @Override
        public Long getPid() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jna/UnsupportedEnvironment.java

            throw notSupported();
        }
    
        @Override
        public void setProcessDir(File processDir) throws NativeIntegrationException {
            throw notSupported();
        }
    
        @Override
        public boolean maybeSetProcessDir(File processDir) {
            return false;
        }
    
        @Override
        public Long getPid() throws NativeIntegrationException {
            if (pid != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  5. hack/conformance/check_conformance_test_requirements.go

    			continue
    		}
    		e2eFile := fmt.Sprintf("%s/%s", e2ePath, file.Name())
    		err = checkAllProviders(e2eFile)
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    func processDir(e2ePath string) error {
    	err := processFile(e2ePath)
    	if err != nil {
    		return err
    	}
    
    	// Search sub directories if exist
    	files, err := os.ReadDir(e2ePath)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 29 06:30:57 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/processenvironment/ProcessEnvironmentTest.groovy

            expect:
            env.processDir.canonicalFile == new File('.').canonicalFile
        }
    
        @Requires(UnitTestPreconditions.WorkingDir)
        def "can get set working directory of current process"() {
            File originalDir = new File(System.getProperty("user.dir"))
    
            when:
            env.setProcessDir(tmpDir.testDirectory)
    
            then:
            env.processDir.canonicalFile == tmpDir.testDirectory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/file/copy/CopyFileVisitorImpl.java

        }
    
        @Override
        public void visitDir(FileVisitDetails dirDetails) {
            processDir(dirDetails);
        }
    
        @Override
        public void visitFile(FileVisitDetails fileDetails) {
            processFile(fileDetails);
        }
    
        private void processDir(FileVisitDetails visitDetails) {
            DefaultFileCopyDetails details = createDefaultFileCopyDetails(visitDetails);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 20 13:25:37 UTC 2021
    - 3K bytes
    - Viewed (0)
  8. platforms/core-runtime/internal-instrumentation-processor/src/main/resources/META-INF/services/javax.annotation.processing.Processor

    # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    # See the License for the specific language governing permissions and
    # limitations under the License.
    #
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 690 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/java/incrementalAnnotationProcessing/groovy/processor/src/main/resources/META-INF/services/javax.annotation.processing.Processor

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 62 bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorTest.groovy

            1 * processor.started({ it.id == 3 && it.name == "ok" && it.className == ATestClassWithRunner.name }, { it.parentId == 1 })
            1 * processor.failure(2, CustomRunner.failure)
            1 * processor.completed(3, { it.resultType == null })
            1 * processor.completed(2, { it.resultType == null })
            1 * processor.completed(1, { it.resultType == null })
            0 * processor._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
Back to top