[
https://issues.apache.org/jira/browse/AVRO-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Doug Cutting updated AVRO-150:
------------------------------
Status: Resolved (was: Patch Available)
Hadoop Flags: [Reviewed]
Fix Version/s: 1.4.0
Resolution: Fixed
I just committed this. I fixed a few other things in build.xml so that, e.g.,
javacc files are not re-generated either. Now when running 'ant compile; ant
compile' the second compilation does nothing. The patch also failed to
correctly detect unchanged protocol files, so I fixed that too, and fixed the
test to remove its files before running, so that it can be run twice without
'ant clean' between.
> 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.3.3
> Reporter: Doug Cutting
> Assignee: John Yu
> Fix For: 1.4.0
>
> Attachments: AVRO-150.patch, 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.