Opened 14 years ago

Closed 2 years ago

#5360 closed enhancement (fixed)

Ryan's awesome Jamfile-engine should be included in the Haiku nightlies / releases

Reported by: kallisti5 Owned by: leavengood
Priority: normal Milestone: R1/beta4
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Makefile-engine is included, it only makes sense that Jamfile-engine also be included in the Haiku source tree. /boot/develop/etc/

http://www.haiku-os.org/documents/dev/the_art_of_jamming_all_parts

http://open-beos.sourceforge.net/samples/Jamfile-engine.zip

Change History (12)

comment:1 by bonefish, 14 years ago

Owner: changed from bonefish to leavengood
Status: newassigned

IIRC Ryan mentioned that it still has some problems, which is AFAIK the reason it isn't included yet.

comment:2 by leavengood, 14 years ago

Updating the Jamfile-engine is one of those long term but apparently low priority tasks of mine that I've been meaning to do, but haven't made the time for yet. I think the current version works to some extent, but I know it has bugs, and I want to rewrite parts of it based on all we have learned in the Haiku Jam build system. Maybe I can knock this out this weekend, since I want to do some Haiku work anyhow.

comment:3 by kallisti5, 14 years ago

even if it is only partially complete it would be nice to have in the source tree so changes could be tracked. :)

comment:4 by leavengood, 14 years ago

OK that is a good point. I'll see about adding the existing version to our repo then when I get time I can try to refactor it.

comment:5 by mmadia, 14 years ago

Do you have a list of the issues/bugs in Jamfile-engine?

in reply to:  4 ; comment:6 by mmadia, 14 years ago

Replying to leavengood:

OK that is a good point. I'll see about adding the existing version to our repo then when I get time I can try to refactor it.

Any thoughts on including this in r1a2, to get some additional exposure?

in reply to:  6 comment:7 by Disreali, 14 years ago

Is it functional? If so, why not put it in folder named 'Experimental'?

comment:8 by leavengood, 14 years ago

Status: assignedin-progress

I'm sorry for dropping the ball on this guys. Obviously I haven't had the motivation to work on Haiku stuff lately (other things have been higher on my list.) But I've finally put the above Jamfile-engine in the Haiku repo, where the makefile-engine is (trunk/data/develop) in hrev36796. I'll leave this ticket open until I've at least done some testing and have added it to the image as well.

Regarding bugs, one I remember off-hand is that the OBJ directory cannot be created properly before building by the Jamfile-engine. In other words you have to run jam once to create it (for the first run when it doesn't exist) and then run jam again to actually build the project. Annoying, but not critical. For any other bugs I would need to test more.

comment:9 by Disreali, 13 years ago

Has any progress been made on this issue?

comment:10 by leavengood, 13 years ago

Not really. I have used the Jamfile-engine on a few small projects and it still has at least the bug about failing to build the first time if there is no build directory. It isn't yet included in the Haiku image either.

I'm spending most of my Haiku time these days on WebPositive, and even on that I haven't had much time lately.

Honestly the priority of this probably won't increase until closer to the R1 release, when having this as a developer tool would be more useful for third party developers. There just aren't all that many third party Haiku developers yet.

comment:11 by luroh, 9 years ago

Milestone: R1Unscheduled

Moving out of R1 milestone (Prop #15).

comment:12 by pulkomandy, 2 years ago

Milestone: UnscheduledR1/beta4
Resolution: fixed
Status: in-progressclosed

I moved it to a separate repository and added an haikuports recipe.

Change to remove it again from Haiku sources since that's not needed anymore: https://review.haiku-os.org/c/haiku/+/4720

Note: See TracTickets for help on using tickets.