Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for sourcePath (0.22 sec)

  1. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilder.java

            Collection<File> sourcepath = compileOptions.getSourcepath();
            boolean emptySourcePath = sourcepath == null || sourcepath.isEmpty();
    
            if (compilerArgs.contains("--module-source-path")) {
                if (!emptySourcePath) {
                    LOGGER.warn("You specified both --module-source-path and a sourcepath. These options are mutually exclusive. Ignoring sourcepath.");
                }
                return;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:08 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy

            expect:
            builder.build() == defaultOptions
        }
    
        def "generates -sourcepath option"() {
            def file1 = new File("/lib/lib1.jar")
            def file2 = new File("/lib/lib2.jar")
            def fc = [file1, file2]
            spec.compileOptions.sourcepath = fc
            def expected = ["-g", "-sourcepath", GUtil.asPath(fc), "-proc:none", USE_UNSHARED_COMPILER_TABLE_OPTION, "-classpath", ""]
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:36 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy

                    }
                }
            """
    
            expect:
            succeeds "compileJava"
        }
    
        def "handles -sourcepath being specified"() {
            goodCode()
            buildFile << """
                tasks.withType(JavaCompile) {
                    options.sourcepath = project.layout.files()
                }
            """
    
            expect:
            succeeds "compileJava"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

        }
    
        def "ignores empty directories within the file collection of the sourcepath compiler option"() {
            given:
            def sourcePath = 'src/main/ignoredJava'
            buildFile << """
                plugins { id 'java' }
                compileJava.options.sourcepath = files('$sourcePath')
            """
    
            file("${sourcePath}/org/gradle/test/MyOptionalTest.java").text = """
                package org.gradle.test;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/report/source.go

    	if len(functionNodes) == 0 {
    		return fmt.Errorf("no matches found for regexp: %s", o.Symbol)
    	}
    
    	sourcePath := o.SourcePath
    	if sourcePath == "" {
    		wd, err := os.Getwd()
    		if err != nil {
    			return fmt.Errorf("could not stat current dir: %v", err)
    		}
    		sourcePath = wd
    	}
    	reader := newSourceReader(sourcePath, o.TrimPath)
    
    	fmt.Fprintf(w, "Total: %s\n", rpt.formatValue(rpt.total))
    	for _, fn := range functions {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiKotlinDslIntegrationTest.groovy

            assert expected instanceof KotlinDslScriptModel
            assert actual instanceof KotlinDslScriptModel
    
            checkModel(actual, expected, [
                { it.classPath },
                { it.sourcePath },
                { it.implicitImports },
                // TODO:isolated support editor reports
    //            [{ it.editorReports }, { a, e -> checkEditorReport(a, e) }],
                { it.exceptions },
            ])
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    		NumLabelUnits: numLabelUnits,
    
    		SampleValue:       value,
    		SampleMeanDivisor: meanDiv,
    		SampleType:        stype,
    		SampleUnit:        sample.Unit,
    
    		OutputUnit: cfg.Unit,
    
    		SourcePath: cfg.SourcePath,
    		TrimPath:   cfg.TrimPath,
    
    		IntelSyntax: cfg.IntelSyntax,
    	}
    
    	if len(p.Mapping) > 0 && p.Mapping[0].File != "" {
    		ropt.Title = filepath.Base(p.Mapping[0].File)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/JdkJavaCompiler.java

            Iterator<String> optionsIter = options.iterator();
            while (optionsIter.hasNext()) {
                String current = optionsIter.next();
                if (current.equals("-sourcepath") || current.equals("--source-path")) {
                    return optionsIter.next().isEmpty();
                }
            }
            return false;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 14:50:33 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/SnapshotTaskInputsOperationIntegrationTest.groovy

                attributes == ['DIRECTORY_SENSITIVITY_DEFAULT', 'FINGERPRINTING_STRATEGY_COMPILE_CLASSPATH', 'LINE_ENDING_SENSITIVITY_DEFAULT']
            }
    
            with(aCompileJava["options.sourcepath"] as Map<String, ?>) {
                hash != null
                roots.empty
                normalization == "RELATIVE_PATH"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. android/pom.xml

                       https://issues.apache.org/jira/browse/MCOMPILER-174
    
                       (Compare what guava-gwt has to do for maven-javadoc-plugin.)
                  -->
                  <arg>-sourcepath</arg>
                  <arg>doesnotexist</arg>
                  <!-- https://errorprone.info/docs/installation#maven -->
                  <arg>-XDcompilePolicy=simple</arg>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 03 20:33:34 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top