- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for getClasspathForClass (0.41 sec)
-
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/AutoTestedSamplesToolingApiTest.groovy
fileManager.setLocation(location, [temp.testDirectory]); location = ("javax.tools.StandardLocation" as Class).CLASS_PATH fileManager.setLocation(location, [ClasspathUtil.getClasspathForClass(Element)]); def checkDiagnostic = { diagnostic -> if (diagnostic.kind.name() == 'ERROR') { String[] lines = source.split("\n") int lineNo = diagnostic.lineNumber - 1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/testFixtures/groovy/org/gradle/tooling/internal/provider/AbstractClassGraphSpec.groovy
/** * Returns the classpath for the given classes. */ List<File> originalClassPath(Class<?>... classes) { return classes.collect { ClasspathUtil.getClasspathForClass(it) } } /** * Makes a copy of the given classes and returns the classpath for these copies. Each class is added to its own classpath root. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 00:13:09 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClasspathInferer.java
try { if (resource == null) { LOGGER.warn("Could not determine classpath for {}", target); return; } File classPathRoot = ClasspathUtil.getClasspathForClass(target); dest.add(classPathRoot.toURI()); // To determine the dependencies of the class, load up the byte code and look for CONSTANT_Class entries in the constant pool
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:53:31 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/DefaultGradleRunner.java
} String messagePrefix = "Could not find a Gradle installation to use based on the location of the GradleRunner class"; try { File classpathForClass = ClasspathUtil.getClasspathForClass(GradleRunner.class); messagePrefix += ": " + classpathForClass.getAbsolutePath(); } catch (Exception ignore) { // ignore }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 20 10:14:55 UTC 2024 - 15.5K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 37.8K bytes - Viewed (0)