[ 
http://jira.codehaus.org/browse/MJAVACC-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann updated MJAVACC-35:
-------------------------------------

    Attachment: equalInputOutputDirectory.zip

Attached is a mini project to reproduce this issue. This could be a candidate 
for the new integration tests.

>From what I experienced with this project, the issue has been fixed by 
>MJAVACC-39 and the update to the newer plexus-utils. When running the 
>"compile" phase on the dummy project with the current v2.3-SNAPSHOT, the 
>Token.java is kept as is. When I locally switched the plugin's snapshot back 
>to plexus-utils-1.0.4 as used by v2.2, the Token.java gets replaced with a 
>zero-length file (which in turn causes compilation to fail) as reported by Tim.


> If input and output directory are equal then input files are emptied
> --------------------------------------------------------------------
>
>                 Key: MJAVACC-35
>                 URL: http://jira.codehaus.org/browse/MJAVACC-35
>             Project: Maven 2.x JavaCC Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: WinXP
>            Reporter: Tim Pizey
>             Fix For: 2.3
>
>         Attachments: equalInputOutputDirectory.zip, JavaCCMojo.patch
>
>
> If the inputDirectory is the same as the outputDirectory, a situation which 
> no doubt should not happen, but has to in javacc itself, 
> then the input files are replaced with zero byte size files.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to