Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 76 for absPath (0.19 sec)

  1. internal/mountinfo/mountinfo_linux_test.go

    	if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil {
    		t.Fatal(err)
    	}
    	// Failure case where we detected successfully cross device mounts.
    	{
    		absPaths := []string{"/path/to/1"}
    		if err = checkCrossDevice(absPaths, mountsPath); err == nil {
    			t.Fatal("Expected to fail, but found success")
    		}
    
    		mp := []mountInfo{
    			{"/dev/2", "/path/to/1/2", "type2", []string{"flags"}, "2", "2"},
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/groovy/build.gradle

    // tag::use-classpath[]
    tasks.register('check') {
        doLast {
            ant.taskdef(name: 'pmd',
                        classname: 'net.sourceforge.pmd.ant.PMDTask',
                        classpath: configurations.pmd.asPath)
            ant.pmd(shortFilenames: 'true',
                    failonruleviolation: 'true',
                    rulesetfiles: file('pmd-rules.xml').toURI().toString()) {
                formatter(type: 'text', toConsole: 'true')
    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/dependencyManagement/definingUsingConfigurations-custom/kotlin/build.gradle.kts

    repositories {
        mavenCentral()
    }
    
    dependencies {
        jasper("org.apache.tomcat.embed:tomcat-embed-jasper:9.0.2")
    }
    
    tasks.register("preCompileJsps") {
        val jasperClasspath = jasper.asPath
        val projectLayout = layout
        doLast {
            ant.withGroovyBuilder {
                "taskdef"("classname" to "org.apache.jasper.JspC",
                          "name" to "jasper",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 791 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/dependencyManagement/definingUsingConfigurations-custom/groovy/build.gradle

    }
    
    repositories {
        mavenCentral()
    }
    
    dependencies {
        jasper 'org.apache.tomcat.embed:tomcat-embed-jasper:9.0.2'
    }
    
    tasks.register('preCompileJsps') {
        def jasperClasspath = configurations.jasper.asPath
        def projectLayout = layout
        doLast {
            ant.taskdef(classname: 'org.apache.jasper.JspC',
                        name: 'jasper',
                        classpath: jasperClasspath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 719 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/ant/useExternalAntTaskWithConfig/kotlin/build.gradle.kts

    tasks.register("check") {
        doLast {
            ant.withGroovyBuilder {
                "taskdef"("name" to "pmd",
                          "classname" to "net.sourceforge.pmd.ant.PMDTask",
                          "classpath" to pmd.asPath)
                "pmd"("shortFilenames" to true,
                      "failonruleviolation" to true,
                      "rulesetfiles" to file("pmd-rules.xml").toURI().toString()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 800 bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy

        }
    
        String defaultEmptySourcePathRefFolder() {
            new File(spec.tempDir, JavaCompilerArgumentsBuilder.EMPTY_SOURCE_PATH_REF_DIR).absolutePath
        }
    
        String asPath(File... files) {
            TestFiles.fixed(files).asPath
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:36 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCppSharedLibraryLinkageProjectIntegrationTest.groovy

        CppSourceElement getComponentUnderTest() {
            return new CppLib()
        }
    
        @Override
        String getBuildFile(VariantContext variantContext) {
            return sharedLibraryName("build/lib/main/${variantContext.asPath}${stripped(variantContext.asVariantName)}${rootProjectName}")
        }
    
        @Override
        String getIdeBuildTaskName(String variant) {
            return "link${variant.capitalize()}"
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCppApplicationProjectIntegrationTest.groovy

        CppSourceElement getComponentUnderTest() {
            return new CppApp()
        }
    
        @Override
        String getBuildFile(VariantContext variantContext) {
            return executableName("build/install/main/${variantContext.asPath}lib/${rootProjectName}")
        }
    
        @Override
        String getIdeBuildTaskName(String variant) {
            return "install${variant.capitalize()}"
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioCppStaticLibraryLinkageProjectIntegrationTest.groovy

        @Override
        String getBuildFile(VariantContext variantContext) {
            return staticLibraryName("build/lib/main/${variantContext.asPath}${rootProjectName}")
        }
    
        @Override
        void makeSingleProject() {
            buildFile << """
                apply plugin: "cpp-library"
                library.linkage = [Linkage.STATIC]
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/files/fileCollections/groovy/build.gradle

            }
    
            // Convert the collection to various types
            Set set = collection.files
            Set set2 = collection as Set
            List list = collection as List
            String path = collection.asPath
            File file = collection.singleFile
    
            // Add and subtract collections
            def union = collection + projectLayout.files('src/file2.txt')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 13:55:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top