On Tue, Mar 24, 2009 at 11:04 PM, Alex Boisvert <boisv...@intalio.com>wrote:

> Hi Lifters,
>
> How would you feel about renaming .scala files to match the main
> class/trait in them?
>
> Let me give you a few examples,
>
> lift/src/main/scala/net/liftweb/http/auth/Authentication.scala
> currently holds a trait named HttpAuthentication.
> I'd like to rename it HttpAuthentication.scala
>
> lift/src/main/scala/net/liftweb/http/Stateful.scala
> currently holds the StatefulSnippet trait,
> so I'd like to rename it StatefulSnippet.scala
>
> lift/src/main/scala/net/liftweb/http/Vars.scala
> contains many things but the main class is AnyVar
> so I'd like to rename it AnyVar.scala
>
> and so on...
>
> There are two reasons I'd like to make these changes.  First, I think it's
> a good convention and it makes it easier to locate some of the main classes
> more easily (my Java roots are showing) and second, which is much more
> selfish at this point, is that Buildr does recompilation checks based on
> file timestamps and the existence of a corresponding .class file in the
> target directory and so it would help Buildr avoid recompiling everything
> all the time even though nothing has really changed.
>
> (I do realize practically nobody besides me uses Buildr in the Lift
> community at this point but I do intend to demonstrate that it's a great
> alternative to Maven.  And no, I'm not trying to replace or eradicate Maven,
> I'm just trying to make my own life simpler and share the results.  I also
> realize that it's likely scalac will have better recompilation detection in
> the future that may make the second reason for this request irrelevant,
> although I think the first reason is sufficient)
>
> What do you think?


Because there is no API breakage for doing this, go right ahead.


>
>
> alex
>
>
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to