NetBeans: Where is 'Output' tab content saved to?

Last week was 'cram NetBeans' week for me. I goofed at many lessons but I didn't have enough time to look at 'Output' tab to know where I goofed. Now, I want to revisit those issues but I bounced NetBeans many times since then, so where I can find those contents?



I found them. They are stored to files named 'output\*' under the folder specified in TMP environement variable.



These files are saved in Unicode UCS-2 encoding without Byte Order Mark. So, Notepad doesn't work. One has to convert it with a tool like 'iconv'.

$ iconv -f UCS-2 -t ascii /c/e/tmp/AdminTmp/output1223605533796
init:
deps-jar:
Compiling 1 source file to D:\\kinoue\\Sun\\training\\6\\Wes\\MyMgmtMonClient\\build\\classes
compile-single:
run-single:



If you are on Non-English Windows and want to view all Output\* files in one shot, this may work. This is done in Cygwin.

$ for i in /c/e/tmp/AdminTmp/output12\*; do echo -e "\\n--$i";iconv -f UCS-2BE -t CP$(chcp.com | sed 's/\^.\*: //') $i;done

--/c/e/tmp/AdminTmp/output1218764681703
Apache Derby Network Server - 2008-08-15 01:44:41.531 GMT に 10.2.2.1 - (538595) が開始され、ポート 1527 で接続を受け入れる準備ができました。 
Apache Derby Network Server - 10.2.2.1 - (538595) は、2008-08-15 03:19:49.984 GMT にシャットダウンしました。

--/c/e/tmp/AdminTmp/output1218764689875
2008/08/15 10:44:49 com.sun.enterprise.admin.servermgmt.launch.ASLauncher buildCommand
情報: 
D:/Java5u9/JDK15~1.0_0\\bin\\java
-Dcom.sun.aas.instanceRoot=D:/JavaCAPS6/appserver/domains/domain1⁞
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today