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 125096 - branding.jnlp DOCTYPE missing
Summary: branding.jnlp DOCTYPE missing
Status: RESOLVED INVALID
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-11 10:18 UTC by Dirk Estievenart
Modified: 2008-01-14 13:05 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 Dirk Estievenart 2008-01-11 10:18:22 UTC
Ant build for jnlp fails for RCP application.

i think that in the branding.jnlp template the DOCTYPE is missing.

also, there's a typo in the file:

  <security><security><all-permissions/></security></security>

should be :
  <security><all-permissions/></security>
Comment 1 Peter Pis 2008-01-11 15:24:07 UTC
Reassigning to "apisupport".
Comment 2 Jesse Glick 2008-01-11 18:15:00 UTC
What version of NB are you using? Steps to reproduce?
Comment 3 Dirk Estievenart 2008-01-14 09:31:06 UTC
Sorry, cannot reproduce. Looks like it's specific to my RCP project.
Build with "NetBeans IDE 6.0 (Build 200711261600)", but started with NB6beta1.
I guess it already has been fixed somewhere along the road.

My branding.jnlp is dated (in subversion) 05 Oct 2007, and looked like this:

<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="$$codebase">
  <information>
      <title>${app.title}</title>
      <vendor>${app.title} vendor</vendor>
      <description>${app.name} application</description>
      <icon href="${app.icon}"/>
  </information>
  <security>${jnlp.permissions}</security>
  <resources>
    ${jnlp.branding.jars}
  </resources>
  <component-desc/>
</jnlp>  


Comment 4 Jesse Glick 2008-01-14 13:05:15 UTC
There were some fixes in 6.0 relating to JNLP. Perhaps your branding.jnlp was generated with an older release and you
upgraded?