Re: [VOTE] Release of Apache Directory Studio 2.0.0.v20150606-M9

2015-06-07 Thread Emmanuel Lécharny
Le 07/06/15 21:39, Stefan Seelmann a écrit : On 06/07/2015 08:45 PM, Emmanuel Lécharny wrote: The only thing that I have a pb wit is the installation of plugins. When I use the https://people.apache.org/~seelmann/2.0.0.v20150606-M9/ApacheDirectoryStudio-2.0.0.v20150606-M9-p2repository.zip

Re: [VOTE] Release of Apache Directory Studio 2.0.0.v20150606-M9

2015-06-08 Thread Emmanuel Lécharny
Has anyone tested it on windows ?

Re: [ApacheDS][Studio] Issues with getting up and running and making modifications

2015-06-03 Thread Emmanuel Lécharny
Le 03/06/15 11:46, Pawan Thakur a écrit : Hello, I am having this issue as reported here. http://comments.gmane.org/gmane.comp.apache.incubator.directory.devel/45162 Please try with the packages I pushed on http://people.apache.org/~elecharny

Re: Kerby release

2015-06-03 Thread Emmanuel Lécharny
Le 03/06/15 16:41, Colm O hEigeartaigh a écrit : Hi Kai, Answers inline. 1. What version would we have for the release, some options from my view: 1.0, 0.1, or 1.0-M1 and so on. I saw we just released Apache Directory Server 2.0.0-M20, would Kerby project follow this style or

[Studio] Pb with some auto-resizing Text widget

2015-06-03 Thread Emmanuel Lécharny
Hi, I'va an issue with some Text that is feed by a Dialog, and which expands way too much when the Dialog generates a long text. Typically, here is what teh screen looks like before the edition : +-+ | Tuning

Re: [Studio] Pb with some auto-resizing Text widget

2015-06-04 Thread Emmanuel Lécharny
Le 03/06/15 23:40, Emmanuel Lécharny a écrit : Le 03/06/15 22:54, Stefan Seelmann a écrit : Hi Emmanuel, I played a bit with it, changed * new GridData( GridData.FILL_HORIZONTAL ) * toolkit.createText( ldapLimitSectionComposite, , SWT.WRAP | SWT.MULTI ); but nothing helped, I'm also

Re: [Studio] Pb with some auto-resizing Text widget

