Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for inputFile (0.2 sec)

  1. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesDuringTheBuildFileSystemWatchingIntegrationTest.groovy

            def inputFile = file("input.txt")
            buildFile << """
                def inputFile = file("input.txt")
                def outputFile = file("build/output.txt")
    
                task consumer {
                    inputs.file(inputFile)
                    outputs.file(outputFile)
                    doLast {
                        outputFile.text = inputFile.text
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/BuildOperationsFileSystemWatchingIntegrationTest.groovy

        def projectDir = file("project")
        def inputFile = projectDir.file("input.txt")
    
        def setup() {
            projectDir.file("build.gradle") << """
                task myTask {
                    def inputFile = file("${inputFile.name}")
                    def outputFile = file("build/output.txt")
                    outputs.file(outputFile)
                    inputs.file(inputFile)
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 13:50:33 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/DefaultBinaryStore.java

            private final long offset;
            private final File inputFile;
    
            private Decoder decoder;
            private CompositeStoppable resources;
    
            public SimpleBinaryData(File inputFile, long offset) {
                this.inputFile = inputFile;
                this.offset = offset;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. testing/architecture-test/src/changes/archunit-store/public-api-symmetrical-accessors-nullability.txt

    Accessors for org.gradle.ide.visualstudio.tasks.GenerateFiltersFileTask.inputFile don't use symmetrical @Nullable
    Accessors for org.gradle.ide.visualstudio.tasks.GenerateProjectFileTask.inputFile don't use symmetrical @Nullable
    Accessors for org.gradle.ide.visualstudio.tasks.GenerateSolutionFileTask.inputFile don't use symmetrical @Nullable
    Accessors for org.gradle.ide.xcode.tasks.GenerateSchemeFileTask.inputFile don't use symmetrical @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecIntegrationTest.groovy

                }
    
            """)
    
            when:
            run "run", "-PinputFile=${inputFile.absolutePath}", "-PoutputFile=${outputFile.absolutePath}"
            then:
            executedAndNotSkipped ":run"
    
            when:
            def secondInputFile = file("second-input.txt")
            secondInputFile.text = inputFile.text
            run "run", "-PinputFile=${secondInputFile.absolutePath}", "-PoutputFile=${outputFile.absolutePath}"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/CopyUtilTest.java

        StringBuilder builder = new StringBuilder();
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        File outputFile = new File(inputFile.getParentFile(), ".out");
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsToOs() throws Exception {
            final int result = copy(is, os);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/CachedKotlinTaskExecutionIntegrationTest.groovy

                    @get:InputFile @get:PathSensitive(PathSensitivity.NONE) var inputFile: File? = null
                    @get:OutputFile var outputFile: File? = null
                    @TaskAction fun doSomething() {
                        outputFile!!.apply {
                            parentFile.mkdirs()
                            writeText(inputFile!!.readText())
                            appendText("$suffix")
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/file/TaskFilePropertiesIntegrationTest.groovy

                    @InputFile
                    Path inputFile
                    @InputDirectory
                    Path inputDir
                    @OutputFile
                    Path outputFile
                    @OutputDirectory
                    Path outputDir
    
                    @TaskAction
                    def go() {
                        outputFile.toFile().text = inputFile.toFile().text
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    	tests := []struct {
    		name        string
    		wantConfigs int
    		inputFile   string
    		wantErr     bool
    	}{
    		{
    			name:        "errors if unable to unmarshal bytes",
    			inputFile:   "",
    			wantConfigs: 0,
    			wantErr:     true,
    		},
    		{
    			name:        "loads valid ztunnel config_dump",
    			inputFile:   "testdata/dump.json",
    			wantConfigs: 27,
    			wantErr:     false,
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/FileSystemRootUpToDateIntegrationTest.groovy

            def inputFileName = "input.txt"
            def inputFile = file(inputFileName)
            inputFile << 'content'
    
            def outputDirectory = new File(drive)
    
            def taskName = 'outputFromFilesystemRoot'
            def script = """
                class InputFileToOutputDirectoryCopyAction extends DefaultTask {
                    @InputFile File input
                    @OutputDirectory File outputDirectory
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top