You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m not sure I understand everything correctly, but it seems to me that overrideFile should not have been deprecated, because the newer overrideUrl property cannot be used to reproduce the previous behavior.
overrideUrl only allows URLs, which are absolute, thus AFAIK cannot be used to point to a file inside the repository. (I guess on Linux it might be possible, using stuff like ${project.source.directory} to assemble a file: URL, but on Windows that will return some C:\path\with\drive\letter, which can’t do the same thing.
Using overrideFile, you can just put the override file anywhere inside the repository. With overrideUrl, you need to pick one of:
put the file on a web server, which requires a server and means no build is possible without a network connection
use some hard-coded file: URL, which means you can’t just get the repo and build, you need to place the in a particular path
Activity
slawekjaranowski commentedon Jun 29, 2023
similar to ##411
maxl2287 commentedon Apr 30, 2024
Any solution on that?
Remove the deprecation of the overrideFile parameter