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 148923 - JNLP build fails for netbeans platform application project
Summary: JNLP build fails for netbeans platform application project
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: rmichalsky
URL:
Keywords: REGRESSION
Depends on:
Blocks: 145446
  Show dependency tree
 
Reported: 2008-10-02 09:00 UTC by Petr Chytil
Modified: 2008-10-06 12:41 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 Petr Chytil 2008-10-02 09:00:32 UTC
Product Version: NetBeans IDE Dev (Build 200810011401)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133
System: Mac OS X version 10.5.5 running on i386; MacRoman; en_US (nb)
Userdir: /Users/petr/.netbeans/dev

Steps to reproduce:
- create empty NetBeans platform application
- invoke build JNLP application action
build fails (probably because missing icon file)

Validating: /Users/petr/NetBeansProjects/suite2/build/jnlp/master.jnlp
/Applications/NetBeans/NetBeans Dev 200810011401.app/Contents/Resources/NetBeans/harness/suite.xml:346: The following
error occurred while executing this line:
/Applications/NetBeans/NetBeans Dev 200810011401.app/Contents/Resources/NetBeans/harness/jnlp.xml:359: JNLP validation error
/Users/petr/NetBeansProjects/suite2/build/jnlp/master.jnlp: invalid href 'master.icon}': java.net.URISyntaxException:
Illegal character in path at index 11: master.icon}
BUILD FAILED (total time: 4 seconds)
Comment 1 Jesse Glick 2008-10-02 19:25:33 UTC
Caused by issue #145446 patch, I guess.

app.icon = '${app.icon}'
app.icon.ext = 'icon}'
Comment 2 rmichalsky 2008-10-03 08:49:03 UTC
Correct. Prevents running every JNLP RCP app without custom icon, a P2 then.
Comment 3 rmichalsky 2008-10-03 08:53:36 UTC
Fixed in core-main #99b35982fe2e
Comment 4 Quality Engineering 2008-10-04 09:24:21 UTC
Integrated into 'main-golden', will be available in build *200810040600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/99b35982fe2e
User: Richard Michalsky <rmichalsky@netbeans.org>
Log: #148923: fixed failing launch of JNLP app with missing icon
Comment 5 Petr Chytil 2008-10-06 12:41:51 UTC
verified in:

Product Version: NetBeans IDE Dev (Build 200810060201)
Java: 1.6.0_10-rc2; Java HotSpot(TM) Client VM 11.0-b15
System: Linux version 2.6.24-21-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/petr/.netbeans/dev