This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
</description>
<issue number="201731"/>
</change>
<change id="netbeans.ignore.dupmodule">
<api name="launcher"/>
<summary>Property to replace DuplicateException with warning log only</summary>
<version major="2" minor="63"/>
<date day="24" month="7" year="2013"/>
<author login="mantlik"/>
<compatibility addition="yes" binary="compatible" semantic="compatible" />
<description>
<p>
See <a href="@TOP@architecture-summary.html#systemproperty-netbeans.ignore.dupmodule">
netbeans.ignore.dupmodule
</a> for details.
</p>
<issue number="232229"/>
</changes>
<!-- Now the surrounding HTML text and document structure: -->
waits to synchronize with system clipboard. Defaults to 1000ms.
</api>
</li>
<li>
<api type="export" group="systemproperty" name="netbeans.ignore.dupmodule" category="devel">
By default ModuleManager throws <code>DuplicateException</code> when an attempt is made
to load an already loaded module.
One can change this behavior by providing <code>-Dnetbeans.ignore.dupmodule=true</code>
since version 2.63. When <code>-Dnetbeans.ignore.dupmodule=true</code> is provided,
attempt of duplicate loading is logged instead of throwing <code>DuplicateException</code>.
</ul>
There are also some options passed to the launcher (interpreted
Manifest-Version: 1.0
OpenIDE-Module: org.netbeans.bootstrap/1
OpenIDE-Module-Specification-Version: 2.62
OpenIDE-Module-Specification-Version: 2.63
OpenIDE-Module-Localizing-Bundle: org/netbeans/Bundle.properties
OpenIDE-Module-Recommends: org.netbeans.NetigsoFramework
private void subCreate(Module m) throws DuplicateException {
Module old = get(m.getCodeNameBase());
if (old != null) {
if (System.getProperty("netbeans.ignore.dupmodule", "false").equalsIgnoreCase("false")) {
throw new DuplicateException(old, m);
} else {
// ignore duplicate module, log and gracefuly exit
Util.err.warning("Duplicate loading ignored: " + old + " and " + m);
return;
}
modules.add(m);
modulesByName.put(m.getCodeNameBase(), m);
providersOf.possibleProviderAdded(m);