cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
Subject RE: CONTEXT_WORK_DIR from flowscript
Date Fri, 02 Mar 2007 16:18:45 GMT

> 
> 
> Hello
> 
> How can I obtain the following object from flowscript?
> 
> 	(java.io.File) context.get(Constants.CONTEXT_WORK_DIR)

cocoon.context.getAttribute(Constants.CONTEXT_WORK_DIR) should do the trick

Ard

> 
> context here is a org.apache.avalon.framework.context.Context and it
> appears to be something completely different than cocoon.context
> 
> I'm trying to set up several Lucene search indices.  I would like to
> create them in that directory if possible, because that's where the
> SearchGenerator looks for them.
> 
> 
> Tobia
> 
> ---------------------------------------------------------------------
> 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