We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

p35t173nc3
Posts: 33
Joined: Wed Apr 02, 2008 1:20 pm

Java Launcher Stream Redirection and Rollover

Hey, would it be possible at some point to enhance the Java Launcher executable to:

1. Synchronise the Stream Redirection for both Output and Error streams? i.e. I often get garbled/truncated text in the resulting files because the Java application could be writing to these streams from multiple threads. It would be really handy if the launcher would synch this so that the output is coherent.

2. It would be even nicer, though not as important if the Launcher could be configured to Append to the Stream Redirect File(s) and maybe delete older information as the file grows.

Of course I would also like to thank you guys for making my life so much easier since I moved onto your product.

Regards
Daniel
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Java Launcher Stream Redirection and Rollover

Hi Daniel,
Synchronise the Stream Redirection for both Output and Error streams? i.e. I often get garbled/truncated text in the resulting files because the Java application could be writing to these streams from multiple threads. It would be really handy if the launcher would synch this so that the output is coherent.
I'm afraid that this cannot be done. The launcher simply launches your application and sets the output streams through some code. Organizing the output based on threads can be done only from within your application.
It would be even nicer, though not as important if the Launcher could be configured to Append to the Stream Redirect File(s) and maybe delete older information as the file grows.
This improvement is already on our TODO list and it will be available in a future version.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Feature Requests”