Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336475 - jetty-maven-plugin 7.2.1/7.2.2/7.3.0 locks deployed js files for edit.
Summary: jetty-maven-plugin 7.2.1/7.2.2/7.3.0 locks deployed js files for edit.
Status: CLOSED INVALID
Alias: None
Product: Jetty
Classification: RT
Component: other (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 7.2.x   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 03:13 EST by Fredrik Sundberg CLA
Modified: 2011-02-07 08:49 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fredrik Sundberg CLA 2011-02-07 03:13:38 EST
Build Identifier: 20100917-0705

Since jetty-maven-plugin 7.2.1 deployed js-files through mvn jetty:run that has been accessed by a web browser (locally) cannot be edited and then saved in eclipse no more. To be able to save the file, one needs to stop jetty, save the file and then start jetty again.

The same happens every time in 7.2.1/7.2.2/7.3.0 but works like a charm in 7.2.0.

Reproducible: Always

Steps to Reproduce:
1. mvn jetty:run on project
2. Access the site using a web browser so that the js file is loaded(this is important!)
3. open a js-file in eclipse , edit it and try to save it
4. Could not write file: C:\Documents and Settings\K245530\K245530_view_tap\TreasurySystems\TAP\src\main\webapp\js\tap-grid2.js.
C:\Documents and Settings\K245530\K245530_view_tap\TreasurySystems\TAP\src\main\webapp\js\tap-grid2.js (The requested operation cannot be performed on a file with a user-mapped section open)
Comment 1 Jesse McConnell CLA 2011-02-07 08:27:30 EST
http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows

reopen if this doesn't address your issue
Comment 2 Fredrik Sundberg CLA 2011-02-07 08:49:24 EST
Hmm ok, but something made it worse between 7.2.0 and 7.2.1. This *never* happens for me on 7.2.0.