This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 141258 - Packaging Feature
Summary: Packaging Feature
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords: PLAN
Depends on:
Blocks:
 
Reported: 2008-07-23 04:01 UTC by Thomas Preisler
Modified: 2008-08-01 16:05 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2008-07-23 04:01:50 UTC
Support different kind of packaging like SVR4, IPS, zip, tar packaging.
Comment 1 Thomas Preisler 2008-07-29 05:10:33 UTC
Status:

The new feature is starting to take takes shape. Gui for Jar and Zip
files are near 100% complete and the backend is working. GUI for SVR4
packages are 95% done.

What's left to do is:

1) Persistence
2) A11y
3) L10n
4) Handle directories and softlinks (important for SVR4 packages)
5) Calculate ARCH automatically (SVR4 packages)
6) Add remaining SVR4 macros
7) Complete SVR4 package backend
8) GUI to specify default owner, permission, and group
9) Exit with bad error code if something goes wrong during package
generation
10) Add progress bar if it takes long time to Add Files from Directory
11) Add bzip2 and gzip option
12) Should clean action remove dist/<conf> ?

I plan to complete all remaining issues this week. 1) - 3) will be completed last.

Here is what should work today:

- Use properties in Packaging node (under Build node) to define what
type of package to build: Jar (default), Zip, or SVR4 package.
- Use Files property to define files and package info (for SVR$ pcakages).
- Use Build Package action in context menu to generate package.
- Generation of Zip or Tar files work.
- Most error situations are caught and proper error message displayed.

Note:  A feature is supported if the selected tool (zip, tar, ...) is available on a system. Tar is supported on all platforms. Zip is most likely not supported on 
Windows (there is no command line zip utility in Cygwin). SVR4 packages are probably only supported on Solaris platforms. 
Comment 2 Thomas Preisler 2008-08-01 16:05:24 UTC
Completed.