public void collect ( Path file ) throws IOException { Path targetPath = tempDir . resolve ( projectRoot . relativize ( file ) ) ; Files . createDirectories ( targetPath . getParent ( ) ) ; Files . copy ( file , targetPath ) ; }
Add the given file to the data archive