maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David M. Lloyd (JIRA)" <j...@codehaus.org>
Subject [jira] (MCOMPILER-231) Make compiler output paths relative to the project or module root
Date Thu, 04 Sep 2014 12:55:10 GMT

    [ https://jira.codehaus.org/browse/MCOMPILER-231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=352304#comment-352304
] 

David M. Lloyd commented on MCOMPILER-231:
------------------------------------------

Sure, for example:

{noformat}
[ERROR] /home/david/src/java/jboss-mgmt/tool/src/main/java/org/wildfly/core/management/processor/model/value/MapAttributeValueTypeDescription.java:[31,12]
org.wildfly.core.management.processor.model.value.MapAttributeValueTypeDescription.Builder
is not abstract and does not override abstract method getName() in org.wildfly.core.management.processor.model.value.AttributeValueTypeDescription.Builder
{noformat}

Could automatically be rewritten as:

{noformat}
[ERROR] tool/src/main/java/org/wildfly/core/management/processor/model/value/MapAttributeValueTypeDescription.java:[31,12]
org.wildfly.core.management.processor.model.value.MapAttributeValueTypeDescription.Builder
is not abstract and does not override abstract method getName() in org.wildfly.core.management.processor.model.value.AttributeValueTypeDescription.Builder
{noformat}

or even:

{noformat}
[ERROR] src/main/java/org/wildfly/core/management/processor/model/value/MapAttributeValueTypeDescription.java:[31,12]
org.wildfly.core.management.processor.model.value.MapAttributeValueTypeDescription.Builder
is not abstract and does not override abstract method getName() in org.wildfly.core.management.processor.model.value.AttributeValueTypeDescription.Builder
{noformat}


> Make compiler output paths relative to the project or module root
> -----------------------------------------------------------------
>
>                 Key: MCOMPILER-231
>                 URL: https://jira.codehaus.org/browse/MCOMPILER-231
>             Project: Maven Compiler Plugin
>          Issue Type: Improvement
>            Reporter: David M. Lloyd
>            Priority: Minor
>
> Using the latest 3.2-SNAPSHOT as of the time of this report, all compiler messages which
start with a file name are printing the absolute file name.  There should be a filter step
which checks a message to see if it starts with the project or module path, and if so, makes
the path relative, to reduce screen real-estate consumption.
> It seems to me that the compiler plugin had this capability at some point in the past
(though maybe I've just dreamed it)?  I suppose it's even possible that if it did regress,
that it was one of my patches that did it (though I don't recall seeing this kind of code
anywhere).



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message