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:
committed by
Andrew Haley
parent
e6f8299852
commit
2fca049fe8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user