Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 94385 - Bug in jnlp.xml - "Run JNLP Application" failed
Bug in jnlp.xml - "Run JNLP Application" failed
Product: apisupport
Classification: Unclassified
Component: Harness
All All
: P3 (vote)
: 6.x
Assigned To: Jaroslav Tulach
Depends on:
Blocks: 90498
  Show dependency treegraph
Reported: 2007-02-05 14:21 UTC by gborkowski
Modified: 2007-02-05 18:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description gborkowski 2007-02-05 14:21:01 UTC
If you add entry
to file in Project Suite, standalone application,
the "Run JNLP Application" action possibly fails.
It is because all platform jars are used from, there is no
build/jnlp/netbeans dir created, ant fails in jnlp.xml (from harness) in target
build-jnlp-nowar, in task
<copy todir="${build.jnlp.local.dir}/netbeans/" >
   <fileset dir="build/jnlp/netbeans">           <----- it fails here, there is
no such dir
       <include name="*.jnlp"/>

I'd suggest changing it to:
<copy todir="${build.jnlp.local.dir}/netbeans/" >
   <fileset dir="build/jnlp/">
       <include name="netbeans/*.jnlp"/>

Perhaps also next task
<copy todir="${build.jnlp.local.dir}/app/">
should be changed similarly.
Comment 1 gborkowski 2007-02-05 15:24:17 UTC
corrections: is build-jnlp-local task, not build-jnlp-nowar
2.suggested, fixed ant task should be obviously:
<copy todir="${build.jnlp.local.dir}" >
   <fileset dir="build/jnlp/">
       <include name="netbeans/*.jnlp"/>
Comment 2 Jesse Glick 2007-02-05 18:11:45 UTC
Was already fixed in trunk as part of issue #90498.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo