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 copy task:
<target name="tar_copy" >
<copy toDir="${copyPath}" >
<fileset dir="${src}" casesensitive="yes">
<include name="**/*.jpg" />
</fileset>
</copy>
</target>
I get the result:
${copyPath}/image1/img1.jpg
${copyPath}/image1/img2.jpg
${copyPath}/image2/img3.jpg
${copyPath}/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?
Many thanks for help.
Heli
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]