You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Torgeir Veimo <to...@pobox.com> on 2008/01/08 14:08:24 UTC

Re: [studio] directory studio & schema files

On 8 Jan 2008, at 22:40, Torgeir Veimo wrote:

>
> On 8 Jan 2008, at 22:16, Emmanuel Lecharny wrote:
>
>> I have modified the parser to accept empty DESC.
>
>
> Independent of the parser accepting empty DESC or not, shouldn't  
> errors on input files end up in the interface rather than in the log  
> file, leaving the user high and dry about what's happening?


At least it would be nice to have a line number where the problem occur;

!ENTRY org.apache.directory.studio.schemaeditor 4 0 2008-01-08  
18:57:37.899
!MESSAGE An error occured when importing the schema epd-export.schema.
!STACK 0
org 
.apache 
.directory 
.studio.schemaeditor.model.io.OpenLdapSchemaFileImportException: The  
file '/Users/torgeir/Desktop/epd-export.schema' can not be read  
correctly.
	at  
org 
.apache 
.directory 
.studio 
.schemaeditor.model.io.OpenLdapSchemaFileImporter.getSchema(Unknown  
Source)
	at  
org 
.apache 
.directory 
.studio.schemaeditor.view.wizards.ImportSchemasFromOpenLdapWizard 
$1.run(Unknown Source)
	at org.eclipse.jface.operation.ModalContext 
$ModalContextThread.run(ModalContext.java:113)


-- 
Torgeir Veimo
torgeir@pobox.com