https://bz.apache.org/bugzilla/show_bug.cgi?id=58451
Bug ID: 58451
Summary: Output from ant being truncated
Product: Ant
Version: 1.9.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Core
Assignee: [email protected]
Reporter: [email protected]
Please check the following output.
[root@localhost ~]# cd /opt/jdk1.7.0_79/jre/bin
[root@localhost bin]# ./java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
[root@localhost bin]# cd ~
[root@localhost ~]# export JAVA_HOME=/opt/jdk1.7.0_79/jre
[root@localhost ~]# ant -version
Apache Ant(TM) version 1.9.4 compiled on April 29 2014
[root@localhost ~]# ls -l /usr/bin >lscmd.txt
[root@localhost ~]# cat lscmd.txt|wc -l
1327
[root@localhost ~]# cat build.xml
<project name="LS" default="ls" basedir=".">
<description>
LS ant build file
</description>
<target name="ls">
<exec executable="ls" dir="${basedir}" failonerror="true"
logerror="true">
<redirector output="/root/ls.txt" error="ls.err" alwayslog="true"/>
<arg value="-l"/>
<arg value="/usr/bin"/>
</exec>
</target>
</project>
[root@localhost ~]# ant -f build.xml
Buildfile: /root/build.xml
...
[root@localhost ~]# cat ls.txt|wc -l
771
--
You are receiving this mail because:
You are the assignee for the bug.
