Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
> 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
have predicted.
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.
Marc
--
Marc Mettes
-
Visit My CAD/PDM AutomationBlog
Or, Subscribe to My CAD/PDM Automation Blog by Email
Hello Lyle
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 jfelkins@felcosolutions.com. 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.
Thans.
--
Lyle Beidler
MGS Inc
178 Muddy Creek Church Rd
Denver PA 17517
717-336-7528
Fax 717-336-0514
< -
< http://www.mgsincorporated.com