Admin/README.repos
author huffman
Mon May 14 09:27:24 2007 +0200 (2007-05-14)
changeset 22961 e499ded5d0fc
parent 14585 6cf696e5ef7f
child 27461 c2bba6a4d750
permissions -rw-r--r--
remove redundant lemmas
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@14585
    22
In $ISABELLE/Distribution/contrib install PolyML and
kleing@14585
    23
ProofGeneral. Download the corresponding packages from
kleing@14585
    24
http://isabelle.in.tum.de/dist/ and unpack them in
kleing@14585
    25
$ISABELLE/Distribution/contrib.  If you have already installed them
kleing@14585
    26
elsewhere, it is sufficient to create a symbolic link in contrib to
kleing@14585
    27
the main PolyML and ProofGeneral directories. The links should be
kleing@14585
    28
called 'polyml' and 'ProofGeneral'.
kleing@14583
    29
kleing@14583
    30
Before you can build logic images it is necessary to initialise
kleing@14583
    31
generation of browser info.  Change to the directory
kleing@14583
    32
"$ISABELLE/Distribution/lib/browser" and issue
kleing@14583
    33
   make
kleing@14583
    34
kleing@14583
    35
Java JDK 1.1 or greater needs to be installed for this to work.
kleing@14583
    36
kleing@14583
    37
Now you can build images by going to corresponding folders and issuing:
kleing@14583
    38
   isatool make
kleing@14583
    39
kleing@14583
    40
(for instance, in "$ISABELLE/HOL" in order to make HOL).  This
kleing@14583
    41
will create the directory "~/isabelle" (if not already present).
kleing@14583
    42
kleing@14583
    43
After setting up the local copy of Isabelle, changes in the repository
kleing@14583
    44
can be imported by:
kleing@14583
    45
   cvs update -d -P
kleing@14583
    46
kleing@14583
    47
(-d causes cvs to create directories that have appeared in the
kleing@14583
    48
repository since the last update, -P causes directories that have been
kleing@14583
    49
removed from the repository to be pruned).
kleing@14583
    50
kleing@14583
    51
Internal environment variables
kleing@14583
    52
kleing@14583
    53
  $ISABELLE_HOME is the directory "isabelle/Distribution" from above.
kleing@14583
    54
  $ISABELLE_HOME_USER is the directory "~/isabelle".
kleing@14583
    55
kleing@14583
    56
kleing@14584
    57
$Id$