Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 398 for sysdir (0.1 sec)

  1. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/groovy/environment/JreJavaHomeGroovyIntegrationTest.groovy

        }
    
        private writeJavaTestSource(String srcDir, String clazzName = "JavaClazz") {
            file(srcDir, "org/test/${clazzName}.java") << """
                package org.test;
                public class ${clazzName} {
                    public static void main(String... args){
    
                    }
                }
                """
        }
    
        private writeGroovyTestSource(String srcDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modfetch/codehost/git_test.go

    			},
    		},
    
    		{
    			repo:   gitrepo1,
    			rev:    "aaaaaaaaab",
    			subdir: "",
    			err:    "unknown revision",
    		},
    		{
    			repo:   hgrepo1,
    			rev:    "aaaaaaaaab",
    			subdir: "",
    			err:    "unknown revision",
    		},
    
    		{
    			repo:   vgotest1,
    			rev:    "submod/v1.0.4",
    			subdir: "submod",
    			files: map[string]uint64{
    				"prefix/":                0,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_gobuild_import.txt

    	"path/filepath"
    	"strings"
    )
    
    func main() {
    	// build.Import should support relative and absolute source dir paths.
    	path := os.Args[1]
    	srcDir := os.Args[2]
    	p1, err := build.Import(path, srcDir, 0)
    	if err != nil {
    		log.Fatal(err)
    	}
    	absSrcDir, err := filepath.Abs(srcDir)
    	if err != nil {
    		log.Fatal(err)
    	}
    	p2, err := build.Import(path, absSrcDir, 0)
    	if err != nil {
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:18:16 UTC 2022
    - 3K bytes
    - Viewed (0)
  4. src/go/build/build_test.go

    			t.Logf("%q expands to %q with SRCDIR=%q", test.input, output, expandSrcDirPath)
    		}
    	}
    }
    
    func TestShellSafety(t *testing.T) {
    	tests := []struct {
    		input, srcdir, expected string
    		result                  bool
    	}{
    		{"-I${SRCDIR}/../include", "/projects/src/issue 11868", "-I/projects/src/issue 11868/../include", true},
    		{"-I${SRCDIR}", "~wtf$@%^", "-I~wtf$@%^", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/customModel/languageType/tests/softwareModelExtend-components.out

    ------------------------------------------------------------
    
    DocumentationComponent 'docs'
    -----------------------------
    
    Source sets
        Markdown source 'docs:userguide'
            srcDir: src/docs/userguide
        Text source 'docs:reference'
            srcDir: src/docs/reference
    
    Binaries
        DocumentationBinary 'docs:exploded'
            build using task: :docsExploded
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 559 bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/file/DefaultSourceDirectorySet.java

                } else {
                    for (File srcDir : fileCollectionFactory.resolving(path)) {
                        if (!srcDir.isDirectory() && srcDir.exists()) {
                            throw new InvalidUserDataException(String.format("Source directory '%s' is not a directory.", srcDir));
                        }
                        result.add(directoryFileTreeFactory.create(srcDir, patterns));
                    }
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Oct 29 02:23:21 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/PlatformNativeComponentReportIntegrationTest.groovy

            outputMatches """
    Native library 'someLib'
    ------------------------
    
    Source sets
        Assembler source 'someLib:asm'
            srcDir: src/someLib/asm
        C source 'someLib:c'
            srcDir: src/someLib/c
        C++ source 'someLib:cpp'
            srcDir: src/someLib/cpp
    
    Binaries
        Shared library 'someLib:amd64:free:sharedLibrary'
            build using task: :someLibAmd64FreeSharedLibrary
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/java/customizedLayout/groovy/build.gradle

            }
            resources {
                srcDirs = ['src/resources']
            }
        }
    // end::define-main[]
        test {
            java {
                srcDir 'test/java'
            }
            resources {
                srcDir 'test/resources'
            }
        }
    // tag::define-main[]
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 513 bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m5/ToolingApiHonorsProjectCustomizationsCrossVersionSpec.groovy

            file('build.gradle').text = '''
    apply plugin: 'java'
    apply plugin: 'eclipse'
    
    sourceSets {
        main {
            java { srcDir 'src' }
            resources { srcDir 'src' }
        }
    
        test {
            java { srcDir 'test' }
            resources { srcDir 'testResources' }
        }
    }
    '''
            //if we don't create the folders eclipse plugin will not build the classpath
            projectDir.create {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/cache/internal/scopes/DefaultCacheScopeMapping.java

            }
        }
    
        private File getCacheDir(File rootDir, VersionStrategy versionStrategy, String subDir) {
            switch (versionStrategy) {
                case CachePerVersion:
                    return new File(rootDir, version.getVersion() + "/" + subDir);
                case SharedCache:
                    return new File(rootDir, subDir);
                default:
                    throw new IllegalArgumentException();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:30:42 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top