open-project

Function

Package: common-graphics

Arguments: pathname-or-namestring &key action

Opens a project for further development in the IDE as the current project. Returns the project that was opened, unless no project is opened for some reason (such as failure to specify an existing project definition file), in which case nil is returned.

pathname-or-namestring may be either a pathname or string naming a .lpr project definition file that was automatically created by saving a project in the IDE. It may alternately be nil, in which case the file-selection Common Dialog is invoked to prompt for the .lpr file to open.

action may be either one of the following values:

nil (the default): the current open-project-action configuration option is used. (This option is found in the Open group box on the Project tab of the Options dialog.)

:full-compile: all of the source code files of the project are compiled, and all of the resulting fasl files are loaded.

:compile: all of the source code files for which there is not a corresponding newer fasl file are compiled, and then all of the fasl files are loaded.

:no-compile: no files are compiled or loaded; this option may be desired if the project will not successfully load due to having errors or being in an intermediate inconsistent state.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.