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 175344 - Buld JNLP Application of suite project fails
Summary: Buld JNLP Application of suite project fails
Status: RESOLVED INVALID
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: PC All
: P3 blocker (vote)
Assignee: rmichalsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-23 22:10 UTC by rsh2009
Modified: 2009-10-23 23:26 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 rsh2009 2009-10-23 22:10:17 UTC
I've tried to Build a JNLP Application from a Netbeans Suite project, however the build fails showing different errors
depending on harness/jnlp.xml properties values.

with verify property set to false build fails due to files in module's NBM that aren't referenced from any Path:

C:\Program Files (x86)\NetBeans 6.7.1\harness\suite.xml:486: The following error occurred while executing this line:
C:\Program Files (x86)\NetBeans 6.7.1\harness\jnlp.xml:277: The following error occurred while executing this line:
C:\Program Files (x86)\NetBeans 6.7.1\harness\common.xml:325: Cannot build JNLP for module
C:\Users\raul\Documents\tfc\tfc\lavd.sources\build\cluster\modules\net-sourceforge-jeuclid.jar as these files are in
module's NBM, but are not referenced from any path:
[modules/ext/commons-logging-1.1.1.jar]
BUILD FAILED (total time: 1 minute 39 seconds)

with verify property set to true build fails due to files in module's NBM that aren't referenced from any path:

C:\Program Files (x86)\NetBeans 6.7.1\harness\suite.xml:486: The following error occurred while executing this line:
C:\Program Files (x86)\NetBeans 6.7.1\harness\jnlp.xml:175: Cannot build JNLP for module C:\Program Files (x86)\NetBeans
6.7.1\java2\modules\org-apache-tools-ant-module.jar as these files are in module's NBM, but are not referenced from any
path:
[ant/bin/antenv.cmd, ant/lib/ant-apache-bcel.jar, ant/bin/complete-ant-cmd.pl, ant/lib/ant-testutil.jar,
ant/etc/junit-frames-xalan1.xsl, ant/bin/runant.py, ant/etc/changelog.xsl, ant/etc/checkstyle/checkstyle-xdoc.xsl,
ant/bin/envset.cmd, ant/lib/ant-nodeps.jar, ant/lib/ant-swing.jar, ant/lib/ant-jsch.jar, ant/bin/ant.cmd,
ant/lib/ant-weblogic.jar, ant/etc/jdepend.xsl, ant/bin/ant.bat, ant/lib/ant-antlr.jar, ant/etc/jdepend-frames.xsl,
ant/etc/checkstyle/checkstyle-frames.xsl, ant/bin/runrc.cmd, ant/lib/ant-junit.jar, ant/patches/ant-42275.diff,
ant/lib/ant-commons-logging.jar, ant/etc/tagdiff.xsl, ant/bin/ant, ant/lib/ant-netrexx.jar, ant/nblib/bridge.jar,
ant/etc/ant-bootstrap.jar, ant/bin/antRun.pl, ant/lib/ant-apache-log4j.jar, ant/etc/coverage-frames.xsl,
ant/lib/ant-commons-net.jar, ant/bin/lcp.bat, ant/etc/log.xsl, ant/lib/ant.jar, ant/lib/ant-launcher.jar,
ant/lib/ant-javamail.jar, ant/etc/maudit-frames.xsl, ant/bin/antRun.bat, ant/lib/ant-starteam.jar, ant/lib/ant-jai.jar,
ant/lib/ant-stylebook.jar, ant/etc/checkstyle/checkstyle-text.xsl, ant/lib/ant-trax.jar, ant/etc/junit-noframes.xsl,
ant/bin/antRun, ant/patches/ant-42275.jar, ant/etc/junit-frames.xsl, ant/etc/mmetrics-frames.xsl,
ant/lib/ant-apache-bsf.jar, ant/lib/ant-apache-regexp.jar, ant/bin/runant.pl, ant/lib/ant-apache-oro.jar,
ant/lib/ant-jmf.jar, ant/lib/ant-jdepend.jar, ant/lib/ant-apache-resolver.jar]
BUILD FAILED (total time: 41 seconds)




I Don't understand why makejnlp is still checking for dependencies issues with verify=false. 

Im not sure how to add these modules in verifyexcludes property. Is jnlp.xml the file I should configure to get jnlp
building working? 

Please tell me if you need some files or make some other tests in order to the issue get resolved.

Note: On ubuntu linux I get the same results.

Regards,

Raúl
Comment 1 Jesse Glick 2009-10-23 23:25:59 UTC
Should probably be a FAQ item or something. You cannot include o.apache.tools.ant.module in a JNLP build when you are
generating local JNLP descriptors for the platform, because this module's packaging is too complex to handle. Only
modules in the platform cluster are guaranteed to build in this mode. For all others you need to use
jnlp.platform.codebase as documented in harness/README. See issue #70477 for more detail.