2015-06-04 Thread Emmanuel Lécharny
Le 04/06/15 10:37, Emmanuel Lécharny a écrit : Le 03/06/15 23:40, Emmanuel Lécharny a écrit : Le 03/06/15 22:54, Stefan Seelmann a écrit : Hi Emmanuel, I played a bit with it, changed * new GridData( GridData.FILL_HORIZONTAL ) * toolkit.createText( ldapLimitSectionComposite, , SWT.WRAP

Re: Kerby release

2015-06-04 Thread Emmanuel Lécharny
Le 04/06/15 02:38, Zheng, Kai a écrit : Thanks Colm and Emmanuel for the thoughts and help! The numering scheme we use for ApacheDS is a bit complex and its history is long... The very good history and I see why. Maybe we could have a major release like 2.0.0 claiming no backward support?

LDAPCon 2015

2015-06-19 Thread Emmanuel Lécharny
Hi guys, just in case, the deadline for LDAP Con 2015 is approaching. If you feel like submitting a proposal, please check that : http://ldapcon.org/2015/?page_id=5 Anyone from Kerby ? Thanks !

[Studio] startup performances

2015-06-19 Thread Emmanuel Lécharny
Hi guys, I just profiled Studio this morning, and I see nothing in our code that causes the slowdown we can perceive with 2.0.0-M9 compared to the previous version. I suspect LUNA to be more costly than Kepler or JUNO... Anyone has tested Studio with Mars ?

Re: LDAPCon 2015

2015-06-19 Thread Emmanuel Lécharny
Le 19/06/15 15:54, Shawn McKinney a écrit : The apache ldap api could use a bit of promoting. I don’t believe there has been much said there about it in some time. It’s stable and ready for prime time. The ldap templates would be an interesting sub-topic. Very true. i'll add one fo LDAP

Re: [Studio] Openldap configuration editor status

2015-06-27 Thread Emmanuel Lécharny
Le 27/06/15 15:59, Emmanuel Lécharny a écrit : o Otherwise, there are 37 AttributeTypes tat are shared across many configuration ObjectClasses. I will have to create dedicated widgets for those guys, in order to avoid code duplication. This is not really complicated, just an externalisation

[Studio] Openldap configuration editor status

2015-06-27 Thread Emmanuel Lécharny
Hi guys, end of june is approaching... I wish days have 48 hours, weeks 14 days and month 60 ! Hre is a bit of update about the Studio OpenLDAP configuration editor. o First, all the parameters from the olcGlobal ObjectClass are now handled in the main tabs (Overview, Security, Tuning and

[Studio] Release location

2015-06-26 Thread Emmanuel Lécharny
Hi guys, I was in the process of cleaning the dist.apache.org repository from all the ancient versions. The current structure for our distribution package is the following : https://dist.apache.org/repos/dist/release/directory/ KEYS apacheds/ dist/ 2.0.0-M20/ api/ dist/ 1.0.0-M30/

Re: Kerby release

2015-06-11 Thread Emmanuel Lécharny
Le 11/06/15 11:59, Zheng, Kai a écrit : OK see. So I guess for obsolete branches, we should clean up if we don't use them any longer. I will get rid of mine. Thanks. Sure you can cut them. They will remain available anyway :-)

Re: Kerby release

2015-06-11 Thread Emmanuel Lécharny
Le 11/06/15 11:39, Zheng, Kai a écrit : Thanks Emmanuel for the quick response! That's quite enough, maybe it's still good to have 2.0.0 as you said previously, because for some long term features we probably would use it instead of 2.0.0-RC1? We can create a 2.0.0 later. No urge. Everything

[Studio] OpenLDAP config editor status

2015-06-11 Thread Emmanuel Lécharny
Hi guys, a quick heads up on what's going on for the OpenLDAP Config editor, which is scheduled for the next Studio release o The global configuration design is almsot completed. There are now 4 of the 6 pages that are working : - 'overview' which deal with general parameters - 'database' was

Re: Kerby release

2015-06-11 Thread Emmanuel Lécharny
Le 11/06/15 11:31, Zheng, Kai a écrit : I'm going to create some branches related to the release. 1. Will clean up or remove the following branches. Please let me know if you have any concern. I suggest we don't create such branches in the official repo just for personal development

Re: Kerby release

2015-06-11 Thread Emmanuel Lécharny
Le 11/06/15 10:43, Zheng, Kai a écrit : For DIRKRB component in the JIRA, now would we have target versions like 1.0.0-RC1, 1.0.0-GA (for the final version), and 2.0.0 version as discussed? With such, we are then able to sort out all the issues to appropriate target versions. I thought it

Re: [Studio] OpenLDAP config editor status

2015-06-11 Thread Emmanuel Lécharny
Le 11/06/15 12:28, Emmanuel Lécharny a écrit : Hi guys, a quick heads up on what's going on for the OpenLDAP Config editor, which is scheduled for the next Studio release o The global configuration design is almsot completed. There are now 4 of the 6 pages that are working : - 'overview

Re: [Studio] OpenLDAP config editor status

2015-06-11 Thread Emmanuel Lécharny
Le 11/06/15 22:19, Stefan Seelmann a écrit : On 06/11/2015 12:28 PM, Emmanuel Lécharny wrote: Hi guys, a quick heads up on what's going on for the OpenLDAP Config editor, which is scheduled for the next Studio release o The global configuration design is almsot completed. There are now 4

Re: Kerby building slower now

2015-06-16 Thread Emmanuel Lécharny
Le 16/06/15 05:00, Zheng, Kai a écrit : Hi, Looks like Kerby isn't building fast any more. Would be good to see why it takes so long time for some modules, particularly the LDAP backend one. Thanks. Regards, Kai [INFO] Apache Kerby Project .. SUCCESS

[Studio] OpenLDAP config editor read and write as LDIF

2015-06-16 Thread Emmanuel Lécharny
Le 11/06/15 12:28, Emmanuel Lécharny a écrit : Hi guys, a quick heads up on what's going on for the OpenLDAP Config editor, which is scheduled for the next Studio release o Some issue has to be fixed when we try to save the config. This is due to some delta being computed with some modify

Re: [Studio] OpenLDAP config editor status

2015-06-12 Thread Emmanuel Lécharny
Le 11/06/15 22:19, Stefan Seelmann a écrit : On 06/11/2015 12:28 PM, Emmanuel Lécharny wrote: Hi guys, o Some issue has to be fixed when we try to save the config. This is due to some delta being computed with some modify being sent when they should not. I will review the full process

Re: [Studio] Move studio maven plugin to attic

2015-06-14 Thread Emmanuel Lécharny
Le 14/06/15 19:51, Stefan Seelmann a écrit : Hi, now that Studio uses Tycho, we don't need our own Maven plugin that generated manifest.mf and eclipse files. I'd suggest to move https://svn.apache.org/repos/asf/directory/buildtools/studio-plugin to

Re: [Studio] Dealing with various LDAP servers...

2015-06-17 Thread Emmanuel Lécharny
Le 18/06/15 00:59, Stefan Seelmann a écrit : On 06/17/2015 11:32 PM, Emmanuel Lécharny wrote: Le 17/06/15 21:11, Stefan Seelmann a écrit : So you talk about the Schema Editor, right? no, in my case, I'm talking about the OpenLDAP config editor, which tries to read the config from a running

Re: [Studio] Dealing with various LDAP servers...

2015-06-17 Thread Emmanuel Lécharny
Le 17/06/15 21:11, Stefan Seelmann a écrit : Hi Emmanuel, On 06/17/2015 04:21 PM, Emmanuel Lécharny wrote: Hi guys, we have a serious problem with the way we deal with the various LDAP server we want to support. Well, I would say we try to avoid knowing which server we are talking

Re: Kerby building slower now

2015-06-18 Thread Emmanuel Lécharny
Le 18/06/15 12:08, Zheng, Kai a écrit : Hi Emmanuel, Ah looks like your dev machine is much powerful than mine. I have a MBP with a 2.7 Ghz core i7, 16 Gb of mem and a SSD. Is that really a 4x to 5x faster than yours ?

Re: Kerby building slower now

2015-06-18 Thread Emmanuel Lécharny
Le 18/06/15 12:37, Zheng, Kai a écrit : Yes I guess so, only 4GB memory on my laptop. :) What realy makes a difference is a SSD vs spinning disk. For tests that use ApacheDS, it will be 3 to 4 times faster, simply becuase there are no moving parts involved. Otherwise, Intel has a load of money,

[Studio] Dealing with various LDAP servers...

2015-06-17 Thread Emmanuel Lécharny
Hi guys, we have a serious problem with the way we deal with the various LDAP server we want to support. Well, I would say we try to avoid knowing which server we are talking to, expecting all the servers to provide pure and compatible LDAP information. Sadly, this is not a perfect world, and

Re: shutdown fails to complete cleanly M20

2015-06-12 Thread Emmanuel Lécharny
Le 12/06/15 19:04, Mark-nospam a écrit : I have ADS embedded in a simple loader application. After switching to M20, the JVM doesn't exit when it should. The was working in M17. I ran a few tests with no connections in this case it appears to start / stop cleanly. I tried M19 same

Re: [Studio] OpenLDAP config editor status

2015-06-15 Thread Emmanuel Lécharny
A quick update... I have fixed the existing pages, to be able to save the data to the OpenLDAP server. It now works. I have pushed the very first version on people.apache.org/~elecharny the options page is not completed yet, but the overlay, tuning, and security are ok. feel free to test

Re: [Studio] OpenLDAP config editor status

2015-06-15 Thread Emmanuel Lécharny
Le 15/06/15 23:54, Stefan Seelmann a écrit : Hi Emmanuel, I'm afraid the OpenLDAP plugins are not included in your uploaded version. For the release I removed the feature from the Studio product. I'll re-add them now. Sorry. Ah, yep, you are right. Anyway the build was bad, I had to fix an

Re: [Studio] OpenLDAP config editor status

2015-06-15 Thread Emmanuel Lécharny
Le 16/06/15 00:23, Stefan Seelmann a écrit : On 06/16/2015 12:16 AM, Emmanuel Lécharny wrote: Le 15/06/15 23:54, Stefan Seelmann a écrit : Hi Emmanuel, I'm afraid the OpenLDAP plugins are not included in your uploaded version. For the release I removed the feature from the Studio product

Re: directory-fortress-commander git commit: FC-105 - Replace with

2015-05-28 Thread Emmanuel Lécharny
Hi Shawn, You know that using the notation will not make fortress working anymore with Java 6 ? Is that ok ?

[Studio] Tests ?

2015-05-29 Thread Emmanuel Lécharny
Hi Stefan, I'd like to test some of the classes I'm writing in Studio, using junit (they are not GUI classes). ATM, we don't define junit as a dependence in any of the Studio projects. What would be the best way to do that ? Thanks !

Re: [Studio] Tests ?

2015-05-29 Thread Emmanuel Lécharny
Le 29/05/15 17:01, phantomjinx a écrit : On 29/05/15 15:53, Emmanuel Lécharny wrote: Hi Stefan, I'd like to test some of the classes I'm writing in Studio, using junit (they are not GUI classes). ATM, we don't define junit as a dependence in any of the Studio projects. What would be the best

Re: [Fortress] Sonar...

2015-05-31 Thread Emmanuel Lécharny
Le 31/05/15 18:20, Shawn McKinney a écrit : On May 21, 2015, at 7:09 AM, Emmanuel Lécharny elecha...@gmail.com wrote: Le 21/05/15 13:32, Shawn McKinney a écrit : On May 20, 2015, at 8:52 AM, Emmanuel Lécharny elecha...@gmail.com wrote: I would say : fix whatever seems simple to fix. Low

Re: svn commit: r1682683 - /directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers/TimeLimitWrapper.java

2015-05-31 Thread Emmanuel Lécharny
Le 31/05/15 16:48, Emmanuel Lécharny a écrit : Le 31/05/15 16:25, Stefan Seelmann a écrit : Hi Emmanuel, just FYI, I @Ignore the TimeLimitWrapperTest because it fails, can you please have a look? Ah, sorry, my bad ! I haven't checked the tests before committing my last changes. I'll commit

Re: [Fortress] Sonar...

2015-05-31 Thread Emmanuel Lécharny
Le 01/06/15 00:03, Shawn McKinney a écrit : On May 31, 2015, at 3:06 PM, Emmanuel Lécharny elecha...@gmail.com wrote: That would make this package containing many many classes... Not very convenient. Such cyclic dependencies are only problematic when the project is not already split

Re: [Studio] Status update and release preparation

2015-05-31 Thread Emmanuel Lécharny
Le 31/05/15 23:47, Stefan Seelmann a écrit : Release preparation and figuring out the process works quite well. I'll be busy the next days, I'll continue on Thursday and am confident to be able to start a vote next weekend. Cool ! thanks for the feedback, Stefan.

Re: [Bulk] Re: [Fortress] Sonar...

2015-06-01 Thread Emmanuel Lécharny
Le 01/06/15 16:56, Emmanuel Lécharny a écrit : Le 01/06/15 16:40, Shawn McKinney a écrit : On May 31, 2015, at 5:46 PM, Shawn McKinney smckin...@apache.org wrote: On May 31, 2015, at 5:16 PM, Emmanuel Lécharny elecha...@gmail.com wrote: Can you provide a quick description of the changes ? 1

Re: Fortress-Core modularization was Re: [Bulk] Re: [Fortress] Sonar...

2015-06-01 Thread Emmanuel Lécharny
Le 01/06/15 17:37, Shawn McKinney a écrit : On Jun 1, 2015, at 10:14 AM, Emmanuel Lécharny elecha...@gmail.com wrote: I would also suggest another approach here. We *could* also split fortress-core in modules (à la Maven) : - an API module that contains the interfaces - a model module

Fortress-Core modularization was Re: [Bulk] Re: [Fortress] Sonar...

2015-06-01 Thread Emmanuel Lécharny
I rename this thread for clarity. I would also suggest another approach here. We *could* also split fortress-core in modules (à la Maven) : - an API module that contains the interfaces - a model module - a ldap module - a rest module etc wdyt ?

Re: [Fortress] Sonar...

2015-06-01 Thread Emmanuel Lécharny
Le 20/05/15 15:08, Kiran Ayyagari a écrit : On Wed, May 20, 2015 at 8:37 PM, Shawn McKinney smckin...@apache.org wrote: On May 20, 2015, at 2:43 AM, Emmanuel Lécharny elecha...@gmail.com wrote: interesting result : in the past four days, we went from 2543 Sonar issues down to 1677. No more

Re: [Bulk] Re: [Fortress] Sonar...

2015-06-01 Thread Emmanuel Lécharny
Le 01/06/15 16:40, Shawn McKinney a écrit : On May 31, 2015, at 5:46 PM, Shawn McKinney smckin...@apache.org wrote: On May 31, 2015, at 5:16 PM, Emmanuel Lécharny elecha...@gmail.com wrote: Can you provide a quick description of the changes ? 1. move all of the fortress entities (user, role

[Studio] org.eclipse.swt.graphics.* disposal : a methodology

2015-05-27 Thread Emmanuel Lécharny
Hi guys, I finally closed DIRSTUDIO_1038. We now dispose all the org.eclipse.swt.graphics.* elements. For the upcoming developemnts, I'd like to give a bit of guidelines : Font Font must be disposed. It's then easier to use a FontRegistry to avoid creating a font everytime it's needed.

Re: svn commit: r1682683 - /directory/studio/trunk/plugins/openldap.config.editor/src/main/java/org/apache/directory/studio/openldap/config/editor/wrappers/TimeLimitWrapper.java

2015-05-31 Thread Emmanuel Lécharny
Le 31/05/15 16:25, Stefan Seelmann a écrit : Hi Emmanuel, just FYI, I @Ignore the TimeLimitWrapperTest because it fails, can you please have a look? Ah, sorry, my bad ! I haven't checked the tests before committing my last changes. I'll commit a fixed version in a few minutes.

Re: svn commit: r1681745 - /directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java

2015-05-28 Thread Emmanuel Lécharny
Le 28/05/15 10:11, Radovan Semancik a écrit : On 05/27/2015 11:01 PM, Stefan Seelmann wrote: Yes, it is a bit unfortune that the integration tests of the LDAP API resist in the ApacheDS project. We discussed that multiple times before, but always came to the conclusion to keep them there. Kind

analysis.apache.org dedicated dashboard

2015-05-28 Thread Emmanuel Lécharny
Hi guys, I have created a Directory dashboard in analysis.apache.org, which gather our projects. You can have access to it bu login in using your apache credentials. Select the Directory Dashboard.

Re: svn commit: r1681745 - /directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java

2015-05-28 Thread Emmanuel Lécharny
Le 28/05/15 10:11, Radovan Semancik a écrit :I can draft it. But I have no idea how to modify the site. I was also thinking about updating the API documentation. Is there any documentation describing how to update the documentation? :-) http://directory.staging.apache.org/sources.html, look at

Re: svn commit: r1681745 - /directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java

2015-05-27 Thread Emmanuel Lécharny
Le 27/05/15 23:01, Stefan Seelmann a écrit : On 05/27/2015 11:44 AM, Kiran Ayyagari wrote: On Wed, May 27, 2015 at 5:36 PM, Radovan Semancik Well, it looks like it is covered by some tests as they have failed in Jenkins:

[Studio] TableWidget documentaion

2015-07-01 Thread Emmanuel Lécharny
Hi guys, I just pushed a page where I explain how to use the TableWidgetE element. feel free to look at it and comment it (patches welcomed !) http://directory.staging.apache.org/studio/developers-howtos/howtos/table-widget.html It's not visible yet through the left menu, will add a link later.

Re: [Studio] Adding a org.apache.directory.studio.common.ui.dialogs package in common.ui

2015-07-03 Thread Emmanuel Lécharny
Le 03/07/15 15:32, Zheng, Kai a écrit : Btw, at some point in the future, we will have to think abput developping a plugin for Kerby :-) Ah, you mean the management tool? That sounds good! An alternative is, web management console, one important reason to consider is, web developer

Re: [Studio] Adding a org.apache.directory.studio.common.ui.dialogs package in common.ui

2015-07-03 Thread Emmanuel Lécharny
Le 03/07/15 16:06, Zheng, Kai a écrit : Yeah, RAP would be a choice to develop the web UI, my major concern is it may incur too heavy overhead in the server side. I would say in today REST + BootStrap + AngularJS like frontend is more popular. The development is much easier to setup. No

Re: How to implement getIdentities(int start, int limit) more effectively

2015-07-02 Thread Emmanuel Lécharny
Le 02/07/15 11:14, Kiran Ayyagari a écrit : Hi Yaning, On Thu, Jul 2, 2015 at 4:28 PM, Xu, Yaning yaning...@intel.com wrote: Hi Kiran, 1. The administrator may need to list all principal names, and then use the principal name he is interested in to get the Identity; 2.

Re: How to implement getIdentities(int start, int limit) more effectively

2015-07-02 Thread Emmanuel Lécharny
Le 02/07/15 13:25, Kiran Ayyagari a écrit : On Thu, Jul 2, 2015 at 6:05 PM, Emmanuel Lécharny elecha...@gmail.com wrote: Le 02/07/15 11:14, Kiran Ayyagari a écrit : Hi Yaning, On Thu, Jul 2, 2015 at 4:28 PM, Xu, Yaning yaning...@intel.com wrote: Hi Kiran, 1. The administrator

Re: Sonar Jenkins build failures

2015-07-04 Thread Emmanuel Lécharny
Le 04/07/15 10:15, Stefan Seelmann a écrit : Hi, On the Sonar Jenkins the Kerby and Fortress builds fail. I think the problem is outdated working copy. It reports compilation errors of classes that no longer exist. As both projects use Git repos I guess that is the common issues, in the Git

Re: How to implement getIdentities(int start, int limit) more effectively

2015-07-03 Thread Emmanuel Lécharny
Le 03/07/15 08:49, Xu, Yaning a écrit : Kai, Thanks for your suggestions. It's good to me. My percezption is that the getIdentities() method should be made specific, per backend. If a backend supports paged search and sort, fine, iyt can use it. If it's not, then it should use a default

Re: [Studio] Adding a org.apache.directory.studio.common.ui.dialogs package in common.ui

2015-07-03 Thread Emmanuel Lécharny
Le 03/07/15 08:05, Zheng, Kai a écrit : In my understanding, common controls like tables, dialogs, lists, forms and etc. are good to be in a common plugin. Do you mean to separate it in a separate osgi plugin? Or a package in an existing plugin? the common-ui plugin gather all the elements

[Studio] Adding a org.apache.directory.studio.common.ui.dialogs package in common.ui

2015-07-02 Thread Emmanuel Lécharny
Hi, I'm willing to create a new package in common.ui, for Dialogs I want to share across the plugins. Those Dialogs are extending the AddEditDialog, which is used by the TableWidget. One exemple of such a Dialog that will be added into this packge is the AttributeDialog, used to select an

Re: Can you help me writing a custom password validator for apacheds

2015-07-03 Thread Emmanuel Lécharny
Le 03/07/15 10:52, Luv Gupta a écrit : Hi , Can you help me writing a custom password validator for ApacheDS for some complexity validations for the password like enforcing one lowercase letter, one uppercase letter, one numeric and one special character, Short answer : you have to implement

Re: [Studio] Difficulties with API M31

2015-07-06 Thread Emmanuel Lécharny
Le 06/07/15 19:57, Stefan Seelmann a écrit : On 07/06/2015 06:46 PM, Stefan Seelmann wrote: Fixed here: http://svn.apache.org/r1689453 I replaced the version number 1.0.0-M30 with 0.0.0, so always the latest version within the target platform is used. Kind Regards, Stefan PS: I get some

Re: [Studio] Adding a org.apache.directory.studio.common.ui.dialogs package in common.ui

2015-07-04 Thread Emmanuel Lécharny
Le 02/07/15 18:49, Emmanuel Lécharny a écrit : Hi, I'm willing to create a new package in common.ui, for Dialogs I want to share across the plugins. Those Dialogs are extending the AddEditDialog, which is used by the TableWidget. One exemple of such a Dialog that will be added

Re: [Mavibot] Need for a cache to replace the WeakReferences...

