lenya-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MShah <moni_spar...@yahoo.com>
Subject Re: New resource type when edited refers to the foaf.rng?
Date Thu, 05 Mar 2009 21:56:41 GMT

Thanks Jorn.  
I removed the piece of snippet from the cocoon.conf file and then rebuilt
lenya and started it and it worked perfectly.  

Best regards,

Monisha 


Jörn Nettingsmeier-5 wrote:
> 
> MShah wrote:
>> Thanks Jorn.  The problem is resolved.  I edited the cocoon.conf file for
>> the
>> new resource type and that resolved it.  The build process was not
>> pdating
>> the file.
> 
> to clarify: the build process does update the file, but not the way you
> (and any other sane person for that matter) would think.
> 
> the xconf files are patches that are applied to the master cocoon.xconf.
> the patch behaviour is defined in the header of the patch:
> 
> <xconf xpath="/cocoon/resource-types"
> unless="/cocoon/resource-types/component-instance[@name = 'homepage']">
> <!--...-->
> </xconf>
> 
> this means: patch the included xml snippet into /cocoon/resource-types
> *unless* such a snippet already exists.
> 
> once you've applied a patch, the snippet does exist. that means that if
> you change the patchfile later, the updated patch will never be applied.
> 
> all you can do about it is manually remove the snippet from
> cocoon.xconf, or delete the file altogether and do a full rebuild.
> 
> 
> if you think you did as described above, and the patch was still wrong,
> then my guess would be that you have another patchfile lying around
> somewhere from your earlier experiments. and the first patchfile to go
> in wins. grep through your source tree to make sure.
> 
> 
> best,
> 
> jörn
> 
> 
> 
> -- 
> Jörn Nettingsmeier
> 
> Verantwortlicher für Veranstaltungstechnik
> 
> Audio and event engineer
> Ambisonic surround recordings
> 
> nettings@stackingdwarves.net
> +49 177 7937487
> 
> As for our common defense, we reject as false the choice between
> our safety and our ideals. - Barack Hussein Obama
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/New-resource-type-when-edited-refers-to-the-foaf.rng--tp22321400p22361599.html
Sent from the Lenya - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Mime
View raw message