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

Summary: Exported projects sendt by mail should be application/zip
Product: contrib Reporter: bernt <bernt>
Component: ProjectpackagerAssignee: Roman Strobl <rstrobl>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.