Skip to content

Commit 342ca9a

Browse files
committed
improved waring message if pythonHome is used in gradle and maven plugin
1 parent 9b1ac12 commit 342ca9a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

graalpython/graalpy-maven-plugin/src/main/java/org/graalvm/python/maven/plugin/ManageResourcesMojo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ public void execute() throws MojoExecutionException {
117117
if(pythonHome != null) {
118118
getLog().warn("The GraalPy plugin <pythonHome> configuration setting was deprecated and has no effect anymore.\n" +
119119
"For execution in jvm mode, the python language home is always available.\n" +
120-
"When building a native executable using GraalVM, then the full python language home is by default embedded into the native executable.\n" +
121-
"For more details, please refer to native image options IncludeLanguageResources and CopyLanguageResources documentation.");
120+
"When building a native executable using GraalVM Native Image, then the full python language home is by default embedded into the native executable.\n" +
121+
"For more details, please refer to the documentation of GraalVM Native Image options IncludeLanguageResources and CopyLanguageResources documentation.");
122122
}
123123

124124
manageVenv();

graalpython/org.graalvm.python.gradle.plugin/src/main/java/org/graalvm/python/GraalPyGradlePlugin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ private TaskProvider<ResourcesTask> registerResourcesTask(Project project, Confi
162162
if(userPythonHome()) {
163163
t.getLogger().warn("The GraalPy plugin pythonHome configuration setting was deprecated and has no effect anymore.\n" +
164164
"For execution in jvm mode, the python language home is always available.\n" +
165-
"When building a native executable using GraalVM, then the full python language home is by default embedded into the native executable.\n" +
166-
"For more details, please refer to native image options IncludeLanguageResources and CopyLanguageResources documentation.");
165+
"When building a native executable using GraalVM Native Image, then the full python language home is by default embedded into the native executable.\n" +
166+
"For more details, please refer to the documentation of GraalVM Native Image options IncludeLanguageResources and CopyLanguageResources documentation.");
167167
}
168168
t.getPackages().set(extension.getPackages());
169169

0 commit comments

Comments
 (0)