Hi people,
so, i have a jar file and in this jar there is another config.js file, and in this file i want to write. I have a Resource class of this file (org.springframework.core.io.Resource), so i can get a full URL or getFile() from this Resource. URL look's like this:
jar:file:/Users/admin/.m2/repository/code/1.1-SNAPSHOT/code-1.1-SNAPSHOT.jar!/META-INF/config.js
The porblem is, if i try to getFile() from Resource i get an Exception : cannot be resolved to absolute file path because it does not reside in the file system. So how can i write to this file in jar?:)