[ 
https://issues.apache.org/jira/browse/GORA-191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13642593#comment-13642593
 ] 

Renato Javier MarroquĂ­n Mogrovejo commented on GORA-191:
--------------------------------------------------------

Hi all,

I think we should keep the usage as it is so we don't complicate users with new 
changes.
We should maintain the "Usage: GoraCompiler <schema file> <output dir> 
[-license <id>]" and just detect whether or not the input schema file is a file 
or a directory 

{code}
  boolean isDirectory = directory.isDirectory();
  if (isDirectory) 
     // get all schemas from the directory and compile them
  else
     // get the specific schema file and compile it
{\code}

Wouldn't that be easier for users?
                
> Support multiple Avro Schemas within GoraCompiler
> -------------------------------------------------
>
>                 Key: GORA-191
>                 URL: https://issues.apache.org/jira/browse/GORA-191
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: gora-core, schema
>    Affects Versions: 0.4
>            Reporter: Lewis John McGibbney
>            Assignee: Apostolos Giannakidis
>            Priority: Critical
>              Labels: goraCompiler, patch
>             Fix For: 0.4
>
>         Attachments: GORA-191.patch, goraCompilerPatch.patch
>
>
> We need to automate the compiling of various .avsc files over in Nutch. We 
> should add a constructor to GoraCompiler so it can be used more widely. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to