Re: [Lenyacms-dev] Publishing does not work anymore

Michael Wechner <[email protected]> Mon, 14 Apr 2003 12:39:45 +0200
Newsgroups gmane.comp.cms.wyona.devel
Message-ID <[email protected]>
Michael Wechner wrote:
> Michael Wechner wrote:
> 
>> Hi
>>
>> It seems like that Publishing doesn't work anymore.
>>
>> The PublshingEnvironment class does not receive the correct
>> publicationPath anymore. The first "/" is missing from the path,
>> and hence is interpreted as a relative path and is appended (by Avalon 
>> I guess) to the location from where the servlet engine has been started.
>>
>> Has that anything to do with the introduction of some new classes from
>> the end of last week?
> 
> 
> 
> The error already seems to be done with the logicsheet util.xsl which is 
> initializing the class
> org.lenya.cms.publication.Publication, which is then calling the class 
> Publishing Enviroment.
> 
> It seems like the first slash is replaced by nothing ...

ok, it seems to be fixed now. There were two problems:

util.xsl:
The logicsheet was removing the slash at the beginning. I 
guess Windows is having 2, but Linux has only 1.

xslt/publishing/main.xsl (resp. DefaultFilePublisher):
The paramater "sources" was renamed to "properties.publish.sources"
which threw an exception within the DefaultFilePublisher.


If you update your CVS, then you should probably make a clean 
installation, because otherwise the fixed logicsheet might not be reloaded.

Well, we definitely have to introduce "the tests".

Thanks

Michael


> 
>>
>>
>> Thanks
>>
>> Michael
>>
>>
>> _______________________________________________
>> WyonaCMS-dev mailing list
>> [email protected]
>> http://wyona.org/cgi-bin/mailman/listinfo/wyonacms-dev
>>
> 
> 
>