You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by GitBox <gi...@apache.org> on 2019/11/07 12:12:21 UTC

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

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:
users@infra.apache.org


With regards,
Apache Git Services