package OpenBUGS for distribution (also generates html files)
- 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)
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-> DevLinker.LinkDll
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). The windows ftp app is usually in /windows/system32 if it is not included in the default path. 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, and similarly for ReliaBUGS in the Reliability 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.