You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by dario <da...@yahoo.com> on 2006/07/11 17:20:18 UTC

todir attribute with wildcards

hi all,

i need to copy some files to location whose name is only partially known 
to me.

i tried

<copy todir="${temp.dir}/somedir/tmp*contents/mydir">
	<fileset dir="${source.dir}" includes="**/jsp/*.jsp" />
</copy>

'*' represents part of the path that changes, but complete path name is 
basically always the same.

anyway, ant complains about destination path. i thought that wildcards 
could help, but it obviously doesn't work. is there any other option to 
specify "todir" which is not full path, but contains wildcards.

thanks

dario


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