I\'m using Netbeans 6.9 , and I have looked into editing the build.xml file so that I can include directories and files in the jar file that results from building the projec
http://ant.apache.org/manual/Tasks/copydir.html
<copydir src="${base.path}/lib/"
dest="${build.path}/lib"
/>
<copydir src="${base.path}/images/"
dest="${build.path}/images"
/>
<copydir src="${base.path}/src/com/"
dest="${build.path}/com"
/>
<copydir src="${base.path}/META-INF/"
dest="${build.path}/META-INF"
/>
http://ant.apache.org/manual/Tasks/jar.html
<jar destfile="project.jar"
basedir="${build.path}"
includes="**/*.*"
/>
In case someone see this, copydir is deprecated now, use:
<target name="-post-compile">
<copy todir="${dist.dir}/ace">
<fileset dir="src/ace"/>
</copy>
</target>