[daisy] Error running Daisy-2.0 Export tool

Robert Cecil rob.cecil at gmail.com
Thu Dec 7 20:51:05 CST 2006


Hi,

Just exploring the new 2.0 import/export stuff to see I can use it to  
package up schema definitions for team sharing.

I tried:

> ./daisy-export -u testuser -p testuser -f ~/exportset.xml -o ~/ 
> options.xml -e ~/export
> Password:
> -l not specified, assuming repository is listening at http:// 
> localhost:9263
>
> Connecting to the repository.
>
> *** An error occured ***
>
> Error calling document customizer factory.
> org.outerj.daisy.tools.importexport.import_.config.BasicCustomizer

Here is the relevant stacktrace:

> org.outerj.daisy.tools.importexport.ImportExportException: Error  
> calling document customizer factory.
>         at  
> org.outerj.daisy.tools.importexport.export.config.ExportOptionsFactory 
> .parseFromXml(ExportOptionsFactory.java:67)
>         at  
> org.outerj.daisy.tools.importexport.export.cli.ExportCli.run 
> (ExportCli.java:166)
>         at  
> org.outerj.daisy.tools.importexport.export.cli.ExportCli.main 
> (ExportCli.java:45)
> Caused by: java.lang.ClassCastException:  
> org.outerj.daisy.tools.importexport.import_.config.BasicCustomizer
>         at  
> org.outerj.daisy.tools.importexport.export.config.ExportOptionsFactory 
> .parseFromXml(ExportOptionsFactory.java:64)

Based upon the documentation (http://www.cocoondev.org/daisydocs-2_0/ 
impexp/334.html) I had tried this:

> daisy-import -d > exportoptions.xml

To create an example options .xml. I assumed I can just tweak the  
settings and leave the remaining output from the above command in the  
options file. To explore how to *just* grab schema, i set the  
parameter "createDocuments" to false, hoping this would do the trick.

My exportset.xml is simply:

> <?xml version="1.0"?>
> <documents>
>   <query>select id where true</query>
> </documents>

Any help would be fantastic

Thanks in advance!

Rob Cecil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cocoondev.org/pipermail/daisy/attachments/20061207/ceac0802/attachment.html


More information about the daisy mailing list