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 72551 - Build JNLP fails after updating harness.nbm
Summary: Build JNLP fails after updating harness.nbm
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
: 72849 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-10 22:09 UTC by Jesse Glick
Modified: 2006-02-24 08:22 UTC (History)
2 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 Jesse Glick 2006-02-10 22:09:19 UTC
Update the new harness into a 5.0 IDE installation and then build JNLP for a
suite. It fails, because <makejnlp> fails to exclude AU backup files:

....
Accepted file:
/tmp/apisupport-50u1-200602102159/netbeans/platform6/modules/org-openide-nodes.jar
Excluded module:
/tmp/apisupport-50u1-200602102159/netbeans/platform6/modules/org-openide-io.jar
Accepted file:
/tmp/apisupport-50u1-200602102159/netbeans/platform6/update/backup/netbeans/modules/org-netbeans-modules-apisupport-harness.jar
No module in:
/tmp/apisupport-50u1-200602102159/netbeans/platform6/update/backup/netbeans/tasks.jar
No module in:
/tmp/apisupport-50u1-200602102159/netbeans/platform6/update/backup/netbeans/jnlp/jnlp-launcher.jar
Accepted file: /tmp/apisupport-50u1-200602102159/netbeans/platform6/core/core.jar
....
/tmp/apisupport-50u1-200602102159/netbeans/harness/suite.xml:188: The following
error occurred while executing this line:
/tmp/apisupport-50u1-200602102159/netbeans/harness/jnlp.xml:113: The file
/tmp/apisupport-50u1-200602102159/netbeans/platform6/update_tracking/org-netbeans-modules-apisupport-harness.xml
for module org.netbeans.modules.apisupport.harness cannot be found
....
--- Nested Exception ---
/tmp/apisupport-50u1-200602102159/netbeans/harness/jnlp.xml:113: The file
/tmp/apisupport-50u1-200602102159/netbeans/platform6/update_tracking/org-netbeans-modules-apisupport-harness.xml
for module org.netbeans.modules.apisupport.harness cannot be found
        at org.netbeans.nbbuild.MakeJNLP.verifyExtensions(MakeJNLP.java:268)
        at org.netbeans.nbbuild.MakeJNLP.generateFiles(MakeJNLP.java:175)
        at org.netbeans.nbbuild.MakeJNLP.execute(MakeJNLP.java:125)
....
Comment 1 Jesse Glick 2006-02-20 23:44:38 UTC
*** Issue 72849 has been marked as a duplicate of this issue. ***
Comment 2 pzajac 2006-02-22 10:47:04 UTC
It is serious bug. Please fix it till  beta of update will be released.
Comment 3 Jaroslav Tulach 2006-02-22 12:45:11 UTC
Is not this a bug in autoupdate? Why following file is created in platform6 
cluster? 
 
/tmp/apisupport-50u1-200602102159/netbeans/platform6/update/backup/netbeans/modules/org-netbeans-modules-apisupport-harness.jar 
 
Jirka? 
Comment 4 Jesse Glick 2006-02-22 15:13:49 UTC
I don't know why the file is created in the platform cluster - probably is a bug
in autoupdate, so please file it separately. But we cannot rely on a fix in
autoupdate for 5.0u1. The JNLP Ant task needs to ignore this directory.
Comment 5 Jaroslav Tulach 2006-02-23 08:21:53 UTC
Autoupdate problem reported as issue 72960. I'll fix the build script by 
exclusing update directory. 
Comment 6 Jaroslav Tulach 2006-02-23 08:38:42 UTC
apisupport/harness/release/jnlp.xml,v  <--  jnlp.xml 
new revision: 1.33; previous revision: 1.32 
done 
Comment 7 Jaroslav Tulach 2006-02-23 08:41:30 UTC
cvs ci -m "Backport of #72551" jnlp.xml 
Checking in jnlp.xml; 
/cvs/apisupport/harness/release/jnlp.xml,v  <--  jnlp.xml 
new revision: 1.32.2.1; 
Comment 8 pzajac 2006-02-24 08:22:12 UTC
verified in 50u1