Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Ant Output Redirection

Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My idea is to do the following using ANT:

C:\WTK22\BIN\emulator.exe -Xdescriptor:mmstest.jad > test.log

The above command places all the output produced using the emulator.exe is placed on test.log.
But if I do the following in ANT my test.log is always empty:

<exec dir = "." executable = "${j2me.home}\bin\emulator.exe" output = "test.log">
<arg line="-Xdescriptor:mmstest.jad" />

I also tried the following (it didn't even execute, just comes back to the prompt):
<exec dir = "." executable = "${j2me.home}\bin\emulator.exe" output = "test.log">
<arg line="-Xdescriptor:mmstest.jad > test.log" />

Any help appreciated.


[ June 29, 2004: Message edited by: Rashmi Banthia ]
[ June 29, 2004: Message edited by: Rashmi Banthia ]
You will always be treated with dignity. Now, strip naked, get on the probulator and hold this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic