ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Problem with Javac??? on XP??
Date Wed, 20 Aug 2003 01:55:19 GMT
Michael-

you need to execute  a dos command such as the @ thru the 
ant <exec> tag
http://ant.apache.org/manual/CoreTasks/exec.html

hth,
Martin
  ----- Original Message ----- 
  From: Brown, Michael (Denver) 
  To: user@ant.apache.org 
  Sent: Tuesday, August 19, 2003 2:50 PM
  Subject: Problem with Javac??? on XP??


  Anyone seen this error before?

   

  Execute:Java13CommandLauncher: Executing 'javac.exe' with arguments:

  '-J-Xms128m'

  '-J-Xmx1024m'

  '-d'

  'C:\Myclasses'

  '-classpath'

  'C:\Myclasspath'

  '-g'

  '@C:\<basedir>\files-1010085613'

  The ' characters around the executable and arguments arenot part of the command.

  Task [javac] finished 

  Target [compile_debug] finished 

  Task [ant] finished 

  Target [compile] finished 

  Task [antcall] finished 

  Task [null] finished 

  Error in class net.sf.antcontrib.logic.IfTask

  Task [if] finished 

  Target [run-it] finished 

  Task [ant] finished 

  Target [Interop] finished 

  Error running javac.exe compiler

  Ant Finished! 

  This is happening in a build file run on an Windows XP machine running Ant 1.5.

   

  The last line in the single quotes is the line that shows up and, I believe, creates the
failure.  This line:

  '@C:\<basedir>\files-1010085613'

   

  That line does not show up when running from the command line.

  It seems to be working from the command line but not through a call to an AntWrapper that
was written in house.  It also seems to be working through both methods using Windows 2000.

   

  Any help is appreciated.

  Mike B.

   



------------------------------------------------------------------------------


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
  For additional commands, e-mail: user-help@ant.apache.org

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