Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programming on Lift on Realtime - Is it possible?

I have been programming Rails and Lift for a while. Rails, said, a joy to work on. But Lift performance is too awesome to be ignored. However, I find building stuff inside Lift is way slower compare to rails. For example, whenever a change in Lift webapp is made, I need to request maven to recompile/retest the whole webapp (which is a really heavy overhead).

I wonder if there is something like realtime compilation (and test) tools that can be used for Lift?

like image 995
Phương Nguyễn Avatar asked Aug 06 '10 17:08

Phương Nguyễn


People also ask

Do elevators use programming?

The majority of elevators today use microprocessor processors with compiled code. Programming in any high-level programming language is possible for this application. It is typical for people to use C++.

What is real-time programming?

Real-time programming is a software engineering discipline that has been around ever since the dawn of digital computing. The dream of real-time programmers is to unlock the virtually unlimited po- tential of software for embedded computer systems – digital computers that are supposed to behave like analog devices.

What is real-time example in coding?

For example, real-time weather maps appear to portray immediate changes, when actually several milliseconds may have elapsed between image updates. In contrast to mainframe batch computers, where processes are grouped and scheduled for processing at later times, real-time computer processes occur without delay.

How does elevator algorithm work?

The elevator algorithm is a simple algorithm by which a single elevator can decide where to stop, is summarized as follows: Continue traveling in the same direction while there are remaining requests in that same direction.


1 Answers

SBT (aka "simple-build-tool") has a mode where the it will monitor the project's files and directories for updates, and will re-run the build and test of your project. This works by adding a tilde in front of the target:

$ sbt ~test

I don't know how to get Maven to do this. For what it's worth, SBT uses Ivy for dependency management, and is itself Maven-friendly.

like image 117
joev Avatar answered Sep 18 '22 21:09

joev