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 242011 - Run file runs the project instead of the file
Summary: Run file runs the project instead of the file
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-17 14:35 UTC by spunk3
Modified: 2014-07-09 10:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description spunk3 2014-02-17 14:35:11 UTC
I have a Maven Web Application. When I click the Run File button or press Shift+F6 NetBeans runs the project instead of the file.
Comment 1 spunk3 2014-02-17 14:39:20 UTC
It's a Java file by the way. Web files run well.
Comment 2 Martin Janicek 2014-07-09 10:59:08 UTC
Hi, are you still facing the problem? I just tried to reproduce your issue but everything works as expected. I've done these simple steps:

1/ Create new Maven Web app
2/ Create new Java Class
3/ Implement simple main method with dummy Sys.out implementation
4/ Shift + F6

--> as the result, Maven command is executed showing correct log message

Closing as WORKSFORME for now. Please reopen the ticket in case you are still facing the problem. Thanks in advance!