You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Thorsten Scherler <th...@wyona.com> on 2006/08/03 16:05:43 UTC

[Module] Reference to a module

Hi all,

I am looking for a reference file (or object) where the location of
modules are stored.

I found build/lenya/temp/modules.xml but I reckon that is temporary. Is
there an object that contains all module locations that I can access via
java?

TIA

salu2
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org


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


Re: [Module] Reference to a module

Posted by Thorsten Scherler <th...@wyona.com>.
El jue, 03-08-2006 a las 16:44 +0200, Jann Forrer escribió:
> Thorsten Scherler wrote:
> > Hi all,
> > 
> > I am looking for a reference file (or object) where the location of
> > modules are stored.
> > 
> 
> What about the  org.apache.lenya.cms.module.ModuleManager. 

Yeah, I found this meanwhile as well. :)

> It holds all 
> module shortcuts and src-path.

Exactly what I was looking for. ;)

> However it does not have a getAllModules() (or similar) method.

Now it has getModuleList(). 

http://svn.apache.org/viewvc?rev=428420&view=rev

jeje ;)

This will return a list of all modules with their src dir.

> 
> HTH
> 
> Jann

Thanks very much, Jan.

Yeah, it helped a lot.

salu2
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org


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


Re: [Module] Reference to a module

Posted by Jann Forrer <ja...@id.unizh.ch>.
Thorsten Scherler wrote:
> Hi all,
> 
> I am looking for a reference file (or object) where the location of
> modules are stored.
> 

What about the  org.apache.lenya.cms.module.ModuleManager. It holds all 
module shortcuts and src-path.
However it does not have a getAllModules() (or similar) method.

HTH

Jann


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