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 221338 - Cannot build JNLP for module /space/slave/NB-73/main/nbbuild/netbeans/ide/modules/org-netbeans-libs-nashorn.jar
Summary: Cannot build JNLP for module /space/slave/NB-73/main/nbbuild/netbeans/ide/mod...
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 7.3
Hardware: All All
: P1 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-02 11:53 UTC by pgebauer
Modified: 2012-11-07 10:09 UTC (History)
3 users (show)

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 pgebauer 2012-11-02 11:53:14 UTC
jar-ml:
 [locfiles] Can't find directory /space/slave/NB-73/main/l10n/src/ja/ide/org-netbeans-libs-nashorn
 [locfiles] Can't find directory /space/slave/NB-73/main/l10n/src/zh_CN/ide/org-netbeans-libs-nashorn
 [locfiles] Can't find directory /space/slave/NB-73/main/l10n/src/pt_BR/ide/org-netbeans-libs-nashorn
 [locfiles] Can't find directory /space/slave/NB-73/main/l10n/src/ru/ide/org-netbeans-libs-nashorn

netbeans:
  [genlist] Generating Auto Update information for org.netbeans.libs.nashorn

jnlp-master:

-jnlp-init:

jnlp:

BUILD FAILED
/space/slave/NB-73/main/nbbuild/build.xml:241: The following error occurred while executing this line:
/space/slave/NB-73/main/nbbuild/templates/common.xml:397: Cannot build JNLP for module /space/slave/NB-73/main/nbbuild/netbeans/ide/modules/org-netbeans-libs-nashorn.jar as these files are in module's NBM, but are not referenced from any path
Comment 1 Martin Fousek 2012-11-02 13:30:02 UTC
Pgebauer, could you retry that? I suppose that the problem was on the release73_beta2 branch.

It should be fixed there by the web-main #a52c2f4422cd. The "ant jnlp" build of the libs.nashorn module works well to me now.
Comment 2 Martin Fousek 2012-11-02 13:34:13 UTC
(In reply to comment #1)
> It should be fixed there by the web-main #a52c2f4422cd. The "ant jnlp" build of
> the libs.nashorn module works well to me now.

Sorry, that was a "typo": releases #a52c2f4422cd
Comment 3 Petr Jiricka 2012-11-02 13:41:02 UTC
Thanks a lot Martin!
Comment 4 Quality Engineering 2012-11-02 17:23:37 UTC
Integrated into 'releases', will be available in build *201211021451* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/a52c2f4422cd
User: Martin Fousek <marfous@netbeans.org>
Log: #221338 - Cannot build JNLP for module /space/slave/NB-73/main/nbbuild/netbeans/ide/modules/org-netbeans-libs-nashorn.jar
Comment 5 pgebauer 2012-11-02 18:22:58 UTC
The last JNLP was successful.
Comment 6 Martin Fousek 2012-11-02 18:47:48 UTC
(In reply to comment #5)
> The last JNLP was successful.

Uff, good to hear. ;) Thanks for verification.
Comment 7 Jiri Rechtacek 2012-11-05 13:28:12 UTC
After the fix nashorn.nbm is too small - 16621B
Comment 8 Petr Jiricka 2012-11-05 13:37:09 UTC
Ok, fixing in another way: http://hg.netbeans.org/releases/rev/d71e4f126315. This fixes both the original problem, and the nbm size - now it contains the full JRE. 

This is analogous to the fix that Martin did for beta1: http://hg.netbeans.org/releases/rev/51b9d0b0165f
Comment 9 Martin Fousek 2012-11-05 13:41:42 UTC
(In reply to comment #8)
> Ok, fixing in another way: http://hg.netbeans.org/releases/rev/d71e4f126315.
> This fixes both the original problem, and the nbm size - now it contains the
> full JRE. 
> 
> This is analogous to the fix that Martin did for beta1:
> http://hg.netbeans.org/releases/rev/51b9d0b0165f

I didn't realize that there weren't beta1 changes in the beta2 branch. Thanks for fix of the fix. :)
Comment 10 Quality Engineering 2012-11-05 23:16:57 UTC
Integrated into 'releases', will be available in build *201211052012* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/d71e4f126315
User: Petr Jiricka <pjiricka@netbeans.org>
Log: #221338 - another approach to fix this problem, which produces nbm file including the JRE w.Nashorn.
Comment 11 Tomas Danek 2012-11-07 10:09:57 UTC
verified on 73beta2 UC, nashorn nbm has reasonable size.