Andrew Golightly wrote:
Hi everyone.

I'm looking at the latest version of lenya (409340). It compiles and runs fine. But on viewing my external publication (that worked fine on earlier versions that compiled and ran) I now get this error:

-----------------

No resource type defined for document [mediacampaign:authoring:/index:en]!

iiuc that is a consequence of andreas' commit that removes the extension from the files in the storage. you need to rename all *xml files in your content/ directory (with the exception of the sitetree.xml files) to just the name w/o extension.

on unixes, the following snippet does the job:
for i in `find -name *_??.xml` ; do mv $i `echo $i | sed 's/\.xml//'` ; done

or, in plain text: find all files of the format <name>_<language>.xml, make a list of them and iterate over them. with each, rename it from the original name to the original name with ".xml" removed.

somebody also posted an ant job that does the same thing... on non-unix systems, you might be more comfortable with that.

regards,


jörn


--
"Open source takes the bullshit out of software."
        - Charles Ferguson on TechnologyReview.com

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to