- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 254 for javahome (0.13 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/execution/commandline/CommandLineIntegrationTest.groovy
when: String javaHome = Jvm.current().javaHome String expectedJavaHome = "-PexpectedJavaHome=${javaHome}" then: // Handle JAVA_HOME specified executer.withJavaHome(javaHome).withArguments(expectedJavaHome).withTasks('checkJavaHome').run() // Handle JAVA_HOME with trailing separator
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:22 UTC 2024 - 12K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/m9/M9JavaConfigurabilityCrossVersionSpec.groovy
when: def env = withConnection { it.newBuild().setJavaHome(javaHome).run() //the assert it.model(BuildEnvironment.class) .setJavaHome(javaHome) .get() } then: env != null env.java.javaHome == javaHome env.java.javaHome != currentJavaHome }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/SpecificInstallationToolchainSpec.java
Key key = (Key) o; return Objects.equals(javaHome, key.javaHome); } @Override public int hashCode() { return Objects.hash(javaHome); } } private final File javaHome; @Inject public SpecificInstallationToolchainSpec(File javaHome) { super(); this.javaHome = javaHome; // disallow changing property values
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 18:07:00 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/context/DaemonCompatibilitySpecSpec.groovy
def "contexts with symlinked javaHome are compatible"() { def linkToJdk = tmp.testDirectory.file("link") linkToJdk.createLink(javaHome) assert javaHome != linkToJdk assert linkToJdk.exists() assert javaHome.canonicalFile == linkToJdk.canonicalFile clientWants(Jvm.forHome(javaHome)) candidate.javaHome >> linkToJdk candidate.daemonOpts >> []
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 8.1K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/SingleUseDaemonIntegrationTest.groovy
def javaHome = AvailableJavaHomes.differentJdk.javaHome file('gradle.properties').writeProperties("org.gradle.java.home": javaHome.canonicalPath) file('build.gradle') << "println 'javaHome=' + org.gradle.internal.jvm.Jvm.current().javaHome.absolutePath" when: executer.withJavaHome(javaHome) succeeds() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 25 13:41:21 UTC 2024 - 7K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileJavaVersionIntegrationTest.groovy
when: executer.withJavaHome highestLTS.javaHome succeeds "compileJava" then: executedAndNotSkipped ":compileJava" when: executer.withJavaHome lowestLTS.javaHome succeeds "compileJava" then: skipped ":compileJava" when: executer.withJavaHome lowestLTS.javaHome buildFile.text = forkedJavaCompilation(highestLTS)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/ConsumerOperationParameters.java
} private static void validateJavaHome(File javaHome) { if (javaHome == null) { return; } if (!javaHome.isDirectory()) { throw new IllegalArgumentException("Supplied javaHome is not a valid folder. You supplied: " + javaHome); } } public String getEntryPointName() { return entryPointName;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 19 19:46:37 UTC 2023 - 16.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiClientJdkCompatibilityTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 10:21:26 UTC 2024 - 12.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DefaultJavaCompileSpecFactory.java
private final File javaHome; private final int javaLanguageVersion; private DefaultForkingJavaCompileSpec(File javaHome, int javaLanguageVersion) { this.javaHome = javaHome; this.javaLanguageVersion = javaLanguageVersion; } @Override public File getJavaHome() { return javaHome; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/main/java/org/gradle/internal/jvm/inspection/DefaultJvmMetadataDetector.java
File javaHome = javaInstallationLocation.getLocation(); if (javaHome == null || !javaHome.exists()) { return failure(javaHome, "No such directory: " + javaHome); } if (Jvm.current().getJavaHome().equals(javaHome)) { return getMetadataFromCurrentJvm(javaHome); } return getMetadataFromInstallation(javaHome); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 02:32:22 UTC 2024 - 7.5K bytes - Viewed (0)