From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#11254: 24.0.94; cannot find compilation-error locations for Java Date: Mon, 7 Dec 2020 13:17:26 -0500 Message-ID: References: <87mx6baehk.fsf@gnu.org> <877dptcytl.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7890"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 11254@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 07 19:22:36 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kmL9f-0001v5-0z for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Dec 2020 19:22:35 +0100 Original-Received: from localhost ([::1]:33250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmL9e-0006js-2M for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Dec 2020 13:22:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmL5G-00042n-GF for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 13:18:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmL5G-0006mJ-91 for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 13:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmL5F-0004Gu-OM for bug-gnu-emacs@gnu.org; Mon, 07 Dec 2020 13:18:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Dec 2020 18:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11254 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 11254-submit@debbugs.gnu.org id=B11254.160736507216402 (code B ref 11254); Mon, 07 Dec 2020 18:18:01 +0000 Original-Received: (at 11254) by debbugs.gnu.org; 7 Dec 2020 18:17:52 +0000 Original-Received: from localhost ([127.0.0.1]:55468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmL51-0004GN-6f for submit@debbugs.gnu.org; Mon, 07 Dec 2020 13:17:51 -0500 Original-Received: from mail-oi1-f178.google.com ([209.85.167.178]:45080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmL4x-0004G7-Fd for 11254@debbugs.gnu.org; Mon, 07 Dec 2020 13:17:46 -0500 Original-Received: by mail-oi1-f178.google.com with SMTP id f132so1948990oib.12 for <11254@debbugs.gnu.org>; Mon, 07 Dec 2020 10:17:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vy65s6fsxT7qmQ4SJfiL1Aow5tgPy4SpH0JY3tXIXoA=; b=CQ2TfFD7TkqVW/GDxjqZCiI1TghT4PrNnX6sXsfWGTx+9HjKy0ZG7X5vGwYhRO8F4P Lpw+E6C/sXGJ6T5Eykh+iNRdj03N9rH8dfq7qzK0OuOClugsmLraMXzK95aXQYyccmwl BtkHAeW1RnH02fXRJuv3NUYSvgEuN4xIxXL/uH+AxSF1i7uTPMEAE4i+dUcHr0Rs3KBX Uvx4Ifn3w9fH7AYcylGR/iQ3uzuzlhYOymGlWOdlZh/eDvZRKzZtxfbWF6BOTwxQOdJn YR5+C7m7kKXg3559W9/fwkIXYFzglU9008xgI9bt01/Ryh+grK5I8MkeXrc6cTzyrvg3 exiA== X-Gm-Message-State: AOAM530PQFR3L6JrlNIoLW6I3OgIsTDmTt8BrM20KWYdR+lgsE9V06kY M/Z7YiNS9im0vqI5jGLqqpmArU1zo48iWZDqhw== X-Google-Smtp-Source: ABdhPJzLDJ4h88GhuS62L62r2h8hRWVa3g+05+5UVPOvVLZB9hbhXpNrmoO5viAhoEmnJxkTI6dmROODC/+ZKykPY8Y= X-Received: by 2002:a54:4083:: with SMTP id i3mr81608oii.120.1607365057568; Mon, 07 Dec 2020 10:17:37 -0800 (PST) In-Reply-To: <877dptcytl.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:195278 Archived-At: no recollections, sorry. On Mon, 7 Dec 2020 at 12:26, Lars Ingebrigtsen wrote: > > Sam Steingold writes: > > > When I work on a maven-managed java project, I add this to > > java-mode-hook: > > (set (make-local-variable 'compile-command) > > (concat "cd " (locate-dominating-file buffer-file-name "pom.xml") " && mvn compile test package")) > > i.e., M-x compile RET runs maven in a directory far above the location > > of the current file. > > The errors in the compilation buffer look like this: > > > > java.io.FileNotFoundException: null (No such file or directory) > > at java.io.FileInputStream.open(Native Method) > > at java.io.FileInputStream.(FileInputStream.java:137) > > [...] > > > where every single line in clickable in the most useless way possible: > > it asks _me_ for a directory where the file in (file.java:lineno) is located. > > (This bug report unfortunately got no response at the time.) > > I seem to recall there being fixes in this area (Java error parsing) > over the years -- are you still seeing this problem in recent versions > of Emacs? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no -- Sam Steingold