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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]