nb-configuration.xml
author František Kučera <franta-hg@frantovo.cz>
Sun, 24 Dec 2023 00:38:41 +0100
branchv_0
changeset 42 d2414701ce09
parent 39 ec0e970e0830
permissions -rw-r--r--
režimy zamykání:

- vypnuté: tlačítko pro zamykání je skryté a soubor se nezamyká
- volitelné: uživatel může soubor zamknout, ale může editovat i bez toho
- povinné: uživatel musí soubor zamknout, aby mohl atributy editovat

Změny v atributech se vždy propisují okamžitě - na ně zámek nemá vliv.
Zámek je na souboru (ne metadatech) a slouží pro kooperující procesy.
Proces, který soubor/metadata čte, si jednak může soubor zamknout (POSIX)
a tím mít jistotu, že zrovna neprobíhá editace.
A jednak může reagovat na notifikace CLOSE_WRITE (inotify).
Notifikaci mu pošleme tím, že soubor odemkneme (čímž se i zavře).
     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <project-shared-configuration>
     3     <!--
     4 This file contains additional configuration written by modules in the NetBeans IDE.
     5 The configuration is intended to be shared among all the users of project and
     6 therefore it is assumed to be part of version control checkout.
     7 Without this configuration present, some functionality in the IDE may be limited or fail altogether.
     8 -->
     9     <properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
    10         <!--
    11 Properties that influence various parts of the IDE, especially code formatting and the like. 
    12 You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
    13 That way multiple projects can share the same settings (useful for formatting rules for example).
    14 Any value defined here will override the pom.xml file value but is only applicable to the current project.
    15 -->
    16         <netbeans.hint.licensePath>${project.basedir}/licence/header.txt</netbeans.hint.licensePath>
    17     </properties>
    18 </project-shared-configuration>