>> Is specifying multiple patterns in one tag no
>> longer supported? (can't see it in the docs)
> 
> No, but you should use a patternset now. Replace the <include> tag
> with the following:
> 
>  <patternset>
>    <include name="**/*.gif" />
>    <include name="**/*.class" />
>  </patternset>

As i said, specifying one pattern per tag did work,
but i used a property for the files to include like

  <include name="${jar.files}" />

with jar.files being "**/*.class **/*.properties **/*.gif **/*.ser"
on default, but i could run ant with "-Djar.files=**/*.class"
when i wanted a small jar file containing only the classes
and not the support files.

How would i do this with 1.2 ?



Alex

Reply via email to