Advertisement
Guest User

Using patternset with jar in Ant

a guest
Oct 18th, 2010
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.21 KB | None | 0 0
  1.     <property name="files" value="file1.class,file2.properties,file3.txt" />
  2.     <jar update="true" destfile="result.jar">
  3.         <zipfileset dir="bin/classes">
  4.             <patternset includes="${files}" />
  5.         </zipfileset>
  6.     </jar>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement