Apache Directory Studio

Details Group Tabs

Jun 16, 2018 Apache Directory Studio not starting giving the below exception. I'm using mac os x high sierra 10.13.5. I have jdk 10, 8 and 7 on my machine. So I created a.ini file with jdk to 7 and 8 but still.

Apache uses.htaccess` files in order to allow certain configuration items to be set within a file in a content directory. The disadvantage is that Apache has to re-read these files on every request that involves the directory, which can impact performance. Choose the option that best suits your needs below. Feb 21, 2021 Apache Directory Studio is a complete directory tooling platform intended to be used with any LDAP server however it is particularly designed for use with ApacheDS. It is an Eclipse RCP application, composed of several Eclipse (OSGi) plugins, that can be easily upgraded with additional ones. Ldap,ldap apache,ldap apache active directory,active directory,what is ldap?,java ldap authentication,ldap connection https,ldap create server,ldap create co. How to set the language of Studio? When browsing and expanding an entry, Studio only shows 1000 child entries. How to set the Java VM to use?

Details

Apache Directory Studio (formerly known as LDAP Studio) is a complete directory tooling platform intended to be used with any LDAP server however it is particularly designed for use with the Apache Directory Server. The following plugins are available:

  • LDAP Browser Plugin
  • LDIF Editor Plugin
  • Schema Editor Plugin
  • Plugin to start Apache Directory Server within Studio
  • A Plugin for configuring Apache Directory Server
  • Database,
  • Linux Tools,
  • Network,
  • Rich Client Applications,
  • LDAP,
  • Directory,
Additional Details
2021-03 (4.19), 2020-12 (4.18), 2020-09 (4.17), 2020-06 (4.16), 2020-03 (4.15), 2019-12 (4.14), 2019-09 (4.13), 2019-06 (4.12), 2019-03 (4.11), 2018-12 (4.10), 2018-09 (4.9)
Metrics
DateRankingInstallsClickthroughs
May 2021200/822113 (0.04%)11
April 2021221/914191 (0.04%)17
March 2021203/918250 (0.05%)15
February 2021220/911173 (0.04%)16
January 2021232/930168 (0.04%)17
December 2020234/919147 (0.03%)13
November 2020230/925170 (0.04%)23
October 2020231/927168 (0.04%)16
September 2020265/894112 (0.03%)16
August 2020274/86787 (0.02%)15
July 2020278/87095 (0.02%)13
June 2020214/867177 (0.04%)17
Errors

Unsuccessful Installs in the last 7 Days: 0

Download last 500 errors (CSV)

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

The Eclipse-based LDAP browser and directory client.

Apache Directory Studio is a complete directory tooling platform intended to be used with any LDAP server however it is particularly designed for use with ApacheDS. It is an Eclipse RCP application, composed of several Eclipse (OSGi) plugins, that can be easily upgraded with additional ones. These plugins can even run within Eclipse itself.

Build from command line

Prerequisites

  • JDK 11 or newer
  • Maven 3 or newer
  • Sufficient heap space for Maven: export MAVEN_OPTS='-Xmx512m'

Build

You can use either of those two methods to build the project :

Do it manually

Build the ‘Eclipse Target Platform’ and generate MANIFEST.MF files first

Build the main eclipse artifacts using Tycho

Use the script (which runs the two previous commands)

On Linux / macOS :

or on Windows :

Tests

  • Unit tests included in src/test/java of each plugin are executed automatically and run in ‘test’ phase

  • Core integration tests in tests/test.integration.core are executed automatically and run in ‘integration-test’ phase

  • UI integration tests based on SWTBot in tests/test.integration.ui are disabled by default. They can be enabled with -Denable-ui-tests. A failing test generates a screenshot. To not block the developer computer they can run within a virtual framebuffer:

    export DISPLAY=:99 Xvfb :99 -screen 0 1024x768x16 &

  • The core and UI integration tests run against ApacheDS, OpenLDAP, and 389ds. The ApacheDS is always started in embedded mode. The others are expected to run, e.g. with the following commands, otherwise those tests are skipped.

    docker run -it --rm -p 20389:389 -p 20636:636 --name openldap -e LDAP_TLS_VERIFY_CLIENT=never osixia/openldap:1.3.0 docker run -it --rm -p 21389:3389 -p 21636:3636 --name fedora389ds -e DS_DM_PASSWORD=admin 389ds/dirsrv bash -c “set -m; /usr/lib/dirsrv/dscontainer -r & while ! /usr/lib/dirsrv/dscontainer -H; do sleep 5; done; sleep 5; /usr/sbin/dsconf localhost backend create --suffix dc=example,dc=org --be-name example; fg”

Build issues

Tycho doesn't handle snapshot dependencies well. The first time a snapshot dependency is used within the build it is cached in ~/.m2/repository/p2. Afterwards any change in the dependency (e.g. ApacheDS or LDAP API) is not considered unless it is deleted from the cache.

To delete all Apache Directory related snapshots run:

Setup Eclipse workspace

Recommended IDE is ‘Eclipse for RCP and RAP Developers’: https://www.eclipse.org/downloads/packages/

  1. Import ‘Eclipse Target Platform’ project first

    • File -> Import... -> Maven -> Existing Maven Projects
    • Choose ‘studio/eclipse-trgt-platform’ as root directory
    • Only this single project is selected
    • Finish
  2. Initialize target platform

    • Open the eclipse-trgt-platform.target file with the ‘Target Editor’
    • Wait for the target platform to initialize, this takes multiple minutes!
  3. Import the main plugins

    • File -> Import... -> Maven -> Existing Maven Projects
    • Chosse ‘studio’ as root directory
    • All the plugins are selected
    • Finish

During import some Maven plugin connectors need to be installed, accept the installation and restart.

Run

From command line

The build produces binaries for all platforms. Archived versions can be found in product/target/products/, unpacked versions can be found below product/target/products/org.apache.directory.studio.product

Within Eclipse

  • Open the product configuration ‘org.apache.directory.studio.product’ with the Product Configuration Editor
  • Click the link ‘Launch an Eclipse application’

Release

Licenses

The root directory contains LICENSE and NOTICE files for the source distribution. The product directory contains LICENSE and NOTICE files for the binary distributions, including licenses for bundled dependencies.

Release artifacts

We release the following artifacts:

  • Source zip (the main artifact we vote on)
  • Maven artifacts
    • poms
    • plugins: pom, jar, javadoc, src
    • features: pom, jar, src
    • helps: pom, jar, src
  • P2 repositories
    • the main features (LDAP Browser, Schema Editor, ApacheDS)
    • dependencies
  • Product archives and installers for
    • Linux GTK 64bit tar.gz
    • maxOS 64bit dmg
    • Windows 64bit exe installer and zip
  • Userguides

Signing keys

Define the PGP key used to sign the artifacts and the Apple signing ID used to sign the DMG:

Note: those are Stefan's keys, replace with your own.

Preparation

Update the copyright year. Full text search/replace “2006-2021”. Also change in plugins/rcp/src/main/resources/splash.bmp image.

Test the release build: rat check, javadoc and source jar generation, installer generation, GPG signing, userguide generation:

Note: During creation of the macOS installer (DMG) the ApacheDirectoryStudio.app is signed with the ASF “Developer ID Application” key. See https://issues.apache.org/jira/browse/INFRA-16978 for the process to get one.

Test the notarization of the macOS installer (requires app-specific password generated at https://appleid.apple.com/):

Wait for the successful notarization (email notification).

Test the build and sign process for distribution packages:

Test the distribution packages:

  • Test generated bin archives, installers, and update site (if possible on all platforms).
  • Review generated user guides (pdf, html, Eclipse help)
  • Review the generated source archive
  • Verify signatures and checksums

Run UI tests (if possible on all platforms):

Release build steps

As Tycho doesn't support the maven-release-plugin the release process is as follows:

Define release version

We use a release number scheme that suites for both, Maven and Eclipse.

Directory

Example for milestone version: 2.0.0.v20150529-M9. Example for GA version: 2.0.1.v20150529.

Define a variable for later use:

Create and checkout branch

Remove OpenLDAP feature

As long as the org.apache.directory.studio.openldap.feature is not ready for release it needs to be removed from product/org.apache.directory.studio.product then commit

Set the version and commit

Create the release tag

Clone the repo and checkout the tag into a fresh directory

Run the actual release within a fresh checkout to ensure no previous build artifacts are used.

Build the release and deploy to staging Nexus repository

Close the staging Nexus repository

See https://repository.apache.org/#stagingRepositories

Notarize the macOS installer

Wait for the successful notarization (email notification), then staple (attach) the notarization ticket to the DMG:

Package and sign distribution packages

There is a script that collects and signs all update sites and distribution packages.

Run the dist script:

Afterwards all distribution packages and user guides are located in target.

Upload the distribution packages to SVN

Upload the user guides

Upload the content of target/ug/$VERSION using WebDAVs to nightlies.apache.org/directory/studio/$VERSION/userguide.

Call the vote

Start the vote.

Publish

After successful vote publish the artifacts.

Release artifacts in Nexus.

Move distribution packages from dev area to release:

Wait 24h for mirror rsync.

Update site

The update site needs to be updated.

In the following files

  • static/studio/update/compositeArtifacts--xml.html
  • static/studio/update/compositeContent--xml.html
  • static/studio/update/product/compositeArtifacts--xml.html
  • static/studio/update/product/compositeContent--xml.html

change the location path to the new release and also update the p2.timestamp to the current timestamp milliseconds (hint: date +%s000)

Website

Update version, changelog, and news:

  • config.toml: version_studio and version_studio_name
  • static/studio/.htaccess
  • source/studio/changelog.md
  • source/studio/news.md

Eclipse Marketplace

Update entry in Eclipse Marketplace: https://marketplace.eclipse.org/content/apache-directory-studio

Also test to install the plugins from marketplace.

Mac Ports

Update entry in Mac Ports: https://ports.macports.org/port/directory-studio

Apache Directory Studio Ldap

Update Apache Reporter

Apache Directory Studio

Add release to https://reporter.apache.org/addrelease.html?directory

Send announce email

Apache Directory Studio Download

Send the release announce email.

Cleanup

Delete old releases from https://dist.apache.org/repos/dist/release/directory/studio/, ensure they were already archived to https://archive.apache.org/dist/directory/studio/.

Misc tips and tricks

How to search features, plugins, versions in P2 repo?

Apache Directory Studio Linux

Start OSGi console:

Apache Directory Studio Active Directory

List all IUs within a repository:

Comments are closed.