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 246866 - Maven Web project: New resource files not copied to target directory
Summary: Maven Web project: New resource files not copied to target directory
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-04 03:56 UTC by bht
Modified: 2015-11-09 05:29 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 bht 2014-09-04 03:56:19 UTC
The context is a Maven Web project deployed to an IDE registered Tomcat server.

I observe that on making changes to a resource file e.g. a HTML document or css file, the IDE copies the file to the target directory automatically, without requiring a manual build / deploy or run execution. I expect this to happen.

However I discovered that the IDE does not copy new files (at least under the condition described here).

More specifically, the IDE does not copy the files to the target directory if I copy a directory including such files from another project into the web directory of the current project. I use the copy and paste functionality available in the Projects folder.

Do you need a test case for this?
Comment 1 Tomas Stupka 2014-09-04 09:59:36 UTC
reassigning for further evaluation ...
Comment 2 Tomas Stupka 2015-05-04 13:59:31 UTC
fixed in jet-main #8bf7b27fe0b7
Comment 3 Quality Engineering 2015-05-05 03:27:35 UTC
Integrated into 'main-silver', will be available in build *201505050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8bf7b27fe0b7
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #246866 - Maven Web project: New resource files not copied to target directory
Comment 4 bht 2015-11-09 05:29:30 UTC
I would like to thank the NetBeans team for their amazing work. I hope this comment will find its way to the right people not just Martin. NetBeans 8.1, IMHO has reached a level of maturity and finesse which I have not seen before. For Java developers, it creates a technical advantage through its overall completeness. I now have 100% confidence to recommend it to every developer on every level of expertise from beginner to decades of work in the field.