I have an Ant task that creates an HTML report. Is it possible to load that report automatically in a browser from the Ant task? If so, is it possible to do so in a user-independent way or would it require the use of custom user properties?
Thanks,
Paul
One way to do this is to invoke your favorite browser with the filename. If you have Ant execute
it will launch Firefox with that file.
Try using Ant's
exec
task to execute a system command.http://ant.apache.org/manual/Tasks/exec.html
An example from that document: