Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for findResource (0.21 sec)

  1. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/ForkedTestClasspathFactory.java

                // avoid parsing the entire class file and any referenced classes.
                String path = className.replace('.', '/').concat(".class");
                return classLoader.findResource(path) != null;
            }
    
            @Override
            public void close() throws IOException {
                classLoader.close();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

            // running native executables. This archive was created by creating some files
            // in a temporary directory and running the following command:
            // tar --format=v7 -cf v7.tar <contents>
            resources.findResource("v7.tar").copyTo(file("v7.tar"))
    
            buildFile << """
                task copy(type: Copy) {
                    from tarTree('v7.tar')
                    into 'dest'
                }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy

            // See https://bugs.openjdk.java.net/browse/JDK-7062777?focusedCommentId=12254124&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12254124.
            resources.findResource('broken-utf8.is-a-jar').copyTo(file('broken-utf8.jar'))
            file('src/main/java/Hello.java') << 'public class Hello {}'
            executer.withStackTraceChecksDisabled()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 39.6K bytes
    - Viewed (0)
Back to top