Qualora fosse utile ecco il file ant
codice:
<?xml version="1.0"?>
<project name="nomeprogrtto" basedir="." default="jar">
<property name="src" value="src"/>
<property name="output" value="bin"/>
<property name="comp" value="alls"/>
<target name="clean">
<delete dir="${output}"/>
<delete dir="${comp}"/>
</target>
<target name="create" depends="clean">
<mkdir dir="${output}"/>
<mkdir dir="${comp}"/>
</target>
<target name="copy" depends="create">
<copy todir="${comp}">
<fileset dir="${src}">
<include name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="compile" depends="copy">
<javac destdir="${output}">
<src path="${comp}"/>
</javac>
</target>
<target name="jar" depends="compile">
<jar destfile="test.jar">
<fileset dir="${output}"/>
</jar>
</target>
<target name="esegui" depends="jar">
<java jar="percorso completo fino al file .jar" fork="true">
</java>
</target>
</project>
per gli errori del post precedente idee?
Grazie ancora.