You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Ernie Rael (Jira)" <ji...@apache.org> on 2020/12/30 18:24:00 UTC

[jira] [Created] (NETBEANS-5197) NetBeans GRADLE_USER_HOME not respected creating daemon

Ernie Rael created NETBEANS-5197:
------------------------------------

             Summary: NetBeans GRADLE_USER_HOME not respected creating daemon
                 Key: NETBEANS-5197
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5197
             Project: NetBeans
          Issue Type: Bug
          Components: projects - Gradle
            Reporter: Ernie Rael
            Assignee: Laszlo Kishalmi


(I'm new to gradle)

 Doing clean and build on a project I see
{noformat}
 GRADLE_USER_HOME="C:\f\err\.gradle"
 JAVA_HOME="C:\f\j\jdk\jdk1.8.0_241"
 cd C:\f\repos\swingset\glazedlists; .\gradlew.bat --configure-on-demand -x check clean build
{noformat}
 in output window. There's an exception (see below) trying to access C:\Users\err\.gradle (which I have made inaccessible as  a directory) but notice above that this is not GRADLE_USER_HOME.

I'm on window7/cygwin. I have not put GRADLE_USER_HOME into the win7 environment variable. But as seen above, NetBeans knows what it it supposed to be.

{noformat}
 SEVERE [global]
 org.gradle.api.UncheckedIOException: Cannot create parent directory 'C:\Users\err\.gradle\daemon' when creating directory 'C:\Users\err\.gradle\daemon\5.3.1' as 'C:\Users\err\.gradle' is not a directory
 at org.gradle.util.GFileUtils.mkdirs(GFileUtils.java:323)
 at org.gradle.launcher.daemon.registry.DaemonDir.<init>(DaemonDir.java:33)
 at org.gradle.launcher.daemon.registry.DaemonRegistryServices.createDaemonDir(DaemonRegistryServices.java:52)
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists