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 69327 - Exported projects sendt by mail should be application/zip
Summary: Exported projects sendt by mail should be application/zip
Status: RESOLVED WONTFIX
Alias: None
Product: contrib
Classification: Unclassified
Component: Projectpackager (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: Roman Strobl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-25 13:43 UTC by bernt
Modified: 2006-10-27 09:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bernt 2005-11-25 13:43:42 UTC
When projects are exported and sent by mail, the MIME Content-Type is
application/octet-stream

Since it's a ZIP-file the correct MIME-type is application/zip
Comment 1 Roman Strobl 2005-11-29 08:15:44 UTC
I'll take a look at it.
Comment 2 Roman Strobl 2005-12-01 14:27:44 UTC
Unfortunately I can't fix it easily. Ant doesn't seem to have a configuration
parameter for mime types of attachments sent by mail task:

http://ant.apache.org/manual/CoreTasks/mail.html

The solution would be to rewrite the module not to use the ant task but to use
javamail library instead. I don't think it's worth the effort right now.