hi *!
i have a custom module that contains a usecase-edit.xconf patchfile.
the module is located in a local modules path that has been specified
with ./configure.sh.
when i make changes to my module, i re-deploy it by killing lenya, doing
a ./build.sh --noconfig and restarting lenya. all changes are there,
except for the patchfile (i checked WEB-INF/cocoon.xconf, it's still the
old version).
what can i do (short of deleting the build tree) do get my patchfiles
re-applied?
best,
jörn
for the record, here's my usecase-edit.xconf:
<?xml version="1.0" encoding="utf-8"?>
<!--
|
| Lenya Usecase XPatch
|
-->
<xconf xmlns:rng="http://relaxng.org/ns/structure/1.0"
xmlns:r2c="http://politik.uni-duisburg-essen.de/ns/rng2cforms"
xpath="/cocoon/usecases"
unless="/cocoon/usecases/[EMAIL PROTECTED] =
'edit.contacts']">
<component-instance name="edit.contacts" logger="lenya.site"
class="org.apache.lenya.cms.usecase.DummyCFormsUsecase">
<view template="modules/contacts/usecases/contacts-template.xml"
type="cforms">
<intro/>
<definition
template="modules/contacts/usecases/contacts-model.xml">
form.setAttribute("counter-ID_contacts-1", new
java.lang.Integer(0));
form.setAttribute("counter-ID_contacts-2", new
java.lang.Integer(0));
</definition>
<binding
template="modules/contacts/usecases/contacts-binding.xml">
generic.doc =
loadDocument(generic.proxy.getParameter('sourceUri'));
form.load(generic.doc);
</binding>
<outro>
form.save(generic.doc);
var flowHelper =
cocoon.getComponent("org.apache.lenya.cms.cocoon.flow.FlowHelper");
flowHelper.triggerWorkflow(cocoon,
'edit');
saveDocument(generic.doc,
generic.proxy.getParameter('sourceUri'));
</outro>
</view>
</component-instance>
</xconf>
--
"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]