Bug 205771 - File > Import/Export Project > From/To ZIP
File > Import/Export Project > From/To ZIP
Status: RESOLVED FIXED
Product: projects
Classification: Unclassified
Component: Generic Projects UI
7.2
All All
: P3 (vote)
: 7.2
Assigned To: Jesse Glick
issues@projects
: PLAN, UI
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-01 13:08 UTC by Jesse Glick
Modified: 2011-12-31 15:42 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2011-12-01 13:08:53 UTC
contrib/projectpackager has a useful bit of functionality that has long been missing from the standard UI - the ability to export a project as a single ZIP file easily shared via (say) email, and correspondingly the ability to point to a downloaded ZIP and with one action unpack it (somewhere) and open it as a project in the IDE.

Possible features:

1. Automatically exclude build and private dirs (i.e. SharabilityQuery.NOT_SHARABLE).

2. Automatically include nested projects when a parent project is selected.

3. Permit multiple sibling projects to be packed.

4. Check if the (parent) project is the root of a DVCS (Hg, Git) and if so offer to create a history bundle instead (checking for local modifications first). Perhaps even offer to initialize the project as a DVCS.

5. The existing module supports sending the ZIP as an email attachment, though this relies on the user configuring SMTP in their IDE, which is awkward; and the RFC used by Desktop.mail(URI) is not sufficiently powerful to create a message with an attachment.

Note: File > Import/Export Project matches existing menu structure best, though in some ways this functionality better belongs in the Team menu - a lightweight SCM alternative akin to Local History.
Comment 1 Jesse Glick 2011-12-29 23:48:17 UTC
Implemented 1-3, and a brief note for 4. Skipping 5.

core-main #3e606e6d59a2
Comment 2 Quality Engineering 2011-12-31 15:42:59 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/3e606e6d59a2
User: Jesse Glick <jglick@netbeans.org>
Log: #205771: File > Import/Export Project > From/To ZIP.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo