buildframework/helium/tools/common/java/src/com/nokia/ant/taskdefs/LDAP.java
changeset 179 d8ac696cc51f
parent 1 be27ed110b50
equal deleted inserted replaced
1:be27ed110b50 179:d8ac696cc51f
    33     private String url;
    33     private String url;
    34     private String rootdn;
    34     private String rootdn;
    35     private String filter;
    35     private String filter;
    36     private String key;
    36     private String key;
    37     private String property;
    37     private String property;
       
    38     
    38         
    39         
    39     public void execute()
    40     public void execute()
    40     {
    41     {
    41         
    42         
    42         if (url == null)
    43         if (url == null)
    70                 return;
    71                 return;
    71             }
    72             }
    72         } 
    73         } 
    73         catch (NamingException exc) 
    74         catch (NamingException exc) 
    74         {
    75         {
    75             throw new BuildException(exc);
    76             throw new BuildException(exc.getMessage());
       
    77         }
       
    78         catch (NullPointerException e) 
       
    79         {
       
    80             // As uer will not get affected due to this error not failing build.
       
    81             log("Not able to retrive LDAP information for " + filter);
    76         }
    82         }
    77     }
    83     }
    78 
    84 
    79     public String getUrl() 
    85     public String getUrl() 
    80     {
    86     {