Skip to content

Add support for symlinks in PlexusIoZipFileResourceCollection #14

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

Merged
merged 1 commit into from
Dec 13, 2015
Merged

Add support for symlinks in PlexusIoZipFileResourceCollection #14

merged 1 commit into from
Dec 13, 2015

Conversation

plamentotev
Copy link
Member

Looks like I forgot to add fix for PlexusIoZipFileResourceCollection in #11. It looks like one cannot update pull request once it's merged so I'm making new one.

{
private ZipFileResource( ZipArchiveEntry entry )
{
super( entry.getName(), entry.getTime() == 1 ? PlexusIoResource.UNKNOWN_MODIFICATION_DATE : entry.getTime(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didnt you change the condition here ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed I have. I should be entry.getTime() == -1 I'll fix it

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it should be correct 😄

krosenvold added a commit that referenced this pull request Dec 13, 2015
Add support for symlinks in PlexusIoZipFileResourceCollection
@krosenvold krosenvold merged commit e6b0c3a into codehaus-plexus:master Dec 13, 2015
@krosenvold
Copy link
Member

krosenvold commented Dec 13, 2015

The duplication of this class is unfortunate, what's worse is that they have somewhat different logic. One of them used to be in plexus-io. Ubderstanding the difference between these two is a bit of detective work. I believe there is an IT IN maven-assembly-plugin that fails when one of these is simly merged into the other...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants