commit | 7a4f8ed4cb2d9e7df5b1dcda593b28a3e07824e7 | [log] [tgz] |
---|---|---|
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | Mon Jul 08 00:41:36 2024 +0000 |
committer | GitHub <noreply@github.com> | Mon Jul 08 00:41:36 2024 +0000 |
tree | 4831dbeded831220030911e1464f0c00db4cc769 | |
parent | c04e4d601524af2fba0d0f7c8718c39d04bfc2ba [diff] |
Bump actions/upload-artifact from 4.3.1 to 4.3.4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/5d5d22a31266ced268874388b861e4b58bb5c2f3...0b2256b8c012f0828dc542b3febcab082c67f72b) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
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.
export MAVEN_OPTS="-Xmx512m"
You can use either of those two methods to build the project :
Build the ‘Eclipse Target Platform’ and generate MANIFEST.MF files first
mvn -f pom-first.xml clean install
Build the main eclipse artifacts using Tycho
mvn clean install
On Linux / macOS :
$ ./build.sh
or on Windows :
> build.bat
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”
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:
rm -rf ~/.m2/repository/p2/osgi/bundle/org.apache.directory.* <workspace>/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/*
Recommended IDE is ‘Eclipse for RCP and RAP Developers’: https://www.eclipse.org/downloads/packages/
Import ‘Eclipse Target Platform’ project first
Initialize target platform
eclipse-trgt-platform.target
file with the ‘Target Editor’Import the main plugins
During import some Maven plugin connectors need to be installed, accept the installation and restart.
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
How to search features, plugins, versions in P2 repo?
Start OSGi console:
ss p2.console felix:start -t 999
List all IUs within a repository:
provliu http://download.eclipse.org/eclipse/updates/4.18/