Andrew Golightly wrote:


Jörn Nettingsmeier wrote:

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

the script worked great. One also needs to change the meta files.. subtle change to the line above: for i in `find -name *_??.xml.meta` ; do mv $i `echo $i | sed 's/\.xml//'` ; done

oh, of course. sorry.


--
"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