[ 
https://issues.apache.org/jira/browse/AVRO-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12876350#action_12876350
 ] 

John Yu commented on AVRO-150:
------------------------------

Hi,

Thanks for the reply. First, I think we should not make that assumption because 
in quickstart tutorial, the ant task scan all "avpr" and "avsc" files in input 
folder "**/*.avpr". 

Second, if we change SpecificCompiler#compileToDestination(), that means 
everytime we need to pay computation cost to parse the schema and protocol 
file. Most of the computation time are not saved. But it actually can avoid 
running later tasks, such as jar. I want to go with the second choice. What do 
you think? 

> Ant tasks re-generate code even if it's up-to-date
> --------------------------------------------------
>
>                 Key: AVRO-150
>                 URL: https://issues.apache.org/jira/browse/AVRO-150
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.2.0
>            Reporter: Doug Cutting
>         Attachments: AVRO-150.patch
>
>
> The Ant tasks for Java's protocol and schema should skip generation when the 
> generated files are newer than their source.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to