2015-05-25 Thread Emmanuel Lécharny
Le 26/05/15 01:11, Benjamin Manes a écrit : I stumbled upon an old thread [1] regarding Mavibot's cache experiments. In that thread the project was moving away from weak reference based caching and had poor performance with Ehcache. A follow up discussion [2] mentioned experimenting with

Re: [Mavibot] Need for a cache to replace the WeakReferences...

2015-05-26 Thread Emmanuel Lécharny
Thanks Benjamin ! Definitively worth a try... Le 26/05/15 08:05, Benjamin Manes a écrit : I am not subscribed to the list and it seems that responses do not reply-all, so I'll watch the list and respond indirectly. Please reply-all if you want my immediate feedback. --- Emmanuel Lécharny

Re: [Studio] duplicated BrowserWidget class

2015-05-22 Thread Emmanuel Lécharny
Le 22/05/15 19:34, Stefan Seelmann a écrit : On 05/21/2015 10:59 AM, Emmanuel Lécharny wrote: Le 21/05/15 10:55, Emmanuel Lécharny a écrit : Hi, there are two class named BrowserWidget in ldapbrowser.common : org.apache.directory.studio.ldapbrowser.common.widgets.BrowserWidget

Re: [Fortress] Sonar...

2015-05-21 Thread Emmanuel Lécharny
Le 21/05/15 13:32, Shawn McKinney a écrit : On May 20, 2015, at 8:52 AM, Emmanuel Lécharny elecha...@gmail.com wrote: I would say : fix whatever seems simple to fix. Low hanging fruits first, after of course critical and blocking issues. I have asked some creds to log on the tool to be able

Re: [Fortress] Preparations for next release (RC41)

2015-05-21 Thread Emmanuel Lécharny
Le 21/05/15 16:09, Shawn McKinney a écrit : The RC40 release included fortress-core only. Because of problems with that version (embedded property file in jar) I see no reason to release the others. Rather I recommend we push on to RC41 and release all 4 at that level. In light of that,

[Studio] Error reporting ?

2015-05-22 Thread Emmanuel Lécharny
Hi Stefan, what's the best strategy for error reporting ? More specifically, whn you expose a dialog box to get some user's input, we do check some of the values. If one of them is invalid, we currently change the font to red, but there is no place we say what's wrong, and that would be

Re: Help Regarding mavibot BTREE

2015-05-20 Thread Emmanuel Lécharny
Le 18/05/15 08:26, Rakesh Kaswan a écrit : Hello Hi, sorry for the delayed response... I am researching on mvcc. After having lot of searching and resources i get this project. I created a test file on it to run. But i don't know how to simulate it and which tool is required to simulate. I

Re: [Studio] Status update and release preparation

2015-05-26 Thread Emmanuel Lécharny
Le 27/05/15 00:50, Stefan Seelmann a écrit : Hi all, yet another status update on Studio. From my perspective the major issues after Tycho build migration are resolved and we can start with replease preparation. * The UI looks fine now, unwanted items are hidden * NLS (en, fr, de) works

[Studio] Difficulties with API M31

2015-07-06 Thread Emmanuel Lécharny
Hi, as usual, I'm facing some issues after having bumped up a dependency (here, it's LDAP API 1.0.0-M31). Here is the error I get : localhost:studio elecharny$ mvn clean install Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0 [INFO]

Re: Leveraging Kerby Kerberos library in ApacheDS

2015-08-03 Thread Emmanuel Lécharny
Le 03/08/15 17:03, Zheng, Kai a écrit : Hi Kiran, Sorry for the late response. I got your point and agree we can have a standard configuration format like JSON or YAML in addition to krb5.conf format. Maybe we don’t have to get it done before the first cut of release? How about doing it

Re: [Studio] Compile error

2015-08-08 Thread Emmanuel Lécharny
Le 08/08/15 20:59, Stefan Seelmann a écrit : Hi, Studio compile fails: [ERROR] .../studio/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/ac l/model/AclAttribute.java:[27] [ERROR] import

Re: [Studio] Compile error

2015-08-08 Thread Emmanuel Lécharny
Le 08/08/15 20:59, Stefan Seelmann a écrit : Hi, Studio compile fails: [ERROR] .../studio/plugins/openldap.acl.editor/src/main/java/org/apache/directory/studio/openldap/config/ac l/model/AclAttribute.java:[27] [ERROR] import

Re: [Studio] latest Sonar status : much better !

2015-08-21 Thread Emmanuel Lécharny
Le 21/08/15 13:00, Shawn McKinney a écrit : On Aug 21, 2015, at 4:04 AM, Emmanuel Lécharny elecha...@symas.com wrote: now that we have the analysis.apache.org working back for Studio, and with the latest changes and fixes done, we have a much better score : down from 15 810 issues to 1 559

[Studio] How to get the button of a Dialog in a widget ?

2015-08-20 Thread Emmanuel Lécharny
Hi, I'm facing a problem : I have a widget which is embedded into a composite, itself embedded into a compoisite, ... up to a Dialog. When this widget's value is not correct, I want to disable the Dialog button. For that, I need to have access to the Dialog itself. Is there a way to get it, or

Re: [Studio] How to get the button of a Dialog in a widget ?

2015-08-20 Thread Emmanuel Lécharny
Le 20/08/15 14:55, Zheng, Kai a écrit : I don’t see a good way here. If there is some event pub-sub mechanism already it can leverage, we would avoid coupling between the dialog and widget. Otherwise, looks like we have to pass some handle from the dialog down to the widget, may be some more

[Studio] latest Sonar status : much better !

2015-08-21 Thread Emmanuel Lécharny
Hi guys, now that we have the analysis.apache.org working back for Studio, and with the latest changes and fixes done, we have a much better score : down from 15 810 issues to 1 559 ! Here is a complete status : https://analysis.apache.org/dashboard/index/214262?did=4period=2

[Studio] Cleanup...

