matthiasblaesing commented on issue #8535: URL: https://github.com/apache/netbeans/issues/8535#issuecomment-2924786886
Ok, looked into the processor of Jstachio and there I find: https://github.com/jstachio/jstachio/blob/6b19a1a8cf36003513031230fe78404e1a46d50d/compiler/apt/src/main/java/io/jstach/apt/TextFileObject.java#L94-L102 And indeed. When run by the NB infrastructure and break in line 100, I check the two options: - `env.getFiler().getResource(StandardLocation.CLASS_OUTPUT, "", name).toUri().toString()` yields `file:NBINDEXDIR/s136/java/15/classes/jstachio/mustache/user.mustache` - `env.getFiler().getResource(StandardLocation.SOURCE_PATH, "", name).toUri().toString()` yields `file:/home/matthias/Downloads/jstach/src/main/resources/jstachio/mustache/user.mustache` The first variant is used in the code, the second is documented in the code as the "right" variant and indeed the second does the right thing. Easiest solution: Convince JStachio developers to check both options and use the most sensible one. -- 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. To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org For additional commands, e-mail: notifications-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists