Re: ant, jar with selected directories



On 30 Mar 2006 11:00:42 -0800, "DaveO." <daveoverbeck@xxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :

<jar destfile="${top.dir}/${jar.file}">
<zipfileset dir="${top.dir}/${jws.dir}" prefix="${util.dir}"
includes="*.class"/>
<zipfileset dir="${top.dir}/${jcw.dir}" prefix="${Proj1.dir}"
includes="*.class"/>
</jar>

check out genjar. It makes sure you have not forgotten anything or
including stuff that does not need to be there.

See http://mindprod.com/jgloss/genjar.html
http://mindprod.com/jgloss/ant.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages