Login  Register

Re: Virtual File System ?

Posted by julien on Jul 25, 2013; 10:32am
URL: https://discuss.asciidoctor.org/Virtual-File-System-tp387p392.html

Replying to myself since I can't reply to both Dan and Alex at the same time :-)

Now, the IDE plugin would have to locate all relevant adoc files and copy them to a temp directory before doing a render. It can be resource consuming for the IDE and also could raise other issues.

With a basic resource resolution (like "Reader resolveResource(String uri)" ), Asciidoc can decouple the identifier of a resource from the actual content of this resource allowing an IDE plugin to delegate to the IDE filesystem. (note that would also ease integration in content management system, ServletContext#getResourceAsStream(), etc...).