I get the following error when I try to run cocoon to generate a file in offline mode :
X [0] techsite/documents/tech/languages.xml BROKEN: Type 'file' is not defined for 'generate' at file:/home/femibyte/downloads/cocoon-2.1.2/techsite/sitemap.xmap:38:64
Total time: 0 minutes 4 seconds
Can anyone provide me w/ an explanation as to what is going on?
This means you have a <map:generate type="file"/> in your sitemap, but nowhere defined what that generator is. If you don't use a subsitemap of the root sitemap delivered with Cocoon, you have to add a map:components section to your sitemap, where the file generator is defined:
<map:generator name="file" src="org.apache.cocoon.generation.FileGenerator"/>
The same must be added for the other components you use. Just have a look into the map:components section of Cocoon's default root sitemap.
Joerg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
