I'm building an ear file using ANT build.xml and need to include .java files in my ear package created. Any pointers?
Below is the war section from my build.xml
<target name="war" depends="compile">
<war destfile="${dist}/${ant.project.name}.war" webxml="${warbasepath}/WebContent/WEB-INF/web.xml">
<lib dir="${lib}" />
<classes dir="${build}"/>
<fileset dir="${warbasepath}/WebContent" excludes="**/*.class **/*.jar" />
</war>
</target>