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.
I have a project that includes 4 or 5 other projects. A couple of the other projects have dependencies on other outside jar such as the Apache Commons libraries. My main project does not have a dependency on those jar files. When I build the jar file for my main project, the additional dependencies of the other project are not included in the Classpath entry in the manifest file, therefore, my application will not run by using the java -jar command. Nor will it run just by double-clicking the jar file. In order to make it build the manifest correctly, I have to add those dependent jar files to my project. They should have been automatically added to the manifest by recursively looking at all the dependent jar files in my project and concatenating required files to the manifest jar classpath.
I suppose you your project is a j2se project, reassigning appropriately, AFAIK the project dependencies in j2se ant projects are not transitive.