[GitHub] [groovy] eric-milles commented on issue #597: GROOVY-8305: Fix default Ivy settings file for local m2 path

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [groovy] eric-milles commented on issue #597: GROOVY-8305: Fix default Ivy settings file for local m2 path

GitBox
eric-milles commented on issue #597: GROOVY-8305: Fix default Ivy settings file for local m2 path
URL: https://github.com/apache/groovy/pull/597#issuecomment-551054369
 
 
   When I have used a filesystem-based ibiblio in the past on Windows, the format looked like
   ```
   <ibiblio name="Local" m2compatible="true" root="file:///C:/Users/..."
   ```
   As stated above, `${user.home}` is going to resolve to "C:\..." on Windows and "/home/..." on Linux.  So, I don't think you can unconditionally set a file url prefix that will work for both.  Is there a variable that can be used to get a file: url for the user's directory?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services