Transferring Projects Between Systems


Getting your projects from a Solaris system (like here in our University) to your Linux system at home (or between any other two systems) involves three easy steps:

1. Packing the project

To pack the project on Unix, use the packbp command. If your project is, for example, named my_project.bp, then you should use:

$ packbp -s my_project.bp

This creates an archive named my_project.tgz. With the -s option (small), the code and symbol files will not be included. You have to recompile the project on Linux after unpacking to recreate those files. This is necessary if the version of Blue that you use at home is older than the version used at uni. If you have the same version at home, you can leave out the -s option. You will not need to recompile the project then.

Use

$ packbp -help

to see a brief description of other options.

2. Transferring the archive

You can transfer the file on a floppy or over the net. If you use Linux to run your file transfer program, everything is fine and you can go on to step 3.

If you receive the file in DOS or Windows (either from a file transfer program or a floppy) then you have to be a bit careful. DOS/Windows does not deal properly with long file names or names that include upper case characters.

To get the project to Linux without trouble, do the following:

3. Unpacking the archive

Under Linux, unpack the archive with the command

$ tar xzf archive-name

If you went through DOS/Windows and put your archive into the c:\projects directory, the you can access that archive in /mnt/dos/projects/, e.g.

$ tar xzf /mnt/dos/projects/my_proj.tgz


Back to the Blue Info Page