src/Tools/jEdit/README_BUILD
author wenzelm
Thu, 17 Dec 2009 20:25:39 +0100
changeset 34792 65130daf2883
parent 34785 fe9cf3d60e1d
child 34812 4c875ed8b248
permissions -rw-r--r--
simplified Isabelle_Process.Result;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
34324
8fa2711c0fe4 Requirements to build from sources.
wenzelm
parents:
diff changeset
     1
8fa2711c0fe4 Requirements to build from sources.
wenzelm
parents:
diff changeset
     2
Requirements to build from sources
8fa2711c0fe4 Requirements to build from sources.
wenzelm
parents:
diff changeset
     3
==================================
8fa2711c0fe4 Requirements to build from sources.
wenzelm
parents:
diff changeset
     4
34743
eb49306946f4 basic platform update;
wenzelm
parents: 34661
diff changeset
     5
* Proper Java JRE/JDK from Sun, e.g. 1.6.0_17
34325
a9b94b8f545e requires Java from Sun;
wenzelm
parents: 34324
diff changeset
     6
  http://java.sun.com/javase/downloads/index.jsp
a9b94b8f545e requires Java from Sun;
wenzelm
parents: 34324
diff changeset
     7
34635
507ab6c2df46 updated to Netbeans 6.7;
wenzelm
parents: 34606
diff changeset
     8
* Netbeans 6.7
34377
426d7b9ea225 updates for Netbeans 6.5;
wenzelm
parents: 34338
diff changeset
     9
  http://www.netbeans.org/downloads/index.html
34324
8fa2711c0fe4 Requirements to build from sources.
wenzelm
parents:
diff changeset
    10
34635
507ab6c2df46 updated to Netbeans 6.7;
wenzelm
parents: 34606
diff changeset
    11
* Scala for Netbeans: version 6.7v1 for NB 6.7
34587
72b02f9c509c updated versions;
wenzelm
parents: 34572
diff changeset
    12
  http://sourceforge.net/project/showfiles.php?group_id=192439&package_id=256544
72b02f9c509c updated versions;
wenzelm
parents: 34572
diff changeset
    13
  http://blogtrader.net/dcaoyuan/category/NetBeans
34324
8fa2711c0fe4 Requirements to build from sources.
wenzelm
parents:
diff changeset
    14
  http://wiki.netbeans.org/Scala
8fa2711c0fe4 Requirements to build from sources.
wenzelm
parents:
diff changeset
    15
34743
eb49306946f4 basic platform update;
wenzelm
parents: 34661
diff changeset
    16
* jEdit 4.3pre18
34324
8fa2711c0fe4 Requirements to build from sources.
wenzelm
parents:
diff changeset
    17
  http://www.jedit.org/
34381
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents: 34377
diff changeset
    18
34645
f6f124c9b63b updated to jEdit 4.3pre17;
wenzelm
parents: 34635
diff changeset
    19
  Netbeans Project "jEdit": install official sources as ./contrib/jEdit/.
34635
507ab6c2df46 updated to Netbeans 6.7;
wenzelm
parents: 34606
diff changeset
    20
507ab6c2df46 updated to Netbeans 6.7;
wenzelm
parents: 34606
diff changeset
    21
* jEdit plugins:
34763
wenzelm
parents: 34761
diff changeset
    22
  Netbeans Library "SideKick" = $HOME/.jedit/jars/SideKick.jar
wenzelm
parents: 34761
diff changeset
    23
  Netbeans Library "ErrorList" = $HOME/.jedit/jars/ErrorList.jar
wenzelm
parents: 34761
diff changeset
    24
  Netbeans Library "Hyperlinks" = $HOME/.jedit/jars/Hyperlinks.jar
34381
a94d2fb96fd5 basic setup for auxiliary project "jEdit", with full sources, debugging, profiling;
wenzelm
parents: 34377
diff changeset
    25
34785
fe9cf3d60e1d Cobra version;
wenzelm
parents: 34763
diff changeset
    26
* Cobra Renderer 0.98.4
34745
83b553bd3fa3 basic setup for Cobra HTML renderer;
wenzelm
parents: 34743
diff changeset
    27
  http://lobobrowser.org/cobra.jsp
83b553bd3fa3 basic setup for Cobra HTML renderer;
wenzelm
parents: 34743
diff changeset
    28
  Netbeans Library "Cobra-Renderer" = .../cobra.jar
83b553bd3fa3 basic setup for Cobra HTML renderer;
wenzelm
parents: 34743
diff changeset
    29
  Netbenas Library "Rhino-JavaScript" = .../js.jar
83b553bd3fa3 basic setup for Cobra HTML renderer;
wenzelm
parents: 34743
diff changeset
    30
34324
8fa2711c0fe4 Requirements to build from sources.
wenzelm
parents:
diff changeset
    31
* Isabelle/Pure Scala components
8fa2711c0fe4 Requirements to build from sources.
wenzelm
parents:
diff changeset
    32
  Netbeans Library "Isabelle-Pure" = ~~/lib/classes/Pure.jar
8fa2711c0fe4 Requirements to build from sources.
wenzelm
parents:
diff changeset
    33
34325
a9b94b8f545e requires Java from Sun;
wenzelm
parents: 34324
diff changeset
    34
34338
b7fdb6b14e0b hint on -settings=...;
wenzelm
parents: 34327
diff changeset
    35
Running the application within Netbeans
b7fdb6b14e0b hint on -settings=...;
wenzelm
parents: 34327
diff changeset
    36
=======================================
34325
a9b94b8f545e requires Java from Sun;
wenzelm
parents: 34324
diff changeset
    37
34338
b7fdb6b14e0b hint on -settings=...;
wenzelm
parents: 34327
diff changeset
    38
* Project properties: add "Run" argument like
34587
72b02f9c509c updated versions;
wenzelm
parents: 34572
diff changeset
    39
    -noserver -nobackground -settings=/home/makarius/isabelle/isabelle-jedit/dist
34606
76509ef6f1b6 updated notes about Isabelle environment, no longer need to use "isabelle env netbeans";
wenzelm
parents: 34600
diff changeset
    40
34635
507ab6c2df46 updated to Netbeans 6.7;
wenzelm
parents: 34606
diff changeset
    41
* The Isabelle environment is obtained automatically via
507ab6c2df46 updated to Netbeans 6.7;
wenzelm
parents: 34606
diff changeset
    42
  "$ISABELLE_HOME/bin/isabelle getenv", where ISABELLE_HOME is determined as follows:
34606
76509ef6f1b6 updated notes about Isabelle environment, no longer need to use "isabelle env netbeans";
wenzelm
parents: 34600
diff changeset
    43
34635
507ab6c2df46 updated to Netbeans 6.7;
wenzelm
parents: 34606
diff changeset
    44
    (1) via regular Isabelle settings,
507ab6c2df46 updated to Netbeans 6.7;
wenzelm
parents: 34606
diff changeset
    45
    e.g. "isabelle env netbeans"
34606
76509ef6f1b6 updated notes about Isabelle environment, no longer need to use "isabelle env netbeans";
wenzelm
parents: 34600
diff changeset
    46
34635
507ab6c2df46 updated to Netbeans 6.7;
wenzelm
parents: 34606
diff changeset
    47
    (2) or via ISABELLE_HOME from raw process environment,
507ab6c2df46 updated to Netbeans 6.7;
wenzelm
parents: 34606
diff changeset
    48
    	e.g. "env ISABELLE_HOME=.../Isabelle netbeans"
34606
76509ef6f1b6 updated notes about Isabelle environment, no longer need to use "isabelle env netbeans";
wenzelm
parents: 34600
diff changeset
    49
76509ef6f1b6 updated notes about Isabelle environment, no longer need to use "isabelle env netbeans";
wenzelm
parents: 34600
diff changeset
    50
    (3) or via JVM system properties (cf. "Run / VM Options")
34635
507ab6c2df46 updated to Netbeans 6.7;
wenzelm
parents: 34606
diff changeset
    51
    	e.g. -Disabelle.home=.../Isabelle
34606
76509ef6f1b6 updated notes about Isabelle environment, no longer need to use "isabelle env netbeans";
wenzelm
parents: 34600
diff changeset
    52
34763
wenzelm
parents: 34761
diff changeset
    53
wenzelm
parents: 34761
diff changeset
    54
Misc notes
wenzelm
parents: 34761
diff changeset
    55
==========
wenzelm
parents: 34761
diff changeset
    56
wenzelm
parents: 34761
diff changeset
    57
- Netbeans config/Editors/Preferences/...-CustomPreferences.xml
wenzelm
parents: 34761
diff changeset
    58
wenzelm
parents: 34761
diff changeset
    59
    <entry javaType="java.lang.Integer" name="caret-blink-rate" xml:space="preserve">
wenzelm
parents: 34761
diff changeset
    60
        <value><![CDATA[0]]></value>
wenzelm
parents: 34761
diff changeset
    61
    </entry>
wenzelm
parents: 34761
diff changeset
    62
wenzelm
parents: 34761
diff changeset
    63
-----------------------------------------------------------------------
wenzelm
parents: 34761
diff changeset
    64
To run jedit with remote debugging enabled, I use the following
wenzelm
parents: 34761
diff changeset
    65
command: "java
wenzelm
parents: 34761
diff changeset
    66
-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=XXXX
wenzelm
parents: 34761
diff changeset
    67
-jar jedit.jar"
wenzelm
parents: 34761
diff changeset
    68
wenzelm
parents: 34761
diff changeset
    69
where XXXX is any open port number you wish. The above invocation
wenzelm
parents: 34761
diff changeset
    70
works for Sun's JDK 5.0.  There's an alternate incantation for earlier
wenzelm
parents: 34761
diff changeset
    71
releases. (See
wenzelm
parents: 34761
diff changeset
    72
http://java.sun.com/j2se/1.5.0/docs/guide/jpda/conninv.html)
wenzelm
parents: 34761
diff changeset
    73
-----------------------------------------------------------------------