According to the javadoc the second parameter is relative to the first.  Try
putting TurbineResources.properties under your application's directory and
use something like:
    new TurbineConfig ("/my/application/",
"/conf/TurbineResources.properties");  // maybe without the leading slash
before conf.

--from api docs--
Parameters:
path - The web application root (i.e. the path for file lookup).
properties - the relative path to TurbineResources.properties file


----- Original Message ----- 
From: "Ambika Prasad Das" <[EMAIL PROTECTED]>
To: "Turbine Mailing list" <[EMAIL PROTECTED]>
Sent: Monday, December 15, 2003 4:39 AM
Subject: Using Turbine outside turbine framework


> Hi friends,
>
> I am doing a database related project and for that I need to use turbine
> APIs. I want to use turbine API outside the turbine framework. For this
> I wrote my own TurbineResources.properties file and gave the full path
> name for it. TurbineConfig tc=new
> TurbineConfig(".","/home/user/TurbineResources.properties). But it
> cannot find the file and gives Exception for file not found.
> Can anybody help me ?
>
> Regards,
>
> A.P.Das.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to