ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ನಾಗೇಶ್ ಸುಬ್ರಹ್ಮಣ್ಯ (Nagesh S) <>
Subject Ant exec task not writing STDOUT to console or to file in Windows.
Date Tue, 27 Sep 2011 13:25:20 GMT
I am using the exec task to execute a program whose versions exist on
Windows and Linux both. The build file is added in the Ant view of an
Eclipse IDE. When the IDE is running on Windows, the STDOUT (to which,
command would write to) is not directed to the output file as mentioned in
the output attribute of the exec task. When the output attribute is removed,
the output is not seen in the Eclipse Console view either. Whereas, the same
task correctly writes its output - when the IDE is invoked on Linux - to
file with output attribute and to console without the output attribute.

What could be wrong ?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message