Package Details: apachedirectorystudio 2.0.0.v20210717.17-2

Git Clone URL: https://aur.archlinux.org/apachedirectorystudio.git (read-only, click to copy)
Package Base: apachedirectorystudio
Description: Eclipse based LDAP browser and directory client
Upstream URL: https://directory.apache.org/studio/
Keywords: LDAP openldap
Licenses: Apache
Submitter: None
Maintainer: SanskritFritz
Last Packager: SanskritFritz
Votes: 87
Popularity: 0.147137
First Submitted: 2009-02-13 21:06 (UTC)
Last Updated: 2024-01-28 19:15 (UTC)

Dependencies (3)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

naramski commented on 2018-03-20 18:59 (UTC) (edited on 2018-03-20 19:00 (UTC) by naramski)

@zokker13 : I can send you a patch if you want. I put a copy of the diff it in my last comment. Basically, you can easily update it by hand. It is :

Replacing :

http://www.us.apache.org/

By

http://www-eu.apache.org

As it seems the archive is not availaible on us repository anymore.

zokker13 commented on 2018-03-19 21:31 (UTC) (edited on 2018-03-19 21:33 (UTC) by zokker13)

@mugnipper: Sorry for the delay, somehow didn't realised someone wrote here. Can you issue a curl command? curl http://www.us.apache.org/dist/directory/studio/2.0.0.v20170904-M13/ApacheDirectoryStudio-2.0.0.v20170904-M13-linux.gtk.x86_64.tar.gz > /tmp/apa.tar.gz

@naramski: Do you want to send me a patch or should I just include the change by hand?

naramski commented on 2018-03-19 20:16 (UTC) (edited on 2018-03-19 20:18 (UTC) by naramski)

I propose this patch, that seems to solve the problem :

diff --git a/PKGBUILD b/PKGBUILD
index c0650cc..9800def 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,8 +16,8 @@ url="http://directory.apache.org/studio/"
 license=('Apache')
 depends=('java-runtime=8' 'gtk2')
 source=('apachedirectorystudio.desktop' 'apachedirectorystudio.png')
-source_i686=("http://www.us.apache.org/dist/directory/studio/$_pkgver/$_pkgname-$_pkgver-linux.gtk.x86.tar.gz")
-source_x86_64=("http://www.us.apache.org/dist/directory/studio/$_pkgver/$_pkgname-$_pkgver-linux.gtk.x86_64.tar.gz")
+source_i686=("http://www-eu.apache.org/dist/directory/studio/$_pkgver/$_pkgname-$_pkgver-linux.gtk.x86.tar.gz")
+source_x86_64=("http://www-eu.apache.org/dist/directory/studio/$_pkgver/$_pkgname-$_pkgver-linux.gtk.x86_64.tar.gz")
 sha256sums=('d0a241c30b2a04a2d7f05f6d0f53de966138095e062a59266cf90750549bfc88'
             '400929c64547773a1bba1c82f7c12f9cd55f2a68b43f5fcebc3c4d07cbe6549b')
 sha256sums_i686=('96281c2af3b1ea04e423b41b465a93b21607ce41b3dc3771861e0b52557eb5af')
@@ -31,7 +31,7 @@ package() {

   ln -sf /opt/$_pkgname/$_pkgname usr/bin/$_pkgname
   ln -sf /opt/$_pkgname/$_pkgname usr/bin/$pkgname
-  
+
   install -Dm644 "$srcdir"/apachedirectorystudio.desktop "$pkgdir"/usr/share/applications/apachedirectorystudio.desktop
   install -Dm644 "$srcdir"/apachedirectorystudio.png "$pkgdir"/usr/share/pixmaps/apachedirectorystudio.png
 }

but I duno how to include it in the original source tree.

mugnipper commented on 2018-03-07 13:12 (UTC)

The Download keeps failing:

curl: (18) transfer closed with 119918522 bytes remaining to read ==> FEHLER: Fehler beim Download von http://www.us.apache.org/dist/directory/studio/2.0.0.v20170904-M13/ApacheDirectoryStudio-2.0.0.v20170904-M13-linux.gtk.x86_64.tar.gz

It downloads about 10% and then stops, short afterwards it fails. I didn't found a way to download it manually and offer it yaourt as cache. Download via Chrome works...

Any idea?

zokker13 commented on 2018-01-11 23:36 (UTC)

Mh.. okay, seems to be my fault. I thought the JVM was downwards compatible but that doesn't seem to be the case: "Studio requires Java 7 or Java 8 (recommended). Java 9 is not yet supported."

Since another user complained about Java7 I'll pin it to Java8 and hope that will be good enough. Thanks for reporting this.

grawity commented on 2018-01-09 05:33 (UTC)

That seems to be a Java 9-related problem.

mweinelt commented on 2018-01-09 03:50 (UTC)

Last working version for me is apachedirectorystudio 2.0.0.v20161101.12-1.

The latest versions fails ib startup as follows:

!SESSION 2018-01-09 04:50:26.636 -----------------------------------------------
eclipse.buildId=unknown
java.version=9.0.1
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Framework arguments:  /studio-rcp/resources/icons/linux/studio.xpm -v
Command-line arguments:  -os linux -ws gtk -arch x86_64 /studio-rcp/resources/icons/linux/studio.xpm -v

!ENTRY org.eclipse.osgi 4 0 2018-01-09 04:50:28.716
!MESSAGE Anwendungsfehler
!STACK 1
org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
    at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:386)
    at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:294)
    at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
    at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(E4Application.java:490)
    at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:504)
    at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:203)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:632)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
    at org.apache.directory.studio.Application.start(Application.java:51)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
Caused by: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
    at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:151)
    at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:375)
    ... 23 more
Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.eclipse.e4.core.di_1.6.1.v20160712-0927
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:410)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
    at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
    ... 25 more

!ENTRY org.eclipse.e4.ui.workbench 4 0 2018-01-09 04:50:28.738
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
    at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:426)
    at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:154)
    at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:78)
    at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
    at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:74)
    at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:176)
    at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:106)
    at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:139)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:903)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
    at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
    at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
    at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
    at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:156)
    at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
    at org.eclipse.osgi.container.Module.doStop(Module.java:634)
    at org.eclipse.osgi.container.Module.stop(Module.java:498)
    at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
    at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.1.v20160712-0927
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:410)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
    at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
    at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
    ... 21 more

zokker13 commented on 2017-12-04 19:59 (UTC)

I updated the deps to reference >=8 but I wonder if the studio has strict requirements to JDK or not as I had it already installed. Please let me know if it still fails.

kotnik commented on 2017-12-04 13:42 (UTC)

Latest upgrade did not force JRE upgrade. Fails to run with:

Version 1.7.0_151 of the JVM is not suitable for this product. Version: 1.8 or greater is required.

zokker13 commented on 2017-12-01 08:54 (UTC)

Cool, thanks.