Ticket #3842 (closed defect: duplicate)
mc cannot vfs-open some jars from maven
Reported by: | marcolinux | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | mc-vfs | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
--------- ticket report - mc cannot vfs-open some jars from maven - Ticket 2735 did not solve it: https://midnight-commander.org/ticket/2735 ---- What steps will reproduce the problem? $ wget central.maven.org/maven2/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar $ unzip -l jsr250-api-1.0.jar Archive: jsr250-api-1.0.jar Length Date Time Name --------- ---------- ----- ---- 0 2006-04-27 10:31 META-INF/ 106 2006-04-27 10:31 META-INF/MANIFEST.MF 0 2006-04-27 10:31 javax/ 0 2006-04-27 10:31 javax/annotation/ 0 2006-04-27 10:31 javax/annotation/security/ 678 2006-04-27 10:31 javax/annotation/Generated.class 436 2006-04-27 10:31 javax/annotation/PostConstruct.class 430 2006-04-27 10:31 javax/annotation/PreDestroy.class 1179 2006-04-27 10:31 javax/annotation/Resource$AuthenticationType.class 903 2006-04-27 10:31 javax/annotation/Resource.class 467 2006-04-27 10:31 javax/annotation/Resources.class 473 2006-04-27 10:31 javax/annotation/security/DeclareRoles.class 433 2006-04-27 10:31 javax/annotation/security/DenyAll.class 449 2006-04-27 10:31 javax/annotation/security/PermitAll.class 487 2006-04-27 10:31 javax/annotation/security/RolesAllowed.class 458 2006-04-27 10:31 javax/annotation/security/RunAs.class --------- ------- 6499 16 files $ mc Press "Enter" on file jsr250-api-1.0.jar ---- What is the expected output? VFS panel (contents of jar as folder). ---- What do you see instead? Nothing happens ---- OBS As commented in ticket 2735, this is probably due to broken Maven Archive plugin, but it is unlikely they will fix all those "broken" jars, since they work ok with java and some jars can be even signed (redhat/jboss I think). And mc is a -very handy- tool for working with those jars :-). That's why I'm making this ticket. ---- system $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=16.04 DISTRIB_CODENAME=xenial DISTRIB_DESCRIPTION="Ubuntu 16.04.2 LTS" $ uname -a Linux samsara 4.4.0-83-generic #106-Ubuntu SMP Mon Jun 26 17:54:43 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux ---- install mc (from git, but the bug is present with default ubuntu mc4.8.15 package too) $ date -I 2017-07-21 $ git clone --depth=1 https://github.com/MidnightCommander/mc.git $ cd mc $ ./autogen.sh && ./configure.sh && make && make install $ ---- output of mc -V $ LC_MESSAGES=C /usr/local/bin/mc -V GNU Midnight Commander eab2556 Built with GLib 2.48.2 Using the S-Lang library with terminfo database With builtin Editor With subshell support as default With support for background operations With mouse support on xterm With support for X11 events With internationalization support With multiple codepages support Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64; $ LC_MESSAGES=C /usr/local/bin/mc -F Home directory: /home/marco Profile root directory: /home/marco [System data] Config directory: /usr/local/etc/mc/ Data directory: /usr/local/share/mc/ File extension handlers: /usr/local/libexec/mc/ext.d/ VFS plugins and scripts: /usr/local/libexec/mc/ extfs.d: /usr/local/libexec/mc/extfs.d/ fish: /usr/local/libexec/mc/fish/ [User data] Config directory: /home/marco/.config/mc/ Data directory: /home/marco/.local/share/mc/ skins: /home/marco/.local/share/mc/skins/ extfs.d: /home/marco/.local/share/mc/extfs.d/ fish: /home/marco/.local/share/mc/fish/ mcedit macros: /home/marco/.local/share/mc/mc.macros mcedit external macros: /home/marco/.local/share/mc/mcedit/macros.d/macro.* Cache directory: /home/marco/.cache/mc/ $ /usr/local/bin/mc --configure-options (nothing, empty) $ ------------ticket END
Change History
Note: See
TracTickets for help on using
tickets.
Closed as duplicate of #2735.
What reason for this new ticket if #2735 is open?