Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Archive.createArchive(File) method #657

Merged
merged 1 commit into from
Oct 4, 2016
Merged

Conversation

tofi86
Copy link
Collaborator

@tofi86 tofi86 commented Dec 5, 2015

When using EpubCheck in projects I often use the Archive class to zip up an extracted epub folder.
However, until now, there has been no possibility to specify the output path for the Archive.createArchive() method.
This sometimes results in overridden epub files when you extract an existing epub file in the same folder and then check the extracted folder with EpubCheck. Not good.

With this PR I add a new overloaded method createArchive(File absoluteEpubFilePath) to change the output destination for the ZIP file.

This affects no existing functionality so I'm sure, we can merge this for the next release, right @rdeltour ?

@tofi86 tofi86 added the type: improvement The issue suggests an improvement of an existing feature label Dec 5, 2015
@tofi86 tofi86 added this to the Next milestone Oct 4, 2016
@tofi86 tofi86 self-assigned this Oct 4, 2016
@tofi86 tofi86 merged commit c4cc534 into master Oct 4, 2016
@tofi86 tofi86 deleted the createArchive-method branch October 4, 2016 13:30
@tofi86 tofi86 modified the milestones: Next, 4.0.2 Dec 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement The issue suggests an improvement of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant