--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
How about making the val try a Props.get lookup first before defaulting to "lift"? That way we could configure the default JNDI name, but get the nice immutability of the val too.Would that even work? Perhaps it's just confusing.
Richard
On 23 September 2014 03:01, Diego Medina <di...@fmpwizard.com> wrote:
+1 to deprecating the var in 2.6 and making it a val in 3.0 , but my vote was probably already implied :)
On Mon, Sep 22, 2014 at 11:39 AM, Tim Nelson <tnel...@gmail.com> wrote:
When I moved `ConnectionIdentifier` to the util package I also changed DefaultConnectionIdentifier.jndiName from a `var` to a `val` not knowing that people where using this to change the jndiName. For more details, see this pr [1].So, we will be reverting that back to a var for Lift 2.6.When I sent to the pr for reverting [2], Diego suggested we deprecate this in 2.6 and make the change to val in 3.0. Richard has outlined the steps to migrate code in the pr [1] which was also posted to the wiki [3].Does anyone have any thoughts on this? Should we go forward with the deprecation and change, or leave it as a var?Tim1 - https://github.com/lift/framework/pull/1556
--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
I agree, that seems like a lot of work.So, I'll plan on making it a val, but allow configuring via a props entry. Any suggestions for what to call it? default.jndi.name ?case object DefaultConnectionIdentifier extends ConnectionIdentifier {val jndiName = Props.get("default.jndi.name", "lift")}