Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for AntType (0.13 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/api/tasks/AntBuilderAwareUtil.groovy

    class AntBuilderAwareUtil {
    
        static def assertSetContains(FileCollection set, Set<String> filenames) {
            assertSetContains(set, filenames, [FileCollection.AntType.ResourceCollection])
        }
    
        static def assertSetContains(FileCollection set, Set<String> filenames, Iterable<FileCollection.AntType> types, boolean generic = true) {
            AntBuilder ant = new DefaultAntBuilder(null, null)
            ant.antProject.addTaskDefinition('test', FileListTask)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 15:32:09 UTC 2022
    - 5K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultAntBuilderTest.groovy

            and:
            level == AntMessagePriority.DEBUG
        }
    
        @Issue('GRADLE-3511')
        def 'Filename #filename is properly masked when adding it as #antType to an ant task'(String filename, antType) {
            given:
            def dirname = 'somedir$$with'
            def dirAndFile = "${dirname}/${filename}"
            project.file(dirname).mkdir()
            File fileWithDollars = project.file(dirAndFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 16:17:40 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionTest.groovy

            when:
            collection.addToAntBuilder("node", "name", FileCollection.AntType.ResourceCollection)
    
            then:
            1 * source1.addToAntBuilder("node", "name", FileCollection.AntType.ResourceCollection)
            1 * source2.addToAntBuilder("node", "name", FileCollection.AntType.ResourceCollection)
            0 * _
        }
    
        void "visits children when structure is visited"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  4. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/PmdInvoker.groovy

            ant.taskdef(name: 'pmd', classname: 'net.sourceforge.pmd.ant.PMDTask')
            ant.pmd(antPmdArgs) {
                parameters.source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet)
                ruleSets.each {
                    ruleset(it)
                }
                parameters.ruleSetConfigFiles.each {
                    ruleset(it)
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/CompositeFileCollection.java

        @Override
        protected void addAsResourceCollection(Object builder, String nodeName) {
            for (FileCollection fileCollection : getSourceCollections()) {
                fileCollection.addToAntBuilder(builder, nodeName, AntType.ResourceCollection);
            }
        }
    
        @Override
        public FileCollectionInternal filter(final Spec<? super File> filterSpec) {
            return new FilteredFileCollection(this, filterSpec) {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CodeNarcInvoker.groovy

                            }
                        }
                    }
    
                    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)
  7. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/internal/CheckstyleInvoker.groovy

                        maxErrors: maxErrors, maxWarnings: maxWarnings, failureProperty: FAILURE_PROPERTY_NAME) {
    
                    source.addToAntBuilder(ant, 'fileset', FileCollection.AntType.FileSet)
    
                    if (showViolations) {
                        formatter(type: 'plain', useFile: false)
                    }
    
                    if (isXmlRequired || isHtmlRequired) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 22:34:07 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  8. test/typeparam/issue47710.go

    // license that can be found in the LICENSE file.
    
    package p
    
    type FooType[t any] interface {
    	Foo(BarType[t])
    }
    type BarType[t any] interface {
    	Int(IntType[t]) FooType[int]
    }
    
    type IntType[t any] int
    
    func (n IntType[t]) Foo(BarType[t]) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 398 bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    }
    
    // describe returns a string describing the type typ contained within the type
    // set of inType. If non-empty, inName is used as the name of inType (this is
    // necessary so that we can use alias type names that may not be reachable from
    // inType itself).
    func describe(typ, inType types.Type, inName string) string {
    	name := inName
    	if typ != inType {
    		name = typeName(typ)
    	}
    	if name == "" {
    		return ""
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/typecheck/universe.go

    	"cmd/internal/src"
    )
    
    var (
    	okfor [ir.OEND][]bool
    )
    
    var (
    	okforeq    [types.NTYPE]bool
    	okforadd   [types.NTYPE]bool
    	okforand   [types.NTYPE]bool
    	okfornone  [types.NTYPE]bool
    	okforbool  [types.NTYPE]bool
    	okforcap   [types.NTYPE]bool
    	okforlen   [types.NTYPE]bool
    	okforarith [types.NTYPE]bool
    )
    
    var builtinFuncs = [...]struct {
    	name string
    	op   ir.Op
    }{
    	{"append", ir.OAPPEND},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top