2015-07-28 Thread Emmanuel Lécharny
Hi guys, yesterday, I went through the code looking for places where 'instanceof' was used. I found two typical improvements that could be applied : o useless check on x != null like in : if ( ( x != null ) ( x instanceof X ) ) o useless check of x == null like in : if ( ( x == null ) || !( x

Re: Error in LDAP CLient Test

2015-07-28 Thread Emmanuel Lécharny
Le 28/07/15 11:04, Kiran Ayyagari a écrit : On Mon, Jul 27, 2015 at 10:58 PM, Emmanuel Lécharny elecha...@gmail.com wrote: Hi guys, does any one you get the same error I get : I didn't get it, tested with java 7 (Your mails are still garbled...) I'm runningtests with Java 8

[Studio] Status

2015-08-02 Thread Emmanuel Lécharny
Hi guys, a quick update. Last week, I was working on the ACL editor. The existing code had some issue, like we weren't able to switch from the visual editor to the source editor, and the parser was called way too often. It took me some time to understand the full logic, and I was able to cleanup

[Studio] Assigning String to Text widget even if it's null

2015-08-04 Thread Emmanuel Lécharny
Hi, a Text widget does not accept null values. It forces us to test if the value is null, and if so, we inject a . I'm willing to add a method in common-ui CommonUIUtils class that do this check instead of having to test that all over the code. May be tehre is already such a method spmewhere

Re: [Studio] Assigning String to Text widget even if it's null

2015-08-04 Thread Emmanuel Lécharny
Le 04/08/15 13:48, Kiran Ayyagari a écrit : On Tue, Aug 4, 2015 at 6:19 PM, Emmanuel Lécharny elecha...@gmail.com wrote: Hi, a Text widget does not accept null values. It forces us to test if the value is null, and if so, we inject a . how about extending the TextWidget to make

Re: [Studio] Cleanup...

2015-07-29 Thread Emmanuel Lécharny
Le 28/07/15 19:54, Emmanuel Lécharny a écrit : Beside checkstyle we should also add PMD check, you already started to cleanup some issues. PMD is a bit a PITA. There are many so called violations that are just plain BS, and many others that are going to push us to rewrite the whole code

Re: [Studio] Cleanup...

2015-07-28 Thread Emmanuel Lécharny
Le 28/07/15 18:35, Stefan Seelmann a écrit : On 07/28/2015 10:28 AM, Emmanuel Lécharny wrote: At this point, I think that adding checkstyle in Studio would most certainly be a nit of a pain (I suspect that we will get thousands of failures ;-) but this might be good to have. Stefan did

[Studio] PMD violations ficing

2015-08-06 Thread Emmanuel Lécharny
Hi guys, just to inform you that I just committed a lot of fixes for the PMD violations on the connection.ui project. So far, three projects have been processed : - common.core - aciitemeditor - connection.ui I'll continue when I have some time (insomnia, late at night, smaller room of my

[Studio] Sonar is back !

2015-08-06 Thread Emmanuel Lécharny
Hi guys, thanks to Olivier Lamy, Apache Directory Studio is back on analysis.apache.org : https://analysis.apache.org/dashboard/index/214262 We have a bit of serious violations : 15 810 issues :-) (2 blockers, 347 critical, 4765 major). Lot of work in front of us ...

Re: [Studio] Assigning String to Text widget even if it's null

2015-08-04 Thread Emmanuel Lécharny
Le 04/08/15 19:18, Stefan Seelmann a écrit : That's ok from my side, but Kirans ideas also sounds good. yes, but I have reviewed the places where we use Text, and using our own subclass is not possible : we heavily depend on BaseWidgetUtils, that creates the Text instances. Some of the helper

Re: Usage of static variables in BaseInterceptor

2015-08-13 Thread Emmanuel Lécharny
Le 13/08/15 20:40, Stefan Seelmann a écrit : Hi dev, while doing some checkstyle cleanup in ApacheDS I found some strange usage of static varables, e.g. in BaseInterceptor, there are lot of definitions like protected static AttributeType OBJECT_CLASS_AT; However those variables are

Re: [VOTE] Release Apache Mavibot 1.0.0-M8

2015-08-10 Thread Emmanuel Lécharny
My +1. I do agree that a 4096 keys is better for releases, although the current requirement is Committers with a DSA key or an RSA key of length *less than* 2048 bits should generate a new key for signing releases . Kiran's ky is 2048 bits long, whihc is strictly speaking, the bare minimum to

Error in LDAP CLient Test

2015-07-27 Thread Emmanuel Lécharny
Hi guys, does any one you get the same error I get : Tests in error: LightweightLdapConnectionPoolTest.testSmallPool:535 » InvalidConnection Cannot... testSmallPool(org.apache.directory.shared.client.api.LightweightLdapConnectionPoolTest) Time elapsed: 0.011 sec ERROR!

Re: Security Issues

2015-07-23 Thread Emmanuel Lécharny
Le 23/07/15 23:27, Lucas Theisen a écrit : If i have a security concern, what is the best way to go about discussing it as a team? Should I just send out on this mailing list, or the security mailing list, or do we have a private virtual conference room? I am not sure others are concerned

Re: Checkstyle checks

2015-07-26 Thread Emmanuel Lécharny
Le 26/07/15 20:57, Stefan Seelmann a écrit : On 07/20/2015 10:08 PM, Stefan Seelmann wrote: Hi all, I tuned our checkstyle configuration [1] according to our code formatter and fixed lots of (sensible) violations in API. I'd like to enable checkstyle checks for the API project and let the

Re: Eclipse MARS and antlr m2e

2015-07-24 Thread Emmanuel Lécharny
Le 24/07/15 17:16, Lucas Theisen a écrit : Has anybody else attempted to get eclipse MARS to work with the directory source. As a mater of fact, I gave it a try yesterday (but that was for Studio) Specifically, the antlr-maven-plugin seems to be something m2e complains about: Plugin

Re: PasswordHashingInterceptor

2015-07-24 Thread Emmanuel Lécharny
Le 24/07/15 15:50, Kiran Ayyagari a écrit : On Fri, Jul 24, 2015 at 3:31 AM, Theisen, Lucas lthei...@mitre.org wrote: I have need to hash more than just the userPassword attribute (I store the answers to security questions as well), and figured other people may need the same feature. I

Re: Checkstyle checks

2015-07-26 Thread Emmanuel Lécharny
Le 26/07/15 20:57, Stefan Seelmann a écrit : On 07/20/2015 10:08 PM, Stefan Seelmann wrote: Hi all, I tuned our checkstyle configuration [1] according to our code formatter and fixed lots of (sensible) violations in API. I'd like to enable checkstyle checks for the API project and let the

Re: Checkstyle checks

2015-07-27 Thread Emmanuel Lécharny
Le 27/07/15 09:40, Stefan Seelmann a écrit : On 07/27/2015 12:56 AM, Emmanuel Lécharny wrote: Le 26/07/15 20:57, Stefan Seelmann a écrit : On 07/20/2015 10:08 PM, Stefan Seelmann wrote: Hi all, I tuned our checkstyle configuration [1] according to our code formatter and fixed lots

[Studio] Inneficient loop while cliking on an Entry's value in the browser

2015-07-21 Thread Emmanuel Lécharny
Hi ! I'm facing a very innefficient piece of code while trying to play around teh OpenLDAP ACl editor. Here is what I do, and what I see. - I connect to an OpenLDAP remote server - I pick a MDB database entry (but that could be any entry which contain the olcAccess attributeType (every

<    9   10   11   12   13   14   15   16   17   18   >