[haiku-commits] Re: r42377 - haiku/trunk/src/servers/app

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 25 Jul 2011 09:47:55 +0200 (MEST)

Ryan wrote:
> On Monday, July 25, 2011, Clemens <clemens.zeidler@xxxxxxxxxxxxxx> wrote:
> > On Sun, 10 Jul 2011 20:00:23 +1200, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
> > wrote:
> > > If someone tackles this, there is also the test app_server Jamfile that
> > > needs to be adapted.
> > How to compile and install that one?

It can only be built under Haiku, and is only available in the libbe_test 
environment, as in:
$ TARGET=libbe_test jam test_app_server

or something very similar (written from memory).

> I'm sorry I can't answer your question here but one thing I wanted to suggest 
> is that if we have two
> components which share a large number of source files in their Jamfiles they 
> should probably use
> some sort of common source file list in a shared Jamfile. DRY, Don't Repeat 
> Yourself and all that.

While that is always a good suggestion, just have a look at it. While some 
files could be shared, the test app server requires quite some magic to 
properly separate it from the host, which also requires putting some files in 
extra libraries, and have stuff included in a specific order. It would 
certainly be possible to do it, but it won't get any easier, and you'll still 
have to test both for any build problems.

Bye,
   Axel.


Other related posts: