cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart Molenkamp" <b.molenk...@bizzdesign.nl>
Subject RE: Mounting sitemaps located in jar files
Date Tue, 07 Sep 2004 09:51:41 GMT
"resources" uri scheme does not exist (AFAICS). E.g. to load a .js file
from a jar, I use the URI:
resource://org/apache/cocoon/forms/flow/javascript/Form.js

so maybe resource:// works (instead of resource:/, my fault :)

-----Original Message-----
From: Claudius Spellmann [mailto:claudius.spellmann@juwimm.com] 
Sent: Tuesday, September 07, 2004 11:47 AM
To: users@cocoon.apache.org
Subject: Re: Mounting sitemaps located in jar files

That won't work and I'll get an MalformedURLException exception.
and I'm getting null pointer exceptions when using 
resources://my/package/name/sitemap.xmap

Bart Molenkamp schrieb:

>Try using resource:/my/package/name/sitemap.xmap
>
>-----Original Message-----
>From: Claudius Spellmann [mailto:claudius.spellmann@juwimm.com] 
>Sent: Tuesday, September 07, 2004 11:27 AM
>To: users@cocoon.apache.org
>Subject: Mounting sitemaps located in jar files
>
>Hi,
>
>Is it actually possible to mount a sitemap that is located in a jar
file
>
>in the WEB-INF/lib/ directory.
>I'd like to form commonly used code (forms, flowscript) into one 
>reusable library that could be used for many projects
>without having to many entries in my base directory.
>
>Claudius
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message