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.
While trying to convert XML modules I got: [delete] Deleting: /data/cvs/netbeans/trunk/nb_all/xml/catalog/manifest-subst.mf [convert-to-nbm-project] Warning: do not grok javadoc target in /data/cvs/netbeans/trunk/nb_all/xml/catalog/build.xml BUILD FAILED java.lang.IllegalArgumentException: java.lang.NumberFormatException: For input string: "${xml" at org.openide.modules.Dependency.create(Dependency.java:174) at ConvertToNbmProjectTask.execute(ConvertToNbmProjectTask.java:197)
I modified manifest a little bit and got: BUILD FAILED /data/cvs/netbeans/trunk/nb_all/apisupport/project/convert-to-nbm-project.xml:34: Implementation version dependencies not yet supported, sorry! I'm going to modifify it further...
Aha, implementaion dependecies are not supported by nbm-project <http://www.netbeans.org/ns/nb-module-project/1.xsd>. It means that no module with implemenation dependecies can be nbm-projectized. Is my conclusion correct?
I got hint to eliminate <run-dependency> from project.xml and in xml/catalog/build.xml define target "jar-with-module-deps" manually generating manifest entries.
Any documenttaion would be really helpfull. I reached another piece I do not know how to convert, makenbm licenses: <license file="${license.file}"/> <license name="xml-catalog-license.txt"> <text>For the XML Entity Catalog module itself:</text> <file location="${license.file}"/> <text>For the XML Resolver library:</text> <file location="${nb_all}/xml/external/resolver-license.txt"/> </license> For me it looks I should retain original build script "nbm" target, replacing original properties with those from projectized.xml ${nbm.*}. It works. Now I need to rewrite release target too to avoid layout-check failure: [exec] ide5/modules/ext/org-netbeans-modules-java-j2seplatform-probe.jar [exec] -ide5/modules/ext/resolver-1_1_nb.jar [exec] ide5/modules/ext/sac.jar
Hmm, yet another error: BUILD FAILED /data/cvs/netbeans/trunk/nb_all/nbbuild/build.xml:3903: Check of content of clusters and NBMs FAILED because of those issues: The file: ide5/modules/ext/resolver-1_1_nb.jar isn't included in any module's NBM Giving up for awhile.
It's possibly linked to undefined cluster.dir. netbeans-extra: [mkdir] Created dir: /data/cvs/netbeans/trunk/nb_all/nbbuild/netbeans/${cluster.dir}/modules/ext [copy] Copying 1 file to /data/cvs/netbeans/trunk/nb_all/nbbuild/netbeans/${cluster.dir}/modules/ext
No, one must copy paste "files-init" target.
No particularly good support yet; planned. *** This issue has been marked as a duplicate of 45179 ***