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 144292 - No easy way to use a custom manifest file for java projects
Summary: No easy way to use a custom manifest file for java projects
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-18 18:05 UTC by Kirill Sorokin
Modified: 2012-03-23 14:48 UTC (History)
1 user (show)

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 Kirill Sorokin 2008-08-18 18:05:43 UTC
I've tried asking @ netbeans-feedback alias, but got no reply there, thus filing as a P2 regression defect.

"I haven't needed this in a while, but I remember that there used to be a
MANIFEST.MF node in java projects, which I could edit so that my custom
entries get into the jar file.

It does not exist anymore. I've tried adding META-INF/MANIFEST.MF to the
sources, but it was not included in the jar file. The only way to do it
that I found is to edit project.properties, setting the 'manifest.file'
property. Is there a way to customize the manifest without editing the
project files?"
Comment 1 Tomas Danek 2008-08-27 10:58:33 UTC
If you need to edit manifest.mf, just switch to Files view, you see it's node there.
Comment 2 Kirill Sorokin 2008-08-27 13:10:36 UTC
Not for a java class library.
Comment 3 Milos Kleint 2008-08-27 13:54:47 UTC
->java/j2seproject.

I can't remember in which version the manifest was actually visible in projects view. Must be pretty old I guess. if it
was removed then it was probably on purpose. ->P3 and reassigning
Comment 4 Tomas Zezula 2008-08-27 15:24:54 UTC
There wasn't such a node, you probably mean api support project.
From my point of view it makes sense to add it also into the j2seproject.

Comment 5 _ gtzabari 2010-06-25 16:51:41 UTC
Pulling out my hair trying to get this to work...
Comment 6 _ gtzabari 2012-03-13 03:48:50 UTC
Tomas,

Any plans on adding MANIFEST.MF into j2seproject?
Comment 7 Tomas Zezula 2012-03-23 08:37:45 UTC
What I can do for Nb 7.2 is to change the library project to create the manifest file and set the manifest.file property by default.
Comment 8 _ gtzabari 2012-03-23 14:32:15 UTC
Thomas,

In other words, Java Library projects will behave the same as Java Application projects? If so, sounds good.
Comment 9 Tomas Zezula 2012-03-23 14:48:51 UTC
Yes.