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 158098 - jnlp.xml: hardcodes too much
Summary: jnlp.xml: hardcodes too much
Status: RESOLVED WONTFIX
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-06 18:13 UTC by puce
Modified: 2012-10-30 14:55 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description puce 2009-02-06 18:13:12 UTC
The harness/jnlp.xml hardcodes many things, which makes it hard to configure and at least in one case is a defect:

1) <j2se version="1.5+"/>
 - This might not be correct. It should respect the Java Platform selected for the project (nbjdk.active, nbjdk.home,
etc.) -> DEFECT
 - It should allow to set the other attributes via properties (java-vm-args, initial-heap-size, max-heap-size, href,...)
(See also http://www.netbeans.org/issues/show_bug.cgi?id=64618)

2) <property name="netbeans.user" value="$${user.home}/.nbapp-${app.name}"/>
Allow to specify the user-dir (.nbapp-${app.name}) and user-dir location ($${user.home}) via properties.
The clean target has to respect this.

3) As the master.jnlp file, the web.xml should be created, if it does not exist, but not to a tmp directory but rather
to "Important Files", where one can adapt it.
Comment 1 rmichalsky 2009-04-09 15:09:16 UTC
More of an enhancement, not into 6.7.
Comment 2 puce 2010-07-02 09:53:58 UTC
Also make sure this works with Maven.
Comment 3 Jaroslav Tulach 2012-10-30 14:55:12 UTC
Fine idea, but if you are interested, then provide a patch.