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 82737 - Build JNLP fails on Feedreader sample
Summary: Build JNLP fails on Feedreader sample
Status: RESOLVED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Templates (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-15 14:19 UTC by Tomas Danek
Modified: 2007-10-18 09:51 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 Tomas Danek 2006-08-15 14:19:52 UTC
NetBeans IDE Dev (Build 060815)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b94
Windows XP version 5.1 running on x86
en_US (nb); Cp1252

----------------------------

output:
...
...
...
Warning: 
The signer certificate will expire within six months.
Signing JAR: S:\cvs_trunk\nbbuild\netbeans\platform7\modules\org-openide-windows.jar
Warning: 
The signer certificate will expire within six months.
S:\cvs_trunk\nbbuild\netbeans\harness\suite.xml:264: The following error
occurred while executing this line:
S:\cvs_trunk\nbbuild\netbeans\harness\jnlp.xml:129: Cannot find update_tracking
directory for module
S:\cvs_trunk\nbbuild\netbeans\testtools\modules\org-netbeans-modules-nbjunit-ide.jar
BUILD FAILED (total time: 25 seconds)


steps to reproduce:
1) checkout trunk
2) build ide
3) create feedreader (it has as platform build ide)
4) invoke build jnlp

What matters is that mentioned platform contains testtools cluster (see
feedreader suite properties). If you switch feedreader to another platform
(downloaded unzipped trunk build)which does not have this cluster,it works.
Comment 1 Jesse Glick 2006-08-15 21:48:43 UTC
How exactly do you reproduce this? Steps #3 and #4 are unclear to me. I have
seen this exception when running tests but I don't know how to reproduce.
Comment 2 Tomas Danek 2006-08-16 07:22:06 UTC
Yes, thats exactly the same what test showed:

3) run built ide. New project -> Samples|Nb plug in modules|Feedreader (leave
default platform - i.e. the one that has testtools cluster)
4) invoke build jnlp on project node
Comment 3 Jesse Glick 2006-08-16 18:32:32 UTC
Try deleting target="jar" from build-nbjunit/ide and prepare-nbjunit in
xtest/build.xml. That may be all that is needed.
Comment 4 Jaroslav Tulach 2006-09-27 16:31:12 UTC
I have not got your problem:


Warning: The signer certificate will expire within six months.
Copying 1 file to /doma/jarda/NetBeansProjects/feedreader-suite/build/jnlp
Copying 1 file to /doma/jarda/NetBeansProjects/feedreader-suite/build/jnlp
Your JNLP file is generated 
at /doma/jarda/NetBeansProjects/feedreader-suite/build/jnlp/master.jnlp
build:
/doma/jarda/netbeans-src/nbbuild/netbeans/harness/suite.xml:264: The following 
error occurred while executing this line:
/doma/jarda/netbeans-src/nbbuild/netbeans/harness/jnlp.xml:148: 
Point -Djnlp.servlet.jar to your jnlp-servlet.jar, usually in 
$JDKHOME/sample/jnlp/servlet/jnlp-servlet.jar
BUILD FAILED (total time: 53 seconds)
Comment 5 Tomas Danek 2006-10-05 13:13:57 UTC
still reproducible in trunk, but i obviously forgot step 2.5 - build xtest in
order to get testtools cluster into platform
Comment 6 Jaroslav Tulach 2006-11-21 13:57:30 UTC
Works again for me. Sorry. testtools cluster is present, it contains two JARs 
(nbjunit and nbjunit-ide), but when I create new feedreader example, this 
cluster is excluded.
Comment 7 Jiri Rechtacek 2007-10-18 09:10:50 UTC
Reproducible again in NB6beta2.

>System Info: 
  Product Version         = NetBeans IDE 6.0 Beta 2 (Build 200710160000)
  Operating System        = Linux version 2.6.20-16-386 running on i386
  Java; VM; Vendor        = 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05; Sun Microsystems Inc.
  Java Home               = /space/shared/java/jdk1.6.0_02/jre


jnlp-master:
jnlp:
/tmp/netbeans/harness/suite.xml:342: The following error occurred while executing this line:
/tmp/netbeans/harness/jnlp.xml:274: The following error occurred while executing this line:
/tmp/netbeans/harness/common.xml:278: Cannot build JNLP for module
/tmp/feedreader-suite/build/cluster/modules/org-jdom.jar as these files are in module's NBM, but are not referenced from
any path:
[modules/ext/jdom-1.0-license.txt]
BUILD FAILED (total time: 39 seconds)
Comment 8 Jiri Rechtacek 2007-10-18 09:51:49 UTC
The problem is tracked now is a issue 119268.