It's not clear to me that I can use our resources API for packing files and extracting them. I want to write a Ceylon API plugin which lets me do scaffolding, so I'd like to pack some template projects in my .car and extract some of them at runtime to a folder on the user's machine. Since we pack resources in the .car, we can only get its URL (which I assume is a JVM-specific URL with jar://....car!/contents-within-car/... which I can't use from the Ceylon SDK) or a text contents (which does not work with binary), so I don't quite see how I can use resources for that.
Am I missing anything or are we missing something? Ideally I'd be able to get a FileSystem view of my resources using ceylon.file, no? Then I could use
ceylon.io to read the files and stuff.
--
Stéphane Épardaud