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 92171 - Build JNLP application fails if org-apache-tools-ant-module is included
Summary: Build JNLP application fails if org-apache-tools-ant-module is included
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-10 03:05 UTC by carcassi
Modified: 2007-01-10 18:22 UTC (History)
1 user (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 carcassi 2007-01-10 03:05:18 UTC
I am trying to create a JNLP application that does include the Java 
development modules. I am getting:

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

Normal Build/Run/Debug work fine, as well as Build ZIP Distribution. To be 
sure, I reinstalled NB 5.5 from scratch (remove by .netbeans/5.5 dir), created 
a NB Suite project with no modules, tried to Build a JNLP file with all NB 5.5 
modules, and it fails consistently.
Comment 1 Jesse Glick 2007-01-10 18:22:03 UTC
Right, only "simple" modules from the platform can be built yourself in JNLP
mode. For all others, you need to use prebuilt JNLP descriptors from
netbeans.org; the regular binary platform does not suffice. (See harness/README
for a description of the property you need to set to use external JNLP descriptors.)

In the case of the Ant module, this is not available in 5.5; 6.0 development
versions do include a JNLP-ready version of the Ant module. 5.5 Java support
modules are not ready either; their 6.0 replacements (the Java infrastructure
was rewritten) can be built as JNLP descriptors but do not yet work in JNLP
mode. So basically you're out of luck for now, sorry.