maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@codehaus.org>
Subject [jira] (MNG-5579) Unify error output/check logic from shell and batch scripts
Date Sat, 08 Feb 2014 22:30:57 GMT

     [ https://jira.codehaus.org/browse/MNG-5579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Osipov updated MNG-5579:
--------------------------------

    Description: 
Currently, 

both output two different messages.

Shell:
{quote}
Error: JAVA_HOME is not defined correctly.
   We cannot execute $JAVACMD
{quote}

while batch says:
{quote}
Error: JAVA_HOME not found in your environment.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
{quote}

Same applies for {{M2_HOME}}. Additionally, testing for the Java command is handled different
in both scripts. That should be unified in one go.

  was:
Currently, 

both output two different messages.

Shell:
{quote}
Error: JAVA_HOME is not defined correctly.
   We cannot execute $JAVACMD
{quote}

while batch says:
{quote}
Error: JAVA_HOME not found in your environment.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.
{quote}

Same applies for {{M2_HOME}. Additionally, testing for the Java command is handled different
in both scripts. That should be unified in one go.


> Unify error output/check logic from shell and batch scripts
> -----------------------------------------------------------
>
>                 Key: MNG-5579
>                 URL: https://jira.codehaus.org/browse/MNG-5579
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Command Line
>    Affects Versions: 3.1.1
>            Reporter: Michael Osipov
>            Priority: Minor
>
> Currently, 
> both output two different messages.
> Shell:
> {quote}
> Error: JAVA_HOME is not defined correctly.
>    We cannot execute $JAVACMD
> {quote}
> while batch says:
> {quote}
> Error: JAVA_HOME not found in your environment.
> Please set the JAVA_HOME variable in your environment to match the
> location of your Java installation.
> {quote}
> Same applies for {{M2_HOME}}. Additionally, testing for the Java command is handled different
in both scripts. That should be unified in one go.



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

Mime
View raw message