IDLs in sub-directories are always recompiled
---------------------------------------------

                 Key: MIDLJ-7
                 URL: http://jira.codehaus.org/browse/MIDLJ-7
             Project: Maven 2.x CORBA IDL Compiler Plugin
          Issue Type: Bug
    Affects Versions: 1.0, 1.1
            Reporter: Yann Albou
         Attachments: patch.diff

When *.idl files are stored in a subdirectory of the sourceDirectory, the mojo 
keeps compiling them even though they weren't modified.
The defect is located in the method AbstractIDLJMojo.processSources where 
processed *.idl files are copied directly into the timestampDirectory, 
without preserving the relative path structure.
When the mojo is executed again, the comparison between the *.idl files in the 
sourceDirectory and the ones in the timestampDirectory fail 
for *.idl files stored in a subdirectory, because the relative path is 
different. 

The attached patch solves the problem.


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