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 88621 - JNLP build fails in <signjar> using Ant 1.7
Summary: JNLP build fails in <signjar> using Ant 1.7
Status: RESOLVED 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:
Depends on:
Blocks:
 
Reported: 2006-11-03 16:52 UTC by Jesse Glick
Modified: 2006-11-21 14:25 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 Jesse Glick 2006-11-03 16:52:07 UTC
Using Ant 1.7 for e.g. run-jnlp on a trivial suite project fails with:

build-jnlp-nowar:
No sub-builds to iterate on
/space/src/nb_all/nbbuild/netbeans/harness/suite.xml:270: The following error
occurred while executing this line:
/space/src/nb_all/nbbuild/netbeans/harness/jnlp.xml:235: You cannot specify the
signed JAR when using paths or filesets


Cf. WHATSNEW in Ant 1.7:

---
* <signjar> used to ignore a nested fileset when a jar was also provided as an
  attribute, printing a warning message; now it signs files in the fileset.
---


Omitting signedjar="${jnlp.dest.dir}/app" from the first <signjar> seems to fix
the problem. However that would I guess sign the JARs in place. If that's not a
problem, then I suppose that is the correct fix; confirm that Ant 1.6.5 works
with the change too, obviously.
Comment 1 Jaroslav Tulach 2006-11-21 14:25:25 UTC
/shared/data/ccvs/repository/apisupport/harness/release/jnlp.xml,v  <--  
jnlp.xml
new revision: 1.39; previous revision: 1.38
done