Issue #562 has been updated by David Coutadeur.

Status changed from Assigned to Closed
% Done changed from 0 to 100

The patch is now commited in revision 1817.
----------------------------------------
Bug #562: sample script for hsqldb should not delete opendj working directory
http://tools.lsc-project.org/issues/562

Author: David Coutadeur
Status: Closed
Priority: Normal
Assigned to: David Coutadeur
Category: Sample
Target version: 2.0.2
Problem in version: 2.0.2, trunk


This applies to current trunk version and 2.0.2.

Here is an extract of the trunk source code :

line 351

    "showdata")
      data_show
      ;;
        "startldap")
          start_ldap
          ;;
        "stopldap")
          stop_ldap
          ;;
    "cleandata")
      hsqldb_cleanData
          rm -rf /tmp/opendj-test
      ;;

Two remarks:
1. a better identation should be done
2. the line "rm -rf /tmp/opendj-test" should probably not be written here.
Indeed, if we follow the quickstart documentation, the ldap server will not 
apreciate when doing :

Edit some names in sample.csv and reload the file:
$ bin/lsc-sample --import sample.csv

For the correction, I suppose this cleandata function must not be called from 
the --import section.
So, maybe could we differentiate two cleandata functions : one cleaning only 
hsqldb, and an other one cleaning only the ldap working directory




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to