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 60185 - run.args vs. debug.args
Summary: run.args vs. debug.args
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-17 12:14 UTC by webhsw
Modified: 2005-09-05 09:51 UTC (History)
0 users

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 webhsw 2005-06-17 12:14:50 UTC
In the file /apisupport/harness/harness-build.xml the targets run and debug are
implemented. 
Using "run" I can override the run.args property in the platform.properties file
of the suite project to set own arguments.
The target "debug" uses this run.args property for the debug parameters and the
user defined args are lost.
After changing the line 
  <param name="run.args" value="${debug.args}"/>
into
  <param name="run.args" value="${run.args} ${debug.args}"/>
the problen would be solved.
Comment 1 Jesse Glick 2005-06-20 20:31:57 UTC
Reasonable RFE. (Not a bug: overriding of run.args was *not* documented in
README.) But I would do it a bit differently, with ${run.args.extra}.
Comment 2 Jesse Glick 2005-06-21 18:47:49 UTC
committed   * Up-To-Date  1.14        apisupport/harness/README
committed   * Up-To-Date  1.9         apisupport/harness/harness-build.xml