You could use shellscript from ant-contrib:
<project default="ls" xmlns:ac="antlib:net.sf.antcontrib">
<target name="ls">
<ac:shellscript shell="bash">
echo `ls -rtla`
</ac:shellscript>
</target>
</project>
Peter
[EMAIL PROTECTED] wrote:
zip -d target.jar `jar -tf compare.jar | grep \.class`
Nice command :-)
But the
`jar -tf compare.jar | grep \.class`
is evaluated by the shell to get a fileset which is passed to
the zip command.
So I think you have to split that command in two.
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]