02 Dec, 2013

14 commits

  • …mcat6 when OpenDJ is an embeddedDS
    
    * refine the class loading exception handling.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9878 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@9877 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     
  • …mcat6 when OpenDJ is an embeddedDS
    
    * avoid initializing classes during class property value validation as this causes dependencies to be loaded which may be missing in the case where the component is disabled. The class will be fully loaded later if the component is enabled (verified with HTTP connection handler)
    * prevent class loading errors from causing the server initialization to hang
    * attempt to catch and propagate class loading errors up the stack. They are still not displayed in any logs (OPENDJ-1227).
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9876 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • Reducing compilation errors in org.opends.server.admin packages : 
     all classes in package org.opends.server.admin.condition compile
     
    * Simple changes in org.opends.server.admin.condition package
    ** use Validator class from SDK 
    ** remove API annotation
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9875 41b1ffd8-f28e-4786-ab96-9950f0a78031
    nicolas.capponi@forgerock.com
     
  • Reducing compilation errors in org.opends.server.admin packages : 
     all classes in package org.opends.server.admin.client.spi compile
     
    * Simple changes in org.opends.server.admin.client.spi package
    ** replace Message class by LocalizableMessage
    ** remove API annotation
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9874 41b1ffd8-f28e-4786-ab96-9950f0a78031
    nicolas.capponi@forgerock.com
     
  • Reducing compilation errors in org.opends.server.admin packages : 
     all classes but one in package org.opends.server.admin.client.ldap compile
     
    * Simple changes in org.opends.server.admin.client.ldap package
    ** replace Message class by LocalizableMessage
    ** use Validator class from SDK
    ** other minor changes
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9873 41b1ffd8-f28e-4786-ab96-9950f0a78031
    nicolas.capponi@forgerock.com
     
  • Reducing compilation errors in org.opends.server.admin packages : 
     all classes in package org.opends.server.admin.client compile
     
    * Simple changes in org.opends.server.admin.client package
    ** replace Message class by LocalizableMessage
    ** use Validator class from SDK
    ** other minor changes
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9872 41b1ffd8-f28e-4786-ab96-9950f0a78031
    nicolas.capponi@forgerock.com
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@9871 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • Reducing compilation errors in org.opends.server.admin packages
     
    * Simple changes in org.opends.server.admin package
    ** replace Message class by LocalizableMessage
    ** use Validator class from SDK
    
    * Add stub methods in DirectoryServer and Aci classes to satisfy dependencies
    
    * Remove log level prefix from properties names in admin.properties file
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9870 41b1ffd8-f28e-4786-ab96-9950f0a78031
    nicolas.capponi@forgerock.com
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@9869 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • In "prepare-release" target, implemented the check on the URL used for buildings documentation.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9868 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • …late 02-config was deleted, added a check on template existence before copying it.
    - Added i18n/path in messages.
    - Added message ouput for post upgrade task.
    - Moved temp file creation as it leaves .temp files in schema folder when upgrade fails.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9867 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     
  • With ivy "resolve" target, separated jar depencencies into "source", "javadoc", "test" and "compile" directories under "lib" directory.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9866 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • 
    
    build.xml:
    Added targets "prepare-release", "check-no-snapshot-dependencies" and "resolve-snapshots-separately".
    
    ivy.xml:
    Now depends on the latest from b2.6-sdk.
    
    
    
    
    Sample output on failure:
    ------------------------------------------------------------------------
    branches/b2.6 $ ant prepare-release
    Buildfile: /opendj2/branches/b2.6/build.xml
    Trying to override old definition of task javac
    
    clean-lib:
    
    check-ivy-installed:
    
    download-ivy:
    
    install-ivy:
    
    resolve-snapshots-separately:
    [ivy:retrieve] ...
    [ivy:retrieve]  23 artifacts copied, 0 already retrieved (9038kB/30ms)
    
    check-no-snapshot-dependencies:
    
    BUILD FAILED
    /opendj2/branches/b2.6/build.xml:2775: The project must not depend on snapshot dependencies. Found: opendj-ldap-sdk-2.6.5-SNAPSHOT.jar;opendj-rest2ldap-2.6.5-SNAPSHOT.jar;opendj-rest2ldap-servlet-2.6.5-SNAPSHOT.jar;opendj-server2x-adapter-2.6.5-SNAPSHOT.jar
    ------------------------------------------------------------------------
    
    
    
    
    Sample output on success:
    ------------------------------------------------------------------------
    [ivy:retrieve]  23 artifacts copied, 0 already retrieved (9038kB/28ms)
    
    check-no-snapshot-dependencies:
         [echo] OK.
    
    prepare-release:
         [echo] 
         [echo] Previous checks succeeded.
         [echo] 
         [echo] Please:
         [echo] 1- Check the archive has no build number
         [echo] 2- Check the archive contains the license
         [echo] 3- Run the tests
         [echo] 4- Check that documentation refers to forgerock.com instead of forgerock.org
         [echo]     
    ------------------------------------------------------------------------
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9865 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     

29 Nov, 2013

4 commits

  • LDAPReplicationDomain.java:
    In parseFractionalConfig(), added back the null checks on the Iterator because some client code passes in null.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9863 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • LDAPReplicationDomain.java:
    Removed private modifier that was added too eagerly.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9861 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • Added missing spaces in exception messages.
    Extracted methods getExpandedNames() and needsExpanding() from getIncludedAttributes().
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9860 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • * applied suggested fix.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9858 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     

28 Nov, 2013

7 commits

  • ExternalChangeLogTest.java:
    In searchOnChangelog(), added the parameters expectedNbEntries and testName + added a loop that tries during 1s to get the expected number of entries + moved assert on nb of returned entries here + moved calls to debugAndWriteEntries() here.
    Removed now unnecessary calls to Thread.sleep().
    Added assertSuccessful(LDAPMessage).
    Reduced scope for variables of type SearchResultDoneProtocolOp or SearchResultEntryProtocolOp + removed now useless statements making use of them.
    In ECLCompatWriteReadAllOps(), removed useless calls to toLowercase().
    Used Assertions.assertThat().
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9857 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • …ce the new Maven module and package layout has been validated
    
    * include classpath in opendj-ldap-toolkit manifest so that it does not need to be manually specified when running / compiling samples
    * update dev guide to reflect changes to module layout, svn location
    * replaced hard-coded values in the dev guide with pom properties where possible to improve maintainability.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9856 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • …runk once the new Maven module and package layout has been validated
    
    * Minor improvements to example and toolkit download sections.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9855 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • At this point, all classes generated from xml definitons 
    compile.
    
    * Fix import in serverMO.xsl
    
    * Add some server classes to satisfy missing dependencies 
      for generated classes
     * ConfigException and other exceptions it depends on
     * AddressMask class
     * ConfigChangeResult 
    
    * Add stubs of some server classes to satisfy missing
      dependencies for generated classes
     * DirectoryServer
     * Aci  
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9854 41b1ffd8-f28e-4786-ab96-9950f0a78031
    nicolas.capponi@forgerock.com
     
  • …runk once the new Maven module and package layout has been validated
    
    * fix dependencies.
    
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9853 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • Added toString() for debuggging.
    Added or completed javadocs.
    Fixed a little bug in test code.
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@9852 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@9851 41b1ffd8-f28e-4786-ab96-9950f0a78031
    violette
     

27 Nov, 2013

9 commits


26 Nov, 2013

6 commits