forked from donatellosantoro/Llunatic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HOW-TO.txt
executable file
·32 lines (24 loc) · 2.04 KB
/
HOW-TO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Q: How to change the java virtual machine memory from the binary distribution?
A: Change file app.conf modifying the value "-J-Xmx1024m" of the property "default_options".
MacOS: /Applications/llunatic.app/Contents/Resources/llunatic/etc/llunatic.conf
-----------------------------------------------------------------------------------------------------------
Q: How to change the java virtual machine memory when the app is run inside the IDE?
A: Change file NETBEANS_HOME\harness\run.xml adding the value "-J-Xmx1024m" to the property "run.args".
Esempio: <property name="run.args" value="-J-Xmx1024m"/>
-----------------------------------------------------------------------------------------------
Q: How to change "version number"?
A: Edit branding/modules/org-netbeans-core-windows.jar/org/netbeans/core/windows/view/ui/Bundle.properties
Edit branding/core/core.jar/org/netbeans/core/startup/Bundle.properties
-----------------------------------------------------------------------------------------------------------
Q: How to set the position of top components?
A: There are two ways:
@TopComponent.Registration(mode = "explorer", openAtStartup = true) -> preferred
or changing XMLLayer (this is useful to move default TopComponent, as favorites, properties output, ...)
Default zones are (bottomSlidingSide, commonpalette, editor, explorer, leftSlidingSide, navigator, output, properties, rightSlidingSide, topSlidingSide)
In XMLLayers è possibile configurare le dimensioni e posizioni di ogni zona (es editor.wsmode)
Inoltre le zone vengono mostrate come folder, e in ognuna c'è un riferimento al topComponent (modificando l'annotazione il riferimento viene automaticamente spostato)
-----------------------------------------------------------------------------------------------------------
NOTE
-----------------------------------------------------------------------------------------------------------
Use xerces-2.8.0.jar (same version of NetBeans)
In order to update modules, it is important to use a divverent minor version (Eg. 1.2 -> 1.3 ok, 1.2 -> 1.2.1 NO)