Ant has an Exec task, allowing you to run any executable/command.
(Note sure if you can run that directly from Subclipse, but you specified going
via Ant as acceptable in your initial post)
So...
<exec executable="grep">
<arg value="^Index: .*$"/>
<arg value="mypatch.diff"/>
</exec>
Or, on Windows:
<exec executable="findstr">
<arg value="^Index:.*$"/>
<arg value="mypatch.diff"/>
</exec>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315856
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4