ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marc Luce <marc.l...@blackbird.net>
Subject Redirecting stdout
Date Thu, 19 Oct 2000 11:17:10 GMT
I am trying to use the <JAVA> tag as follows:

  <target name="runDevel" depends="compile">
    <property file="${app.home}/run/devel.properties" />
    <java classname="com.Bletch"
          dir="${app.home}/run"
          jvm="D:/jdk1.3/jre/bin/javaw"
          fork="yes" >
      <arg value="devel.ini" />
      <arg value="${bb.user.name}" />
      <arg value="${bb.user.pwd}" />
      <classpath>
        <pathelement location="${support.jar}" />
        <pathelement location="${devel.jar}" />
        <pathelement path="${cp}" />
      </classpath>
    </java>
  </target>

This causes Bletch to run correctly but the stdout is coming back to the
shell where I called ant with the target 'runDevel'.  How would I redirect
stdout and stderr to a file without redirecting ant's stdout and stderr?

Mime
View raw message