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 63092 - JNLP build fails: Warning: Could not find file /tmp/suite3/${app.icon} to copy.
Summary: JNLP build fails: Warning: Could not find file /tmp/suite3/${app.icon} to copy.
Status: VERIFIED 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: 2005-08-25 18:04 UTC by Jesse Glick
Modified: 2005-10-26 16:07 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 Jesse Glick 2005-08-25 18:04:02 UTC
I have an app w/ no icon. When I try clean run-jnlp, it fails:

.....
Warning: The signer certificate will expire within six months.
Signing JAR: /space/src/nb_all/nbbuild/netbeans/harness/jnlp/jnlp-launcher.jar

Warning: The signer certificate will expire within six months.

BUILD FAILED
/space/src/nb_all/nbbuild/netbeans/harness/suite.xml:150: The following error
occurred while executing this line:
/space/src/nb_all/nbbuild/netbeans/harness/jnlp.xml:232: Warning: Could not find
file /tmp/suite3/${app.icon} to copy.

Just after your last changes. Was working before.
Comment 1 Jesse Glick 2005-08-25 18:05:42 UTC
<copy file="${app.icon}" tofile="${jnlp.dest.dir}/master.png" />

as well as the generated JNLP seems to assume that there is an icon.
Comment 2 Jaroslav Tulach 2005-08-25 18:24:10 UTC
  
What I have to do is to fail the JNLP build if "app.name" is not set. As soon  
as one sets app.name, one should also get app.icon, at least I hope. If not, I 
can skip the copy, that is probably one failonerror="false".  
  
apisupport/harness/release/jnlp.xml,v  <--  jnlp.xml  
new revision: 1.10; previous revision: 1.9  
  
  
Comment 3 pzajac 2005-10-26 16:07:58 UTC
verified