Admin/README.repos
author kleing
Fri Apr 16 10:21:06 2004 +0200 (2004-04-16)
changeset 14584 76b81ae4031f
parent 14583 efbee41e85c2
child 14585 6cf696e5ef7f
permissions -rw-r--r--
fix cvs id
kleing@14583
     1
How to install a repository version of Isabelle.
kleing@14583
     2
kleing@14583
     3
The following assumes that you have successfully checked out Isabelle
kleing@14583
     4
from CVS into a directory $ISABELLE (by default 'isabelle')
kleing@14583
     5
kleing@14583
     6
The directory structure of the repository is different from the
kleing@14583
     7
distribution. The root directory $ISABELLE is the src
kleing@14583
     8
subdirectory in the distribution. The 'normal' distribution
kleing@14583
     9
directories are found in $ISABELLE/Distribution.
kleing@14583
    10
kleing@14583
    11
To work directly on a working copy of the repository, do the following:
kleing@14583
    12
kleing@14583
    13
Change directory to "$ISABELLE/Distribution/bin" and execute:
kleing@14583
    14
   ./isatool install -p ~/bin
kleing@14583
    15
kleing@14583
    16
This will install Isabelle executables in ~/bin.  Then issue in
kleing@14583
    17
directory "$ISABELLE/Distribution"
kleing@14583
    18
   ln -s .. src
kleing@14583
    19
kleing@14583
    20
This tells the Isabelle binaries where to find the theories.
kleing@14583
    21
kleing@14583
    22
In $ISABELLE/Distribution/ install PolyML and ProofGeneral. If you
kleing@14583
    23
have already installed them elsewhere, it is sufficient to create a
kleing@14583
    24
symbolic link in contrib to the main PolyML and ProofGeneral
kleing@14583
    25
directories. The links should be called 'polyml' and 'ProofGeneral'.
kleing@14583
    26
kleing@14583
    27
Before you can build logic images it is necessary to initialise
kleing@14583
    28
generation of browser info.  Change to the directory
kleing@14583
    29
"$ISABELLE/Distribution/lib/browser" and issue
kleing@14583
    30
   make
kleing@14583
    31
kleing@14583
    32
Java JDK 1.1 or greater needs to be installed for this to work.
kleing@14583
    33
kleing@14583
    34
Now you can build images by going to corresponding folders and issuing:
kleing@14583
    35
   isatool make
kleing@14583
    36
kleing@14583
    37
(for instance, in "$ISABELLE/HOL" in order to make HOL).  This
kleing@14583
    38
will create the directory "~/isabelle" (if not already present).
kleing@14583
    39
kleing@14583
    40
After setting up the local copy of Isabelle, changes in the repository
kleing@14583
    41
can be imported by:
kleing@14583
    42
   cvs update -d -P
kleing@14583
    43
kleing@14583
    44
(-d causes cvs to create directories that have appeared in the
kleing@14583
    45
repository since the last update, -P causes directories that have been
kleing@14583
    46
removed from the repository to be pruned).
kleing@14583
    47
kleing@14583
    48
Internal environment variables
kleing@14583
    49
kleing@14583
    50
  $ISABELLE_HOME is the directory "isabelle/Distribution" from above.
kleing@14583
    51
  $ISABELLE_HOME_USER is the directory "~/isabelle".
kleing@14583
    52
kleing@14583
    53
kleing@14584
    54
$Id$