ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashutosh Sharma <>
Subject how to use error and logError within the java task?
Date Wed, 28 Jan 2004 05:00:28 GMT
while running my ant target from one of the file-i'm setting the jvm args so that i can send
my exceptions/errors on the console and the Debug messages in some file. In absence of this
boht of them mixed with each other and u get a garbled output which needs to be seperated
with each other.
I'm using the output="..."
which wroks fine but logError and error are not allowed there:

      classpath="${build};${libraries};${build}/prototypes/imp;${build.test}" fork="yes">
      error="....."----> NOT ok
      logError="......"----->NOT ok
      <jvmarg value="-DBC4JConfig=test/util/${DATABASE}.properties" />
      <jvmarg value="-DETSConfig=props/" />
      <jvmarg value="-DDBCFile=dbc/${DATABASE}.dbc" />
      <jvmarg value="-DScriptDir=test/scripts/" />
      <jvmarg value="-DDataDir=test/systemTest/data/" />
      <jvmarg value="-Djbo.debugoutput=silent" />
      <jvmarg value="-DENCOUNTER_DEPENDENCIES_ON=Y" />
      <jvmarg value="-Djbo.323.compatible=true" />
      <jvmarg value="-DJTFDBCFILE=dbc/${DATABASE}.dbc" />
      <jvmarg value="-DCLEAN_DATABASE=${CLEAN_DATABASE}" />
      <jvmarg value="-DEXTENSION_SUFFIX=${EXTENSION_SUFFIX}" />
      <jvmarg value="-DIMP_DEBUG=${IMP_DEBUG}" />

With best regards :

Ashutosh Sharma
Oracle India Development Center,
Prestige Blue Chip, #9, Hosur Road,
Bangalore 560029
AOL IM :AshutoshOracle
Phone: 080-51083937
Locaton : 4A 181

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message