Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,113 for filesFn (0.12 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/GroovyJavaJointIncrementalCompilationIntegrationTest.groovy

        }
    
        void applyGroovyFileSet(List<String> fileSet) {
            file('src/main/groovy').forceDeleteDir()
            fileSet.each {
                file("src/main/groovy/${it.replace('.changed', '').replace('.failure', '') + (it.startsWith('J') ? '.java' : '.groovy')}").text = SOURCES[it]
            }
        }
    
        void applyMixFileSet(List<String> fileSet) {
            file('src/main/groovy').forceDeleteDir()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/groovy/build.gradle

            ant.pmd(shortFilenames: 'true',
                    failonruleviolation: 'true',
                    rulesetfiles: file('pmd-rules.xml').toURI().toString()) {
                formatter(type: 'text', toConsole: 'true')
                fileset(dir: 'src')
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 697 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/kotlin/build.gradle.kts

                      "failonruleviolation" to true,
                      "rulesetfiles" to file("pmd-rules.xml").toURI().toString()) {
                    "formatter"("type" to "text", "toConsole" to "true")
                    "fileset"("dir" to "src")
                }
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 800 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/ant/taskWithNestedElements/kotlin/build.gradle.kts

    tasks.register("zip") {
        doLast {
            ant.withGroovyBuilder {
                "zip"("destfile" to "archive.zip") {
                    "fileset"("dir" to "src") {
                        "include"("name" to "**.xml")
                        "exclude"("name" to "**.java")
                    }
                }
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 313 bytes
    - Viewed (0)
  5. plugin.xml

    			<patternset>
    				<include name="**" />
    			</patternset>
    			<cutdirsmapper dirs="1" />
    		</unzip>
    	</target>
    
    	<target name="remove.jars" if="with.fess">
    		<delete>
    			<fileset dir="${plugins.dir}">
    				<include name="configsync/commons-codec-*" />
    				<include name="dataformat/commons-codec-*" />
    				<include name="dataformat/commons-collections4-*" />
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 16 07:10:50 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/go/types/eval.go

    func CheckExpr(fset *token.FileSet, pkg *Package, pos token.Pos, expr ast.Expr, info *Info) (err error) {
    	// determine scope
    	var scope *Scope
    	if pkg == nil {
    		scope = Universe
    		pos = nopos
    	} else if !pos.IsValid() {
    		scope = pkg.scope
    	} else {
    		// The package scope extent (position information) may be
    		// incorrect (files spread across a wide range of fset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. testing/architecture-test/src/test/java/org/gradle/architecture/test/TempDirectoryCreationControlTest.java

            classes()
                .should(not(callMethodWithName("kotlin.io.FilesKt", "createTempDir$default")))
                .because(RATIONALE);
    
        @ArchTest
        public static final ArchRule forbid_illegal_calls_to_kotlin_Files_createTempFile =
            classes()
                .should(not(callMethodWithName("kotlin.io.FilesKt", "createTempFile$default")))
                .because(RATIONALE);
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CodeNarcInvoker.groovy

                                option(name: 'outputFile', value: r.outputLocation.asFile.get())
                            }
                        }
                    }
    
                    source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet)
    
                    if (!compilationClasspath.empty) {
                        compilationClasspath.addToAntBuilder(ant, 'classpath')
                    }
                }
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 14:00:06 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  9. src/cmd/gofmt/gofmt.go

    		return err
    	}
    
    	fileSet := token.NewFileSet()
    	// If we are formatting stdin, we accept a program fragment in lieu of a
    	// complete source file.
    	fragmentOk := info == nil
    	file, sourceAdj, indentAdj, err := parse(fileSet, filename, src, fragmentOk)
    	if err != nil {
    		return err
    	}
    
    	if rewrite != nil {
    		if sourceAdj == nil {
    			file = rewrite(fileSet, file)
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/FileCollectionAdapterTest.groovy

        def delegatesToTargetCollectionToBuildSetOfFiles() {
            MinimalFileSet fileSet = Mock()
            FileCollectionAdapter adapter = new FileCollectionAdapter(fileSet)
            def expectedFiles = [new File('a'), new File('b')] as Set
    
            when:
            def files = adapter.files
    
            then:
            files == expectedFiles
            1 * fileSet.getFiles() >> expectedFiles
            0 * _._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top