[jaxb2-maven-plugin] test for staleness doesns't handle deep tree files 
correctly
---------------------------------------------------------------------------------

                 Key: MOJO-1442
                 URL: http://jira.codehaus.org/browse/MOJO-1442
             Project: Mojo
          Issue Type: Bug
         Environment: jaxb2-maven-plugin 1.2
            Reporter: Dominique Jean-Prost
         Attachments: patch.txt

When generating java class using xsd files, a .staleFlag is created to check 
staleness for files on next execution.
When using schemaDirectory and storing xsd files in deep tree directory (ie 
src/main/resources/whateverDir/myxsd.xsd), the staleness test doesn't work well 
: it only tries to get xsd file under src/main/resources, without handling 
recursivity.
Please find a patch to fix it. Please note that the problem may occurs with 
binding files too, but my patch only deals with xsd files, as I didn't have 
test case to reproduce.

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