libjava.exp (bytecompile_file): Log compile command.
2004-01-09 Andrew Haley <aph@redhat.com> * lib/libjava.exp (bytecompile_file): Log compile command. From-SVN: r75593
This commit is contained in:
parent
e6f8299852
commit
2fca049fe8
|
@ -1,3 +1,7 @@
|
|||
2004-01-09 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* lib/libjava.exp (bytecompile_file): Log compile command.
|
||||
|
||||
2004-01-07 Andreas Tobler <a.tobler@schweiz.ch>
|
||||
|
||||
PR libgcj/13011:
|
||||
|
|
|
@ -109,10 +109,11 @@ proc bytecompile_file { file objdir {classpath {}} } {
|
|||
}
|
||||
set here [pwd]
|
||||
cd $dirname
|
||||
send_log "byte compile: $javac [list $file] -d $objdir 2>@ stdout\n"
|
||||
if {[catch {
|
||||
set q [eval exec "$javac [list $file] -d $objdir 2>@ stdout"]
|
||||
} msg]} then {
|
||||
verbose "couldn't compile $file: $msg"
|
||||
send_log "couldn't compile $file: $msg\n"
|
||||
set r 0
|
||||
} else {
|
||||
set r 1
|
||||
|
|
Loading…
Reference in New Issue