You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Donald Woods (JIRA)" <ji...@apache.org> on 2007/04/24 15:34:15 UTC

[jira] Created: (GERONIMO-3113) geronimo-maven-plugin creates a java.endorsed.dirs will a null path member on Linux

geronimo-maven-plugin creates a java.endorsed.dirs will a null path member on Linux
-----------------------------------------------------------------------------------

                 Key: GERONIMO-3113
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3113
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Maven Plugins for G
    Affects Versions: 2.0-M5
         Environment: Linux on Intel (SLES10 or RHEL4)
            Reporter: Donald Woods
         Assigned To: Donald Woods
            Priority: Minor
             Fix For: 2.0-M5


When the geronimo-maven-plugin creates the java.endorsed.dirs, its creating the following string on Linux and Windows, because the JDK does not contain a lib/endorsed directory by default -
   java.endorsed.dirs=null:/home/drwoods/g20/lib/endorsed
The fix, is to handle a null or empty string from the System.getProperty() call in appendSystemPath() in the plugin code...


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (GERONIMO-3113) geronimo-maven-plugin creates a java.endorsed.dirs will a null path member on Linux

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods resolved GERONIMO-3113.
------------------------------------

    Resolution: Fixed

Committed revision 531993 in trunk.
Reused code from Geronimo 1.1 which doesn't use the System property value if its empty.

> geronimo-maven-plugin creates a java.endorsed.dirs will a null path member on Linux
> -----------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3113
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3113
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Maven Plugins for G
>    Affects Versions: 2.0-M5
>         Environment: Linux on Intel (SLES10 or RHEL4)
>            Reporter: Donald Woods
>         Assigned To: Donald Woods
>            Priority: Minor
>             Fix For: 2.0-M5
>
>
> When the geronimo-maven-plugin creates the java.endorsed.dirs, its creating the following string on Linux and Windows, because the JDK does not contain a lib/endorsed directory by default -
>    java.endorsed.dirs=null:/home/drwoods/g20/lib/endorsed
> The fix, is to handle a null or empty string from the System.getProperty() call in appendSystemPath() in the plugin code...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.