ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Schutte" <mar...@schutte.com>
Subject RE: <include> patterns in jar task
Date Sat, 14 Oct 2000 16:24:04 GMT
> 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>

There are a lot of changes in 1.2 like this. Please re-read the docs, you
can do lots of interesting new things now.


Hope this helps,
Marcel

>
>
> Regards,
>
> Alex
>
>
>
>
> <target name="jar" depends="compile">
>   <jar jarfile="lib/examples.jar" basedir="examples">
>     <include name="**/*.class, **/*.gif" />
>   </jar>
> </target>
>
>


Mime
View raw message