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

Summary: JNLP build fails: Warning: Could not find file /tmp/suite3/${app.icon} to copy.
Product: apisupport Reporter: Jesse Glick <jglick>
Component: HarnessAssignee: Jaroslav Tulach <jtulach>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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