When attempting to import a MDG project from a drive that is different from the Gradle home directory, the import process fails with an error. This issue has been verified on a fresh machine, where importing the project from D:\ results in a crash, while moving the project to C:\ (where Gradle home is by default) allows successful import. The issue occurs consistently for both myself and @robotgryphon.
Error log
```
> Task :createMinecraftArtifacts
Loaded 110 artifacts from D:\ModDevTesting\build\neoform_artifact_manifest.properties
*** Started working on downloadJson
✓ Completed downloadJson in 0.03s
*** Started working on downloadClient
*** Started working on downloadClientMappings
*** Started working on downloadServer
↓ https://piston-data.mojang.com/v1/objects/05b6f1c6b46a29d6ea82b4e0d42190e42402030f/client.jar
↓ https://piston-data.mojang.com/v1/objects/de46c8f33d7826eb83e8ef0e9f80dc1f08cb9498/client.txt
↓ https://piston-data.mojang.com/v1/objects/145ff0858209bcfc164859ba735d4199aafa1eea/server.jar
*** Started working on listLibraries
✓ Completed listLibraries in 0.02s
✓ Completed downloadClientMappings in 1.06s
*** Started working on mergeMappings
↓ https://maven.neoforged.net/releases/net/neoforged/installertools/installertools/2.1.2/installertools-2.1.2-fatjar.jar
✓ Completed downloadClient in 1.33s
*** Started working on stripClient
✓ Completed downloadServer in 2.00s
*** Started working on extractServer
✓ Completed stripClient in 2.08s
Total runtime: 3.89s
net.neoforged.neoform.runtime.graph.NodeExecutionException: Node action for mergeMappings failed
at net.neoforged.neoform.runtime.engine.NeoFormEngine.runNode(NeoFormEngine.java:595)
at net.neoforged.neoform.runtime.engine.NeoFormEngine.lambda$getWaitCondition$3(NeoFormEngine.java:401)
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
at java.base/java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run(ThreadPerTaskExecutor.java:314)
at java.base/java.lang.VirtualThread.run(VirtualThread.java:309)
Caused by: java.lang.IllegalArgumentException: 'other' has different root
at java.base/sun.nio.fs.WindowsPath.relativize(WindowsPath.java:420)
at java.base/sun.nio.fs.WindowsPath.relativize(WindowsPath.java:42)
at net.neoforged.neoform.runtime.engine.NeoFormEngine$1.representPath(NeoFormEngine.java:548)
at net.neoforged.neoform.runtime.engine.NeoFormEngine$1.getVariableValue(NeoFormEngine.java:488)
at net.neoforged.neoform.runtime.engine.NeoFormEngine$1.interpolateString(NeoFormEngine.java:461)
at net.neoforged.neoform.runtime.actions.ExternalJavaToolAction.run(ExternalJavaToolAction.java:77)
at net.neoforged.neoform.runtime.engine.NeoFormEngine.runNode(NeoFormEngine.java:444)
... 4 more
> Task :createMinecraftArtifacts FAILED
Caused by: java.lang.IllegalArgumentException: 'other' has different root
Execution failed for task ':createMinecraftArtifacts'.
> Process 'command 'C:\Users\Apex\.jdks\corretto-21.0.3\bin\java.exe'' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1m 40s
3 actionable tasks: 3 executed
```
When attempting to import a MDG project from a drive that is different from the Gradle home directory, the import process fails with an error. This issue has been verified on a fresh machine, where importing the project from D:\ results in a crash, while moving the project to C:\ (where Gradle home is by default) allows successful import. The issue occurs consistently for both myself and @robotgryphon.
Error log
``` > Task :createMinecraftArtifacts Loaded 110 artifacts from D:\ModDevTesting\build\neoform_artifact_manifest.properties *** Started working on downloadJson ✓ Completed downloadJson in 0.03s *** Started working on downloadClient *** Started working on downloadClientMappings *** Started working on downloadServer ↓ https://piston-data.mojang.com/v1/objects/05b6f1c6b46a29d6ea82b4e0d42190e42402030f/client.jar ↓ https://piston-data.mojang.com/v1/objects/de46c8f33d7826eb83e8ef0e9f80dc1f08cb9498/client.txt ↓ https://piston-data.mojang.com/v1/objects/145ff0858209bcfc164859ba735d4199aafa1eea/server.jar *** Started working on listLibraries ✓ Completed listLibraries in 0.02s ✓ Completed downloadClientMappings in 1.06s *** Started working on mergeMappings ↓ https://maven.neoforged.net/releases/net/neoforged/installertools/installertools/2.1.2/installertools-2.1.2-fatjar.jar ✓ Completed downloadClient in 1.33s *** Started working on stripClient ✓ Completed downloadServer in 2.00s *** Started working on extractServer ✓ Completed stripClient in 2.08s Total runtime: 3.89s net.neoforged.neoform.runtime.graph.NodeExecutionException: Node action for mergeMappings failed at net.neoforged.neoform.runtime.engine.NeoFormEngine.runNode(NeoFormEngine.java:595) at net.neoforged.neoform.runtime.engine.NeoFormEngine.lambda$getWaitCondition$3(NeoFormEngine.java:401) at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804) at java.base/java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run(ThreadPerTaskExecutor.java:314) at java.base/java.lang.VirtualThread.run(VirtualThread.java:309) Caused by: java.lang.IllegalArgumentException: 'other' has different root at java.base/sun.nio.fs.WindowsPath.relativize(WindowsPath.java:420) at java.base/sun.nio.fs.WindowsPath.relativize(WindowsPath.java:42) at net.neoforged.neoform.runtime.engine.NeoFormEngine$1.representPath(NeoFormEngine.java:548) at net.neoforged.neoform.runtime.engine.NeoFormEngine$1.getVariableValue(NeoFormEngine.java:488) at net.neoforged.neoform.runtime.engine.NeoFormEngine$1.interpolateString(NeoFormEngine.java:461) at net.neoforged.neoform.runtime.actions.ExternalJavaToolAction.run(ExternalJavaToolAction.java:77) at net.neoforged.neoform.runtime.engine.NeoFormEngine.runNode(NeoFormEngine.java:444) ... 4 more > Task :createMinecraftArtifacts FAILED Caused by: java.lang.IllegalArgumentException: 'other' has different root Execution failed for task ':createMinecraftArtifacts'. > Process 'command 'C:\Users\Apex\.jdks\corretto-21.0.3\bin\java.exe'' finished with non-zero exit value 1 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. > Get more help at https://help.gradle.org. BUILD FAILED in 1m 40s 3 actionable tasks: 3 executed ```