|
@@ -74,13 +74,7 @@ let explore_class_paths com timer class_paths recusive f_pack f_module =
|
|
|
|
|
|
let read_class_paths com timer =
|
|
|
let sign = Define.get_signature com.defines in
|
|
|
- let progress = new Notifications.Progress.t in
|
|
|
- let send = get_notification_function com in
|
|
|
- send (fun () -> progress#start "Reading class paths");
|
|
|
- let f_pack (pack,dir) =
|
|
|
- send (progress#report ~message:("Reading package " ^ dir))
|
|
|
- in
|
|
|
- explore_class_paths com timer (List.filter ((<>) "") com.class_path) true f_pack (fun file path ->
|
|
|
+ explore_class_paths com timer (List.filter ((<>) "") com.class_path) true (fun _ -> ()) (fun file path ->
|
|
|
(* Don't parse the display file as that would maybe overwrite the content from stdin with the file contents. *)
|
|
|
if not (DisplayPosition.display_position#is_in_file file) then begin
|
|
|
let file,_,pack,_ = Display.parse_module' com path Globals.null_pos in
|
|
@@ -91,8 +85,7 @@ let read_class_paths com timer =
|
|
|
| _ ->
|
|
|
()
|
|
|
end
|
|
|
- );
|
|
|
- send (fun () -> progress#done')
|
|
|
+ )
|
|
|
|
|
|
let init_or_update_server cs com timer_name =
|
|
|
let sign = Define.get_signature com.defines in
|