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.
Summary: | Clarify when CoS is being used | ||
---|---|---|---|
Product: | projects | Reporter: | Jesse Glick <jglick> |
Component: | Maven | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PLAN, UI |
Priority: | P3 | ||
Version: | 7.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 189103, 209814 | ||
Bug Blocks: | 175689, 196008, 202345, 202839, 203385 |
Description
Jesse Glick
2011-11-09 22:45:36 UTC
as I learned last year at netbeans day from Adam Bien, even the capacity to enable CoS for web apps (non test) execution is not common knowledge and I was asked why it's not on by default. Deploy on Save (DoS) is in fact on by default - but is only active when CoS is also on for running (app, all), which is not the default. The EE wizard iterator turns it on for newly created projects, creating nb-configuration.xml as an annoying side effect, but this is useless for existing projects. Since you do not normally have run targets in a Maven SE project, and certainly nothing like the IDE's deploy to configured server for an EE project (just jetty:run and the like), making CoS be enabled for running by default only makes sense. The question is then whether the default mode should be app or all, i.e. whether CoS should remain on by default for tests. Given the large set of bugs filed about test CoS, usually involving specialized Surefire configuration, and the fact that people are particularly frustrated when tests are not reliable, I am inclined to think it should be off, but with a suggestion to turn on. core-main #65a323e497fe Integrated into 'main-golden', will be available in build *201203240400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/65a323e497fe User: Jesse Glick <jglick@netbeans.org> Log: #204907: make app, but not test, the default value for CoS. |