Version: 2.4.0 (using KDE 3.3.0, (3.1)) Compiler: gcc version 3.3.4 (Debian 1:3.3.4-12) OS: Linux (i686) release 2.6.8-1-686-smp Ark does not recognize the .war (webArchive) and .ear (Enterprise Archive) file format for java. Those files are actually renamed .jar files which are actually .zip files (with some specific files in it, but you don't care as long as all you want is extraction of content). I saw in bug list a wish to recognize webArchives (.war) as .tar.gz and marked as done. Please keep in mind most .war you may download from the net are java web archive (zip), not konqueror made copy of a web site. War and Ear are java entreprise application server files. May be naming those konqueror files Web archives will lead to confusion in future. Thanks for consideration
Additional note, the 'erroneous' Bug report on .war file format Bug 79023.
EAR support may be added. For WAR support, you'll first have to convince someone else of changing Konqueror's Web Archive MIME-type (or maybe it is possible to have a workaround, I might try).
You can simply check the magic at begin of zip file to chose between konqueror Web-Archive and java webarchive. Sent a bug to konqueror bug track about the .war too (see Bug 90791). Btw, i didn't know ark was using the konqueror mime-types when doing a file-open...
Maybe you could make how a .war file is viewed configurable (in a file or in the options menu). I got Konqueror to open them with Ark, But its really annoying to have to choose which type of archive I want to view it as. Jar files are handled so nicely it makes my life so much easier, if only war files could work as well. thanks you guys for the great work!
re: comment #1 Being the reporter of bug 79023, I take some exception to the notion that it is "erroneous". It is nothing of the sort. Konqueror has the ability to create archives of a webpage. FACT. They are given the mime-type application/x-webarchive. FACT. The mime type application/x-webarchive is a renamed .tar.gz. FACT. The extension to application/x-webarchive was assigned as .war. FACT. Nothing erroneous about my report. Given that there is another .war out there, it may be reasonable to give it another extension, though bug 44431 doesn't seem to be going anywhere in that regard As it stands right now, the association of x-webarchive as a tar.gz has been dropped from Ark, and, to make matters worse, Konqueror doesn't even display them now, yet it can still create them. Sigh.
Bug #79023 (http://bugs.kde.org/show_bug.cgi?id=79023) seems to be a duplicate of this.
Thanks for pointing out, Thomas. *** This bug has been marked as a duplicate of 79023 ***