> where does JLink put the output of a system.out.println command?
Approaching the question from another direction ...
Since you really don't know what crazy stuff the user is going to
throw at your application, a logging API can be useful. This is
especially true when it comes to diagnosing problems you couldn't
log4j is a commonly used logging API for Java applications, but
sometimes you just need a FileWriter. As an alternative, you can
log to the Pro/Engineer trail file.
Visit My CAD/PDM AutomationBlog
Or, Subscribe to My CAD/PDM Automation Blog by Email
If you are using an Async application in eclipse or some other IDE then the system.out.printlin will be displayed in the console window within the IDE. If you are using a sync application then I would use the JOptionPane or use the method that is in WF4 named sesssion.UIShowMessageDialog("text") to review your errors or messages.
If you have any questions please contact me at firstname.lastname@example.org. Hope this helps.
In Reply to Lyle Beidler:
Ok, I'm sure I know this one, but the cold medicine is messing with my head
this morning: where does JLink put the output of a system.out.println
command? I've checked the trail file, nothing. The application's log file
- nothing. I'm at my wit's end.
178 Muddy Creek Church Rd
Denver PA 17517