[ 
https://jira.codehaus.org/browse/MSHARED-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=317969#comment-317969
 ] 

Olivier Lamy commented on MSHARED-269:
--------------------------------------

did you try with last doxia snapshots ?
I try to find possible lock but no luck (and impossible for me to reproduce as 
I use an os without issue for files locking :-) )
                
> File locking problem on the file associated to 'getOutpuName()', even if the 
> report is external
> -----------------------------------------------------------------------------------------------
>
>                 Key: MSHARED-269
>                 URL: https://jira.codehaus.org/browse/MSHARED-269
>             Project: Maven Shared Components
>          Issue Type: Bug
>          Components: maven-reporting-impl
>    Affects Versions: maven-reporting-impl-2.2
>         Environment: Windows 7 64 bits
> JDK 1.7.0_29 (64 bits VM)
>            Reporter: Baptiste Gaillard
>         Attachments: FileLock.zip
>
>
> Creating a Maven Report Mojo which extends the AbstractMavenReport class and 
> returns 'true' in the 'isExternalReport' locks the file associated to the 
> name returned by the 'getOutputName()' function of the Mojo.
> The locking problems appears inside the 'executeReport(...)' function of the 
> Mojo, I'm not sure if its normal or not but I have to delete this file to 
> generate a documentation with JSDuck (Javascript documentation). 
> A full description of the problem is provided here 
> [http://www.mail-archive.com/[email protected]/msg127863.html]
> I provide two Maven projects which allow to reproduce the problem : 
>  - bug-maven-plugin : A very simple plugin which only tries to delete the 
> 'index.html' file, that's to say the name provided by the 'getOutputName()' 
> function. 
>  - bug-site-project : A very simple project which uses the 'bug-maven-plugin' 
> Reporting Plugin, running 'mvn site' on it allow to show the file locking 
> problem I encounter. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to