Are your sed commands trying to strip off the leading
./ , then escape dollar signs found?  If so, the
second probably wouldn't be relevant:

<pathconvert>
  <fileset dir="${basedir}" includes="**/*.class" />
  <globmapper from="${basedir}/*" to="*" />
</pathconvert>

Something like that?

HTH,
Matt

--- Ben Tu <[EMAIL PROTECTED]> wrote:

> Hi,
> I would like to accomplish the similar task below in
> ant script.
> Does anyone know how?
> 
> find . -name '*.class' | sed -e 's/^.\///g' -e
> 's/\$/\\\$/g' | sort > log.txt
> 
> thanks
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



      

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to