protected void fetchEntry()

in src/main/org/apache/ant/compress/resources/ZipResource.java [170:183]


    protected void fetchEntry() {
        File f = getZipfile();
        if (f == null) {
            super.fetchEntry();
            return;
        }

        try (ZipFile z = new ZipFile(getZipfile(), getEncoding())) {
            setEntry(z.getEntry(getName()));
        } catch (IOException e) {
            log(e.getMessage(), Project.MSG_DEBUG);
            throw new BuildException(e);
        }
    }