Maven 2.x and 3.x Site Plugin

jetty in site run holds unnecessary file lock in windows

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.1
  • Component/s: site:run
  • Labels:
    None
  • Environment:
    Maven 2.0.10, JDK 6, XP SP2
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

Site run has an embedded server. The changes report plugin fails in the run mode since it tries to override files on which jetty has locks in windows. I depicted the problem in MCHANGES-137. The solution for this is in http://docs.codehaus.org/display/JETTY/Files+locked+on+Windows. I have attached a patch which fixes the problem. The patch may be limited to Windows with SystemUtils if necessary.

Issue Links

Activity

Hide
Dennis Lundberg added a comment -

Patch applied in r886844.
Thanks!

Show
Dennis Lundberg added a comment - Patch applied in r886844. Thanks!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: