Developers/Projects/KamaeliaPublish/HowToBuildExe

This page describes the process for changing the toolchain to use different scripts.  There are two important files that you may need to edit to alter this behavior:  zipheader.unix and scripts/Publish.prepare.sh.  To build an executable, you will need at minimum the following files from private_JMB_DescartesComponentsAdded/Apps/Kamaelia-Publish:
  • zipheader.unix
  • make-unix.sh
  • scripts/Publish.prepare.sh

make-unix.sh

There is not currently any part of make-unix.sh that needs to be customized.

zipheader.unix

This file won't need to be changed if you have a module main with a main function in it (which is to be the main entry point to your application). Otherwise, these lines will need to be changed:

import main

main.main()
This is plain old python code, so you can put whatever you want here. My advice would be to have it import and run your main module.

scripts/publish.prepare.sh

This file is only responsible for moving all the files into the assembly directory.  Thus, all you really have to do is move all the files that you want built into the executable into the assembly directory.
 

Kamaelia is an open source project originated from and guided by BBC Research. For more information browse the site or get in contact.

This is an ongoing community based development site. As a result the contents of this page is the opinions of the contributors of the pages involved not the organisations involved. Specificially, this page may contain personal views which are not the views of the BBC. (the site is powered by a wiki engine)

(C) Copyright 2008 Kamaelia Contributors, including the British Broadcasting Corporation, All Rights Reserved

This web site is powered by the same code created for the bicker manor project. For more details, contact Michael Sparks at BBC Research directly (cf contact)