On 2009-10-07, Edumudi Viswanath <[email protected]> wrote:

> <jar destfile="${build.dir}/XYZ.jar"
>        basedir="${build}/classes"
>        includes="${build}/classes/a/b/c/d/e/**"
>   />

the includes pattern should be relative to your basedir.

        includes="a/b/c/d/e/**"

BTW, the recommended approach is not to use basedir at all but rather a
nested fileset.

<jar destfile="${build.dir}/XYZ.jar">
  <fileset dir="${build}/classes">
    <include name="a/b/c/d/e/**"/>
  </fileset>
</jar>

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to