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.
Hi, I have a suite project using the download feature. platform.properties: >>> bootstrap.url=http://updates.netbeans.org/netbeans/updates/7.3/uc/final/distribution/tasks.jar autoupdate.catalog.url=http://updates.netbeans.org/netbeans/updates/7.3/uc/final/distribution/catalog.xml.gz nbplatform.active=download nbplatform.download.netbeans.dest.dir=${suite.dir}/nb73 nbplatform.download.harness.dir=${nbplatform.download.netbeans.dest.dir}/harness ... <<< Excluding 'org.netbeans.modules.projectui' (disabled.modules) excludes 'org.netbeans.modules.projectuiapi' as well. This is caused by an insufficient regular expression in platform.xml (<pathconvert property="module.includes" pathsep="">) line 20: Is: <mapper type="glob" from="${basedir}${file.separator}*" to="(?!\Q*\E)"/> Fixed: <mapper type="glob" from="${basedir}${file.separator}*" to="(?!^\Q*\E$)"/> Regex is used in org.netbeans.nbbuild.AutoUpdate:505 to check a module codenamebase. Regards Florian
Hi Florian, I've tried to create suite, than update platform.properties according to your suggestion. After that I exclude module 'org.netbeans.modules.projectui', but after invoking AutoUpdate from platform.xml, list of disabled modules remain unchanged. Could you please attach your sample project for reproducing?
Created attachment 136287 [details] Suite project Suite project with missing module error. Modified for easier testing: build.xml deletes platform dir first to enforce platform download/recreation Fix (regex) is in platform.xml line 21 as comment.
Hi Martin, steps to error: 1) suite project (using bootstrap) with module depend on org.netbeans.modules.projectuiapi 2) build suite -> download full clusters (ide|platform) 3) open suite project editor, disable all modules and then click resolve 4) delete platform and build again
You are right Florian. Thank you for your fix. https://hg.netbeans.org/core-main/rev/ca4ee62b4eca
Integrated into 'main-golden', will be available in build *201306262301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ca4ee62b4eca User: Martin Kozeny <mkozeny@netbeans.org> Log: #231566: Changing the regexp declared in platform file for matching cnbs used in AutoUpdate class.