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 10812 - Allow arguments to be set for an executable class in a JAR file
Summary: Allow arguments to be set for an executable class in a JAR file
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@projects
URL:
Keywords:
Depends on: 4029
Blocks:
  Show dependency tree
 
Reported: 2001-03-29 01:15 UTC by jsisson
Modified: 2003-12-11 14:25 UTC (History)
1 user (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 jsisson 2001-03-29 01:15:55 UTC
Currently (in Netbeans 3.2 Beta build 13) if you add a JAR file to your 
filesystem and you want to execute a class in the JAR, passing it some 
arguments, you cannot use the Build->Set Arguments menu option.

This seems to be a pretty basic requirement, as there are many java programs 
that require arguments to be passed to them.  It is especially confusing for 
new users who see the "Set Arguments" menu option.
Comment 1 jsisson 2001-03-29 01:28:58 UTC
Also if you right click on the executable class in the JAR you can bring up the 
properties sheet, but it does not have the execution tab on it.  Therefore it 
seems that you cannot set the type of executor for a class in a JAR (probably 
due to the same reason you can't set arguments).
Comment 2 Jaroslav Tulach 2001-04-07 08:02:08 UTC
Won't be fix for 3.2.
Comment 3 Jesse Glick 2001-04-27 18:52:59 UTC
I would vote to make this a feature request for jarpackager, not for core.
Comment 4 Jesse Glick 2001-04-30 12:18:06 UTC
Making a feature request for jarpackager: writable JAR FSs. I don't see any
reason why the core should provide this functionality.
Comment 5 Jan Chalupa 2001-05-05 23:08:42 UTC
Target milestone 3.3
Comment 6 Mike Schilling 2001-05-30 19:19:14 UTC
Being able to set arguments for classes in a readonly filesystem is a projects 
feature, isn't it?

The WJFS will solve this for writeable jars.
Comment 7 jsisson 2001-05-30 23:32:14 UTC
I agree with the comment from Mike Schilling that for one to be able to set 
arguments for a class in a read only file system, the argument data needs to be 
stored seperately from the read only file system (e.g in project information).  

Why should one have to pollute a third party JAR with netbeans files just so 
they can execute a class in the JAR, passing arguments.
Comment 8 Vitezslav Stejskal 2001-08-17 23:04:55 UTC
Won't be fix for 3.3 as a major changes in project's system were deffered to 4.0.
Comment 9 Vitezslav Stejskal 2003-01-02 13:33:30 UTC
This is solved in new projects system (Nb 4.0), please check out the
preliminary version from:
http://www.netbeans.org/download/prj40_prototype/
Comment 10 Jan Becicka 2003-11-25 14:04:33 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as VERIFIED --->
Comment 11 Jan Becicka 2003-11-25 14:13:41 UTC
---> CLOSED