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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • 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:

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

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

Any help appreciated.

Thanks
Rashmi

[ 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
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic