How to package libraries into my jar using Ant
问题 My application relies on two external libraries, I have both in jar format and have added them to my classpath, making it possible to run my application within NetBeans. However, I would like to package my application in an easy to use jar file. When I tried the automatic method of jar creation provided by NetBeans (where it auto generates a jarfile in dist/ ) and ran it on another computer, I got lots of ClassNotFound (or similar) exceptions for classes that I could tell were supposed to be