<target name="run">
<foreach target="zip" param="folder-to-zip">
<path>
<dirset dir="${basedir}"
excludes="**/js,**/assets,**/assets/images,**/assets/swf,**/pdf,**/assets/music,**/assets/pdf"/>
</path>
</foreach>
</target>
My question is how do I exclude the basedir folder itself.
i want to zip only the sub directories and not the basedir.
When i use the above code it zips the base folder and then the inner
directories.
Have any ideas?
--
View this message in context:
http://ant.1045680.n5.nabble.com/how-to-exclude-a-basedir-while-looping-using-foreach-tp3364313p3364313.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]