directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <>
Subject [jira] Commented: (DIRSTUDIO-136) Apache DS Menu Removed From Java Perspective
Date Mon, 11 Jun 2007 09:09:26 GMT


Stefan Seelmann commented on DIRSTUDIO-136:

You are right, an ADS perspective would be very useful.

About opening an existing configuration: It would be cool to do this via File->Open. The
default detection of a editor in Eclipse is done via the file extension or filename. Unfortunately
the filename server.xml is ambiguous, e.g. Tomcat also has a server.xml.

What we can do is to define a content type with a content describer (interface IContentDescriber)
and bind this content type to the configuration editor. The content describer must implement
the method 
  public int describe(InputStream contents, IContentDescription description) throws IOException;
What we need is a criteria to determine it the file is an ADS configuration file. I think
it is enough to check if the given input stream contains an ADS specific string like "".

Some more info about the content type and content describer: (example using the predifined XMLRootElementContentDescriber) (seems to be outdated)

> Apache DS Menu Removed From Java Perspective
> --------------------------------------------
>                 Key: DIRSTUDIO-136
>                 URL:
>             Project: Directory Studio
>          Issue Type: Improvement
>    Affects Versions: 0.8.0
>            Reporter: Ole Ersoy
>            Priority: Minor
> Some ideas from Stefan Seelman are:
> (1) Keep it only in the LDAP or Schemas perspective
> (2) Replace the functionality with wizards
> Seemed very wizard like to me.  Plus 1 for the wizard idea.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message