Bug 225211 - [usability] Add Support for WAR Archives
Summary: [usability] Add Support for WAR Archives
Status: NEW
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Xuan Chen CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: bugday
Depends on:
Blocks:
 
Reported: 2008-04-01 17:19 EDT by Kevin Doyle CLA
Modified: 2008-08-05 15:18 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Doyle CLA 2008-04-01 17:19:47 EDT
WAR archives are just jar archives with a different extension for web applications.

-----------Enter bugs above this line-----------
TM 3.0M6 Testing
installation : eclipse-SDK-3.4M6
RSE install  : I20080401-0935
java.runtime : Sun 1.5.0_11-b03
os.name:     : Windows XP, Service Pack 2
------------------------------------------------
Comment 1 Martin Oberhuber CLA 2008-04-02 06:22:54 EDT
Adding WAR support should be super simple since it's just another extension for the same archive handler, right? Who wants to take care of this please assign to yourself. Kevin? Xuan?
Comment 2 David Williams CLA 2008-04-03 19:24:24 EDT
What does "support for war archives" mean? 
Is it about how displayed in view/navigator? 
Or, something more? 
Sorry, I don't know or investigate first hand ... just trying to quickly determine if there's "overlap" with WTP here, or complementary functions. 

Thanks, 
Comment 3 Kevin Doyle CLA 2008-04-03 22:42:45 EDT
David, we have support for Archive files of certain types(jar, zip, etc).  With archive files that are supported you can expand them and perform operations on them just like on your regular file system.  So, by adding support for war archives you will be able to expand them in the Remote Systems View and perform actions such as Copy, Paste, Move, Delete, New File/Folder to/from these archives.  This is only supported on Local and any other connection with the files subsystem being dstore (example. Linux connection with dstore files subsystem).
Comment 4 Xuan Chen CLA 2008-04-03 22:47:17 EDT
Ha, it seems we are adding comments on this at the same time :-).  I will paste my comment anyway her, but it basically similar to Kevin's:


You could treat an archive file like a folder in Local and DStore (Linux, Unix and Windows) connection.  For example, jar file is displayed with a plus sign beside it.  You could expand the plus sign to see the content of this jar file (just like expanding a folder), and you could also expand folders inside the jar file.  You could double click on a file inside a jar file to open it in the editor.  You could copy a file or a folder from a jar file to a regular folder.  And there are also rename, delete, move actions of file/folder inside a jar file.


And one way to create a jar file in RSE is to create a new file with extension .jar in  its name, and then simply copy files or folders into that newly created file.

Right now, the supported archive file extensions are ".tar", ".tzg", ".tar.zg", ".zip" and ".jar".  

Please notice this support is not available for ssh and ftp connection.