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.

Bug 55846 - Convert: NumberFormatException: input string: "${xml"
Summary: Convert: NumberFormatException: input string: "${xml"
Status: RESOLVED DUPLICATE of bug 45179
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-03 12:42 UTC by _ pkuzel
Modified: 2005-03-28 22:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pkuzel 2005-03-03 12:42:41 UTC
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)
Comment 1 _ pkuzel 2005-03-03 12:47:19 UTC
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...
Comment 2 _ pkuzel 2005-03-03 12:59:16 UTC
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?
Comment 3 _ pkuzel 2005-03-03 13:08:17 UTC
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.
Comment 4 _ pkuzel 2005-03-03 14:45:20 UTC
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
Comment 5 _ pkuzel 2005-03-03 16:11:18 UTC
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.
Comment 6 _ pkuzel 2005-03-03 16:37:14 UTC
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
Comment 7 _ pkuzel 2005-03-03 16:48:36 UTC
No, one must copy paste "files-init" target.
Comment 8 Jesse Glick 2005-03-10 16:56:02 UTC
No particularly good support yet; planned.

*** This issue has been marked as a duplicate of 45179 ***