• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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 ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic