ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: Retaining directory structure with image task
Date Mon, 23 May 2005 05:26:26 GMT
Hello Helmut,

Helmut Lerch wrote:

>Dear all
>
>I have a problem with the image task.
>
>Lets say I have a directory structure like:
>
>${src}/image1/img1.jpg
>${src}/image1/img2.jpg
>${src}/image2/img3.jpg
>${src}/image2/img4.jpg
>
>If I use the image task:
>
> <target name="tar_image" >
>  <image destDir="${imagePath}" >
>   <scale proportions="width" width="128"/>
>   <fileset dir="${src}" casesensitive="yes">
>    <include name="**/*.jpg" />
>   </fileset>
>  </image>
> </target>
>
>I get the result (with the new scaled images).
>${imagePath}/img1.jpg
>${imagePath}/img2.jpg
>${imagePath}/img3.jpg
>${imagePath}/img4.jpg
>
>However, I need to have the same result as with copy. What I am doing wrong?
>
>  
>
You are not doing anything wrong. Actually, there is a bug report 30373 
http://issues.apache.org/bugzilla/show_bug.cgi?id=30373 concerning this 
in our bug reporting system. You might want to vote for the bug.

>Many thanks for help.
>Heli
>
>
>  
>
Cheers,

Antoine


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message