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 72774

Summary: <makejnlp> fails when netbeans sources are in netbeans tree
Product: apisupport Reporter: tk_fhd_aui <tk_fhd_aui>
Component: HarnessAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Ant Build log showing error

Description tk_fhd_aui 2006-02-17 14:28:37 UTC
Hi,
I have a fully updated NetBeans 5.0 with JavaDoc and Sources extracted to nb5.0/sources/ and nb5.0/
docs/ . After extracting the sources, <makejnlp> fails because of missing org-openide.xml. A look into 
MakeJNLP.java show, that this is because of an "OpenIDE-Module: org.openide/..." entry in a Module 
Manifest. Grep showed, that this is in nb.5.0/sources/netbeans-src. After reverting to the zipped version, 
the problem was solved.
I think only root/cluster/modules/*.jar should be searched for modules.

Regards
     Torsten
Comment 1 Jesse Glick 2006-02-17 14:41:37 UTC
Need more information - steps to reproduce, build failure log, etc.
Comment 2 tk_fhd_aui 2006-02-28 18:25:18 UTC
Created attachment 29058 [details]
Ant Build log showing error
Comment 3 tk_fhd_aui 2006-02-28 18:30:03 UTC
Sorry,
I thought my description was enough. I have attached the build log showing the problem. It can 
reproduced by building a module suite as a JNLP application using the development IDE as the platform 
after unzipping the sources into the source directory.

EXAMPLE:
localhost:/Applications/NetBeans.app/Contents/Resources/NetBeans/nb5.0/sources torsknod$ ls
jelly2-nb-src.zip       netbeans-src            netbeans-src.zip

Regards
     Torsten
Comment 4 Jesse Glick 2006-03-01 18:27:52 UTC
Why is it looking for the org.openide pseudomodule? Might need a verbose log.
Comment 5 tk_fhd_aui 2006-03-05 09:56:00 UTC
Sorry for answering late first.
It looked there, because it simply scanned the netbeans tree for all jar files. The netbeans-src contains a 
jar for it's tests, which contains a reference to it.
I say looked and scanned, because it seems to be solved with the current beta harness, so I close this 
issue. Thanks for your help.

Regards Torsten