Jakob--the "don't know how to handle it" indicates a
problem with your mapper.  Try changing your mapper to

<mapper type="identity" />

If that doesn't work, try

<mapper type="glob" from="*.png"
        to="${out.dir}/*.png" />

HTH,
Matt


--- Jakob Fix <[EMAIL PROTECTED]> wrote:

> Hello Brian,
> 
> thanks for your answer.  unfortunately, this doesn't
> work either (same
> result and debug messages).
> 
> On 26/09/05, Dick, Brian E. <[EMAIL PROTECTED]>
> wrote:
> > Sometimes the commandline arguments are a bit
> tricky. Try the following.
> >
> >     <apply executable="composite.exe"
> dest="${out.dir}">
> >     <arg value="-dissolve"/>
> >     <arg value="40%"/>
> >     <arg value="-tile"/>
> >     <arg value="${wm.image}"/>
> >     <srcfile/>
> >     <targetfile/>
> >     <fileset dir="${in.dir}" includes="*.png"/>
> >     <mapper type="glob" from="${in.dir}/*.png"
> to="${out.dir}/*.png"/>
> >     </apply>
> >
> 
> I also tried the following apply which gave positive
> results, but
> obviously isn't what I'm after, I just tried it out
> of desperation :-)
> 
> <apply executable="attrib">
>   <arg value="-R"/>                   
>   <arg value="/s"/>
>   <arg value="/d"/>
>   <fileset dir="${in.dir}" includes="*.png"/>         
> </apply>
> 
> Using -verbose gives (among other things) the
> commandline ant has
> assembled and will execute:
> 
>     [apply] Executing 'attrib' with arguments:
>     [apply] '-R'
>     [apply] '/s'
>     [apply] '/d'
>     [apply]
> 'C:\tools\_MYTOOLS\watermark\in\hsc-c0311e.png'
>     [apply]
>     [apply] The ' characters around the executable
> and arguments are
>     [apply] not part of the command.
> 
> I also tried another command (can't remember which
> one), however,
> which gave me the same "don't know how to handle
> [filename] -
> skipped".
> 
> Hmm, anyone?
> 
> thanks anyway, Brian.
> 
> --
> cheers,
> Jakob.
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to