You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "hugo lassiege (JIRA)" <ji...@codehaus.org> on 2008/03/31 09:59:58 UTC

[jira] Created: (MJAR-104) Jarsigner is not search on the right location for AIX and JAVA 1.5

Jarsigner is not search on the right location for AIX and JAVA 1.5
------------------------------------------------------------------

                 Key: MJAR-104
                 URL: http://jira.codehaus.org/browse/MJAR-104
             Project: Maven 2.x Jar Plugin
          Issue Type: Bug
          Components: sign
         Environment: IBM AIX 5.3 and JAVA 1.5
            Reporter: hugo lassiege


Hi,

On previous versions of JAVA for AIX, the JAVA was a JDK and the JAVA_HOME was under JAVA/jre/.... 
So, for AIX, the plugin search the jarsigner executable under JAVA_HOME/../sh :



    private static File getJDKCommandExe( String command )
414     {
415         String fullCommand = command + ( SystemUtils.IS_OS_WINDOWS ? ".exe" : "" );
416 
417         File exe;
418 
419         // For IBM's JDK 1.2
420         if ( SystemUtils.IS_OS_AIX )
421         {
422             exe = new File( SystemUtils.getJavaHome() + "/../sh", fullCommand );
423         }


However, since JAVA 1.5, AIX deliver a JRE and there is no need to search in this strange location. jarsigner is in the same place as for SUN or Linux : JAVA_HOME/bin

The test should be enhance for java 1.5.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MJAR-104) Jarsigner is not search on the right location for AIX and JAVA 1.5

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MJAR-104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann closed MJAR-104.
----------------------------------

      Assignee: Benjamin Bentmann
    Resolution: Won't Fix

The jarsigner related goals in this plugin will be deprecated, please use the dedicated [maven-jarsigner-plugin|http://maven.apache.org/plugins/maven-jarsigner-plugin/] which should already provide an improved search algo for the jarsigner tool.

> Jarsigner is not search on the right location for AIX and JAVA 1.5
> ------------------------------------------------------------------
>
>                 Key: MJAR-104
>                 URL: http://jira.codehaus.org/browse/MJAR-104
>             Project: Maven 2.x Jar Plugin
>          Issue Type: Bug
>          Components: sign
>         Environment: IBM AIX 5.3 and JAVA 1.5
>            Reporter: hugo lassiege
>            Assignee: Benjamin Bentmann
>
> Hi,
> On previous versions of JAVA for AIX, the JAVA was a JDK and the JAVA_HOME was under JAVA/jre/.... 
> So, for AIX, the plugin search the jarsigner executable under JAVA_HOME/../sh :
>     private static File getJDKCommandExe( String command )
> 414     {
> 415         String fullCommand = command + ( SystemUtils.IS_OS_WINDOWS ? ".exe" : "" );
> 416 
> 417         File exe;
> 418 
> 419         // For IBM's JDK 1.2
> 420         if ( SystemUtils.IS_OS_AIX )
> 421         {
> 422             exe = new File( SystemUtils.getJavaHome() + "/../sh", fullCommand );
> 423         }
> However, since JAVA 1.5, AIX deliver a JRE and there is no need to search in this strange location. jarsigner is in the same place as for SUN or Linux : JAVA_HOME/bin
> The test should be enhance for java 1.5.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira