new archive combo doesn't list ear and war

Bug #294686 reported by cyrus on 2008-11-06
4
Affects Status Importance Assigned to Milestone
File Roller
Fix Released
Low
file-roller (Ubuntu)
Wishlist
Ubuntu Desktop Bugs

Bug Description

Binary package hint: file-roller

hi!

the file-roller in GNOME lost the extentions (*.ear, *.war) after an upgrade to ubuntu 8.10 form 8.04.

best regards

cyrus (cyrus-mail) wrote :

ear and war are java archive format. Did you have openjdk installed ?

cyrus (cyrus-mail) wrote :

Hi!

Thanks for answer.

I have Sun Java 5 and 6 installed.
OpenJDK wasn't install till now.

I can make my archives with 'jar cf filename.ear FilesAndFolders".

D. Mark Simms (dmsimms) wrote :

I'm having the same problem. In Ubuntu 8.04, I would be able to select a group of files, right-click and choose "Create Archive..." and from there give it a name and choose .war or .ear from the extensions drop-down. But after upgrading my distro to 8.10, now .war and .ear are not in the list of available extensions. Nothing changed in terms of my installed Java JREs/JDKs (unless the distro upgrade changed something?).

Also, if I open up file-roller from a command line, click on "New" and try to name a file something.war or whatever.ear, when I click the "Create" button it gives me this error:

Could not create the archive
Archive type not supported.

Now, to my knowledge the archive format of .war and .ear are the same as .jar (which is also in the .zip format), so I could create a .jar file and rename it, but as far as I'm concerned that's just a workaround to this issue. This was functionality that was in 8.04 and doesn't appear to be in 8.10, unless the 8.10 install modified something that can be changed back.

I ran sudo update-alternatives --config java and chose /usr/lib/jvm/java-6-sun/jre/bin/java, but that didn't seem to change anything.

D. Mark Simms (dmsimms) wrote :

I wanted to mention that file-roller is successfully able to open and extract .war and .ear files, it just doesn't seem able to create new ones.

Sebastien Bacher (seb128) wrote :

to send to bugzilla.gnome.org by somebody using those format

Changed in file-roller:
assignee: nobody → desktop-bugs
importance: Undecided → Wishlist
Changed in file-roller:
status: New → Confirmed
Pedro Villavicencio (pedro) wrote :

that's known upstream, you can track it here: http://bugzilla.gnome.org/show_bug.cgi?id=161149

Changed in file-roller (Ubuntu):
status: Confirmed → Triaged
Changed in file-roller:
importance: Undecided → Unknown
status: New → Unknown
Changed in file-roller:
status: Unknown → Confirmed
Changed in file-roller:
importance: Unknown → Low
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.