You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Eric Daras <er...@dafriser.be> on 2001/10/29 23:29:27 UTC

Mac OS X

Just a message to say that I am using Turbine on a IBook running Mac OS 
X 10.1 with MySQL as SGBD and  It seems to work fine...

Excuse the bad English

Eric


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: turbine path

Posted by Jason van Zyl <jv...@zenplex.com>.
On 10/30/01 3:18 PM, "Daniel Rall" <dl...@finemaltcoding.com> wrote:

> "Nick Pomfret" <ni...@pixelpark.com> writes:
> 
>> From inside one of the automatically generated 'om' classes, how can I
>> determine the absolute path that my turbine application is running in?
> 
> ServletContext.getRealPath

You probably don't have access to RunData in your OM classes which means no
access a servlet context. You can use:

TurbineServlet.getRealPath(path)

which will access the ServletContext for  you.
 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

-- 

jvz.

Jason van Zyl

http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: turbine path

Posted by Daniel Rall <dl...@finemaltcoding.com>.
"Nick Pomfret" <ni...@pixelpark.com> writes:

>>From inside one of the automatically generated 'om' classes, how can I
> determine the absolute path that my turbine application is running in?

ServletContext.getRealPath

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


turbine path

Posted by Nick Pomfret <ni...@pixelpark.com>.
>From inside one of the automatically generated 'om' classes, how can I
determine the absolute path that my turbine application is running in?

Nick


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Mac OS X

Posted by Daniel Rall <dl...@finemaltcoding.com>.
Eric Daras <er...@dafriser.be> writes:

> Just a message to say that I am using Turbine on a IBook running Mac
> OS X 10.1 with MySQL as SGBD and  It seems to work fine...

Thanks Eric, nice to hear about.

> Excuse the bad English

Your english is just fine.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>