gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alfonso Nishikawa (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GORA-393) bin/compile-examples.sh should do a touch on source files before compiling
Date Wed, 29 Oct 2014 17:28:34 GMT

     [ https://issues.apache.org/jira/browse/GORA-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alfonso Nishikawa updated GORA-393:
-----------------------------------
    Description: 
{{bin/compile-examples.sh}} is used to regenerate the examples entities after modifying the
compiler.
When the schemas are not modified, avro compiler don't overwrite the destination .java classes.
If we 'touch' the source files we will force the regeneration of the entities always. Just
a convenience modification.


(I noticed now a typo in that script. In [line 41|https://github.com/apache/gora/blob/master/bin/compile-examples.sh#L41]
must be used the command {{goracompiler}})

  was:
{{bin/compile-examples.sh}} is used to regenerate the examples entities after modifying the
compiler.
When the schemas are not modified, avro compiler don't overwrite the destination .java classes.
If we 'touch' the source files we will force the regeneration of the entities always. Just
a convenience modification.


> bin/compile-examples.sh should do a touch on source files before compiling
> --------------------------------------------------------------------------
>
>                 Key: GORA-393
>                 URL: https://issues.apache.org/jira/browse/GORA-393
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: build process
>    Affects Versions: 0.3, 0.4, 0.5
>            Reporter: Alfonso Nishikawa
>            Priority: Trivial
>              Labels: compiler
>
> {{bin/compile-examples.sh}} is used to regenerate the examples entities after modifying
the compiler.
> When the schemas are not modified, avro compiler don't overwrite the destination .java
classes.
> If we 'touch' the source files we will force the regeneration of the entities always.
Just a convenience modification.
> (I noticed now a typo in that script. In [line 41|https://github.com/apache/gora/blob/master/bin/compile-examples.sh#L41]
must be used the command {{goracompiler}})



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message