author | wenzelm |
Thu, 17 Dec 2009 20:25:39 +0100 | |
changeset 34792 | 65130daf2883 |
parent 34785 | fe9cf3d60e1d |
child 34812 | 4c875ed8b248 |
permissions | -rw-r--r-- |
34324 | 1 |
|
2 |
Requirements to build from sources |
|
3 |
================================== |
|
4 |
||
34743 | 5 |
* Proper Java JRE/JDK from Sun, e.g. 1.6.0_17 |
34325 | 6 |
http://java.sun.com/javase/downloads/index.jsp |
7 |
||
34635 | 8 |
* Netbeans 6.7 |
34377 | 9 |
http://www.netbeans.org/downloads/index.html |
34324 | 10 |
|
34635 | 11 |
* Scala for Netbeans: version 6.7v1 for NB 6.7 |
34587 | 12 |
http://sourceforge.net/project/showfiles.php?group_id=192439&package_id=256544 |
13 |
http://blogtrader.net/dcaoyuan/category/NetBeans |
|
34324 | 14 |
http://wiki.netbeans.org/Scala |
15 |
||
34743 | 16 |
* jEdit 4.3pre18 |
34324 | 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 | 19 |
Netbeans Project "jEdit": install official sources as ./contrib/jEdit/. |
34635 | 20 |
|
21 |
* jEdit plugins: |
|
34763 | 22 |
Netbeans Library "SideKick" = $HOME/.jedit/jars/SideKick.jar |
23 |
Netbeans Library "ErrorList" = $HOME/.jedit/jars/ErrorList.jar |
|
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 | 26 |
* Cobra Renderer 0.98.4 |
34745 | 27 |
http://lobobrowser.org/cobra.jsp |
28 |
Netbeans Library "Cobra-Renderer" = .../cobra.jar |
|
29 |
Netbenas Library "Rhino-JavaScript" = .../js.jar |
|
30 |
||
34324 | 31 |
* Isabelle/Pure Scala components |
32 |
Netbeans Library "Isabelle-Pure" = ~~/lib/classes/Pure.jar |
|
33 |
||
34325 | 34 |
|
34338 | 35 |
Running the application within Netbeans |
36 |
======================================= |
|
34325 | 37 |
|
34338 | 38 |
* Project properties: add "Run" argument like |
34587 | 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 | 41 |
* The Isabelle environment is obtained automatically via |
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 | 44 |
(1) via regular Isabelle settings, |
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 | 47 |
(2) or via ISABELLE_HOME from raw process environment, |
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 | 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 | 53 |
|
54 |
Misc notes |
|
55 |
========== |
|
56 |
||
57 |
- Netbeans config/Editors/Preferences/...-CustomPreferences.xml |
|
58 |
||
59 |
<entry javaType="java.lang.Integer" name="caret-blink-rate" xml:space="preserve"> |
|
60 |
<value><![CDATA[0]]></value> |
|
61 |
</entry> |
|
62 |
||
63 |
----------------------------------------------------------------------- |
|
64 |
To run jedit with remote debugging enabled, I use the following |
|
65 |
command: "java |
|
66 |
-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=XXXX |
|
67 |
-jar jedit.jar" |
|
68 |
||
69 |
where XXXX is any open port number you wish. The above invocation |
|
70 |
works for Sun's JDK 5.0. There's an alternate incantation for earlier |
|
71 |
releases. (See |
|
72 |
http://java.sun.com/j2se/1.5.0/docs/guide/jpda/conninv.html) |
|
73 |
----------------------------------------------------------------------- |