I'm using NetBeans 6.5 and for some reason it won't produce executable jar "out of the box".
I set my project to be the main project, defined main class in the project properties "run" menu and it works flawlessly when I press F6 to run it.
I looked at the manifest file and it indeed didn't define the main class there, and also omitted the library dependencies.
Am I missing something? Is there a way (other than manually altering the manifest file) to produce executable jar files?
EDIT: yes, I tried clean and rebuild and it produced the jar in the dist folder, still with the same manifest.mf
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 10.0-b23 (Sun Microsystems Inc.)