[Lift] Re: where should i put the props file?

2009-09-16 Thread Jeppe Nejsum Madsen

XiaomingZheng xiaomingzhen...@gmail.com writes:

 it works~~~thank u!
 but i read the lift source code, the framework searches /props/ and
 / dirs, how can this framework find props files in resource dir?

The /props and / dirs are classpath locations. When building maven will, by
default, take everything in the src/main/resources dir and put it on the
classpath at /

/Jeppe

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: where should i put the props file?

2009-09-16 Thread XiaomingZheng

thanks!

On Sep 16, 2:35 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
 XiaomingZheng xiaomingzhen...@gmail.com writes:
  it works~~~thank u!
  but i read the lift source code, the framework searches /props/ and
  / dirs, how can this framework find props files in resource dir?

 The /props and / dirs are classpath locations. When building maven will, 
 by
 default, take everything in the src/main/resources dir and put it on the
 classpath at /

 /Jeppe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: where should i put the props file?

2009-09-15 Thread XiaomingZheng

it works~~~thank u!
but i read the lift source code, the framework searches /props/ and
/ dirs, how can this framework find props files in resource dir?

On Sep 15, 6:20 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote:
 XiaomingZheng xiaomingzhen...@gmail.com writes:
  i wanted to use a property file and put a file named default.props in
  myapp/props/ dir, but i found the property is not set correctly. Where
  should i put the property file? my os is windows vista. Thanks~~

 If you're using the default layout, it should go in
 myapp/src/main/resources/props

 /Jeppe
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---