DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43581>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43581





------- Additional Comments From [EMAIL PROTECTED]  2007-10-11 14:28 -------
Thanks. I think you are right. ATM there is a datasource belonging to a Cocoon
sample application called "personnel" which is providing a <datasources/>
element. If someone disables this, the datasource for the Lenya scheduler cannot
be patched.

It seems that patches can only go into existing elements. This is my private
guess (confirmed by some experiments); i am not able to decide this by reading
http://wiki.apache.org/cocoon/XPatchTaskUsage. So a <datasources/> element must
be provided before it can be used. As far as i can see, there are two solutions
for this:

1. Cocoon provides an empty <datasources/> element in its master cocoon.xconf.

2. The <datasources/> element is inserted by a separate patch file before the
first patch file that wants to use the element.

I created such a file and added another patch. This makes my first patch run
without making assumptions about Cocoon sample applications.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to