How can i make a jar file from both the command line and Netbeans 6.7?
Using the JAR command:
jar cf jar-file input-file(s)
Using Maven:
<packaging>jar</packaging>
Using Ant:
<jar destfile="${dist}/lib/app.jar" basedir="${build}/classes"/>