Ah, how do you compile programs? By input command in console? OK, two
ways:
1. if you use an IDE, or editors such as uedit32, editplus, they will
record all the messages.
2. If you input "javac classes.java" in console, there is a powerful
tool called pipe
javac classes.java >compile-message.txt 2>error-message.txt
Error messages will be stored in the error-message.txt, and others will
be stored in compile-message.txt.
And if you want to store these two in same file, do this one:
javac classes.java >all-messages.txt 2>&1
This works fine in both unix and win2k.
On Sat, 23 Oct 2004 11:10:03 -0000
sm_steven <[EMAIL PROTECTED]> wrote:
>
> Hi All
>
> Is it possible to create a list file while compiling a Java program
> using the javac command ? If so, how ?
>
> The idea, of course, is that the Compiler may send the Messages to
> the List file rather than to the Screen, so that the Messages may be
> studied and the Program corrected.
>
> (As you know, when sent to the Screen, the earlier messages might
> disappear.)
>
> TIA
> Steven
--
æ é
åæé æèèçå
Training division / Customer Service Department
åäçåæçäåäæççèåæéåå
Mercuries DC Financial Systems Ltd .210038
åäçæææååååæåé349å éçï210038
No.349 Yaoxin Road,Economy ï Technology Development Zone, Nanjing, China
TELï+ 86 25 85801333 ext. 321
FAXï+ 86 25 85804133
Email: [EMAIL PROTECTED]
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/5cFolB/TM
--------------------------------------------------------------------~->
If you have any comments or questions, submit it on the message board.
NO spam/ads/job posting or you will be BANNED from this group. Exception can be made
it happen by notify me ahead of time.
all new members' message will be verified by me (spam..) before it get posted.
Yahoo! Groups Links
<*> To reply to this message, go to:
http://groups.yahoo.com/group/java_official/post?act=reply&messageNum=17220
Please do not reply to this message via email. More information here:
http://help.yahoo.com/help/us/groups/messages/messages-23.html
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/java_official/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/