First we need to figure out how XD Admin/Container is configured. Zip is now build during the gradle build to have the xdapp.zip. We need all those config files because stuff under "xd.home" is mandatory for references in xd xml to work.

All this depends on how XD will work in the future. It'd be nice if XD would be free of static files on file system, i.e. it could load everything from a classpath or something similar.