Bugs item #1472727, was opened at 2006-04-18 23:39
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1472727&group_id=44253
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Interactions
Group: 2: Annoying
Status: Open
Resolution: None
Priority: 5
Submitted By: A. Harrison (space-lion)
Assigned to: Nobody/Anonymous (nobody)
Summary: Compile current doc overrides location for Run button
Initial Comment:
This error occurred while running WinXP x64 and DrJava
build 20060410-2314.
After using the "Compile current document" command,
either as a drop-down menu command, right-click context
menu command, or keyboard shortcut Shift+F5, the "Run"
toolbar button attempts to find a main method in the
compiled document. The following is output to the
interaction pane on click:
> java package.subpackage.ClassName
Error: No 'main' method in
'package.subpackage.ClassName' with arguments:
([Ljava.lang.String;)
where ClassName is the recently compiled document and
package/subpackage contain ClassName (i.e. full classpath).
This bug does not appear when using "Compile all", nor
when other ways of running the main document are used,
such as selecting the drop-down menu command, selecting
the right-click context menu command (right-click on
project file in file tree), or using the keyboard
shortcut F4. The main document specified in Project
Properties does not change as a result of this bug.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=1472727&group_id=44253
|