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

Benjamin Bentmann commented on MJAVACC-35:
------------------------------------------

MJAVACC-38 should not have solved this issue since its patch lacks the 
directory comparison that Tim's patch is all about.

>From Tim's original description, "zero byte size files", it seems like 
>PLXUTILS-10 was the cause. This has been fixed in SVN at 2007-08-21 and the 
>plugin uses plexus-utils-1.4.9 which dates from 2007-12-19 (see 
>[repo|http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/]).

I am not sure whether the updated plexus-utils suffices or whether the plugin 
itself should additionally perform the directory-equal-check as proposed by 
Tim. Maybe Tim could provide a simple test project to demonstrate the 
problematic setup to see how the plugin handles it.

> 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: 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