Hello Neil,
the file must be located in src/main/resources/props/default.props
Here you have an example that it is working for us:
db.driver=org.postgresql.Driver
db.url=jdbc:postgresql://localhost/dbname
db.user=userName
db.password=Password
You should create the props directory and the file.
I do not know about the Full method. I also should ask the silly
question. :-)
I hope this helps.
Cheers,
GA
On Oct 21, 2009, at 10:24 AM, Neil.Lv wrote:
>
> Hi all,
>
> Where is the default.props in the lift1.1-M6 whether the file name
> is defualt.props ?
>
> I see this code in the Boot.scala
>
> ###
> Props.get("db.driver")
> ###
>
> If it uses the default Props, and where is it ?
>
> And i have a silly question about the helper method Full(). What
> can it do for us?
>
> ###
> Full(user), Full(pwd)) => DriverManager.getConnection(dbUrl,
> user, pwd)
> ###
>
> Thanks for any information!
>
> Cheers,
> Neil
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---