welcome: please sign in
location: Diff for "PackageOpenBugs"
Differences between revisions 17 and 19 (spanning 2 versions)
Revision 17 as of 2010-07-07 17:00:53
Size: 2233
Editor: NealThomas
Revision 19 as of 2011-01-11 21:08:31
Size: 2152
Editor: NealThomas
Deletions are marked like this. Additions are marked like this.
Line 20: Line 20:
        . Rsrc/Strings.odc         . System/Rsrc/Strings.odc
Line 36: Line 36:
    . '''FIX NEEDED: ''' libOpenBUGS.so is still part of the windows distribution.

package OpenBUGS for distribution (also generates html files)

  • note: Although not required, it is a good idea to create the linux distribution first. If you have created any Linux-related binary files, chances are good that some Windows .ocf files were overwritten by some Linux .ocf files. Therefore, before packaging OpenBUGS for windows distribution, it is a good idea to delete all compiled objects and recompile. for example:

    • find -iname '*.osf' -o -iname '*.ocf' -exec rm -f {} \;
  • Before compiling, also check that HostFiles.odc and Kernel.odc in directory lin have been renamed LinHostFiles.odc and LinKernel.odc

  • Developer->Make.odc->DevCompiler.CompileThis

  • Developer->Linking.odc->DevLinker.Link

  • Developer->Linking.odc-> DevPacker.PackThis OpenBUGS.exe

  • Developer->Linking.odc-> DevLinker.LinkDll

  • increment version number in the following files
    • System/Rsrc/Strings.odc
    • Manual/Manual.odc
    • Developer/Manual.odc
    • GeoBUGS/Manuals/Manual.odc
    • Bugs/CLI.odc (see linking ELF shared object)

    • close BlackBox entirely and reopen. Make sure no files are open in BlackBox before proceeding to the next step.

    • Dev -> Copy OpenBUGS

    • For a full release: use ftp -i openbugs.info to upload Manuals/*.html from the local c:/OpenBUGS directory (do not create a manuals subdirectory on the remote host). Upload Developer/*.html to the subdirectory Developer (do not create a manuals subdirectory inside of Developer). Also upload GeoBUGS/Manuals/*.html to the GeoBUGS subdirectory and GeoBUGS/Examples/*.html to the Examples subdirectory inside of the GeoBUGS directory. A username and password must be obtained from the wiki maintainer to use ftp. Also remember to check Manuals/contents.html before the Copy OpenBUGS step to make sure all section headings are collapsed. Otherwise, some will be 'open' in the distributed .odc and .html versions, which is confusing and ugly.

PackageOpenBugs (last edited 2011-03-28 18:13:59 by snthomas99)