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 256193 - (Optionally) add selected main class to jar manifest
Summary: (Optionally) add selected main class to jar manifest
Status: RESOLVED DUPLICATE of bug 254777
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-27 06:10 UTC by alied
Modified: 2017-05-24 10:52 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
IDE log (96.22 KB, text/plain)
2015-10-27 06:10 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2015-10-27 06:10:40 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Linux version 4.2.4 running on amd64
Java; VM; Vendor = 1.8.0_66
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.66-b17

Reproducibility: Happens every time

STEPS:
  * Create a new Java Maven project
  * Add a new main class.
  * Open project's Properties dialog.
  * Go to Run.
  * Select a main class.
  * Build project.

ACTUAL:
  A jar with a minimal manifest is created

EXPECTED:
  It would be useful to add the main class to the manifest. Preferably by adding (modifying) the required build plugin configuration to the POM. This can be selected by a checkbox
Comment 1 alied 2015-10-27 06:10:45 UTC
Created attachment 156987 [details]
IDE log
Comment 2 bugmenot1 2017-05-24 10:52:18 UTC

*** This bug has been marked as a duplicate of bug 254777 ***