author | wenzelm |
Wed, 28 Apr 2010 16:56:51 +0200 | |
changeset 36459 | c051d1899489 |
parent 36146 | 7bfbb247a5df |
child 36783 | 80ced7c7505f |
permissions | -rw-r--r-- |
34324 | 1 |
|
2 |
Requirements to build from sources |
|
3 |
================================== |
|
4 |
||
35005 | 5 |
* Proper Java JRE/JDK from Sun, e.g. 1.6.0_18 |
34325 | 6 |
http://java.sun.com/javase/downloads/index.jsp |
7 |
||
36013
8cc25cfd5325
adapted to Netbeans 6.8 and Scala for Netbeans 6.8v1.1;
wenzelm
parents:
35005
diff
changeset
|
8 |
* Netbeans 6.8 |
34377 | 9 |
http://www.netbeans.org/downloads/index.html |
34324 | 10 |
|
36013
8cc25cfd5325
adapted to Netbeans 6.8 and Scala for Netbeans 6.8v1.1;
wenzelm
parents:
35005
diff
changeset
|
11 |
* Scala for Netbeans: version 6.8v1.1 |
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 |
||
35005 | 16 |
* jEdit 4.3.1 (final) |
34324 | 17 |
http://www.jedit.org/ |
34645 | 18 |
Netbeans Project "jEdit": install official sources as ./contrib/jEdit/. |
34635 | 19 |
|
20 |
* jEdit plugins: |
|
36013
8cc25cfd5325
adapted to Netbeans 6.8 and Scala for Netbeans 6.8v1.1;
wenzelm
parents:
35005
diff
changeset
|
21 |
Netbeans Library "Console" = $HOME/.jedit/jars/Console.jar |
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 |
||
34919 | 34 |
* Scala Compiler |
35 |
Netbeans Library "Scala-compiler" = $SCALA_HOME/lib/scala-compiler.jar |
|
36 |
||
34325 | 37 |
|
34338 | 38 |
Running the application within Netbeans |
39 |
======================================= |
|
34325 | 40 |
|
34338 | 41 |
* Project properties: add "Run" argument like |
34587 | 42 |
-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
|
43 |
|
34635 | 44 |
* The Isabelle environment is obtained automatically via |
45 |
"$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
|
46 |
|
34635 | 47 |
(1) via regular Isabelle settings, |
48 |
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
|
49 |
|
34635 | 50 |
(2) or via ISABELLE_HOME from raw process environment, |
51 |
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
|
52 |
|
76509ef6f1b6
updated notes about Isabelle environment, no longer need to use "isabelle env netbeans";
wenzelm
parents:
34600
diff
changeset
|
53 |
(3) or via JVM system properties (cf. "Run / VM Options") |
34635 | 54 |
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
|
55 |
|
34763 | 56 |
|
57 |
Misc notes |
|
58 |
========== |
|
59 |
||
60 |
- Netbeans config/Editors/Preferences/...-CustomPreferences.xml |
|
61 |
||
62 |
<entry javaType="java.lang.Integer" name="caret-blink-rate" xml:space="preserve"> |
|
63 |
<value><![CDATA[0]]></value> |
|
64 |
</entry> |
|
65 |
||
66 |
----------------------------------------------------------------------- |
|
67 |
To run jedit with remote debugging enabled, I use the following |
|
68 |
command: "java |
|
69 |
-agentlib:jdwp=transport=dt_socket,suspend=y,server=y,address=XXXX |
|
70 |
-jar jedit.jar" |
|
71 |
||
72 |
where XXXX is any open port number you wish. The above invocation |
|
73 |
works for Sun's JDK 5.0. There's an alternate incantation for earlier |
|
74 |
releases. (See |
|
75 |
http://java.sun.com/j2se/1.5.0/docs/guide/jpda/conninv.html) |
|
76 |
----------------------------------------------------------------------- |
|
36459 | 77 |
|
78 |
||
79 |
Known problems with Mac OS |
|
80 |
========================== |
|
81 |
||
82 |
- The MacOSX plugin disrupts regular C-X/C/V operations, e.g. between |
|
83 |
the editor and the Console plugin, which is a standard swing text |
|
84 |
box. Similar for search boxes etc. |
|
85 |
||
86 |
- Anti-aliasing does not really work as well as for Linux or Windows. |
|
87 |
(General Apple/Swing problem?) |
|
88 |
||
89 |
- Font.createFont mangles the font family of non-regular fonts, |
|
90 |
e.g. bold. |