Return-Path: Delivered-To: apmail-hadoop-avro-dev-archive@minotaur.apache.org Received: (qmail 53972 invoked from network); 17 Oct 2009 02:06:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Oct 2009 02:06:01 -0000 Received: (qmail 1560 invoked by uid 500); 17 Oct 2009 02:06:01 -0000 Delivered-To: apmail-hadoop-avro-dev-archive@hadoop.apache.org Received: (qmail 1487 invoked by uid 500); 17 Oct 2009 02:06:01 -0000 Mailing-List: contact avro-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: avro-dev@hadoop.apache.org Delivered-To: mailing list avro-dev@hadoop.apache.org Received: (qmail 1477 invoked by uid 99); 17 Oct 2009 02:06:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Oct 2009 02:06:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Oct 2009 02:05:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 482CA234C045 for ; Fri, 16 Oct 2009 19:05:31 -0700 (PDT) Message-ID: <1828099661.1255745131280.JavaMail.jira@brutus> Date: Fri, 16 Oct 2009 19:05:31 -0700 (PDT) From: "Philip Zeyliger (JIRA)" To: avro-dev@hadoop.apache.org Subject: [jira] Commented: (AVRO-149) "avrotool" runner to execute avro commands from command-line In-Reply-To: <991697305.1255585471276.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AVRO-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766816#action_12766816 ] Philip Zeyliger commented on AVRO-149: -------------------------------------- I'll update the patch with your suggestions as soon as I have a chance. I have no objections to "bin/avroj", except that it hides the fact that scripts are, well, source, and not binary, and they have a language, so they should have an extension. What I did was make "src/scripts/avroj.sh" be filtered (to replace @VERSION@), renamed (to avroj), and executable in the build/avro-VERSION directory as part of "ant package". Should tests go in "src/test/bin"? Anyway, I'll make it bin/avroj as soon as I have a chance. > "avrotool" runner to execute avro commands from command-line > ------------------------------------------------------------ > > Key: AVRO-149 > URL: https://issues.apache.org/jira/browse/AVRO-149 > Project: Avro > Issue Type: New Feature > Reporter: Philip Zeyliger > Assignee: Philip Zeyliger > Attachments: AVRO-149.patch.txt, AVRO-149.patch.v2.txt > > > There's already an ant task to generate java code based on a schema, but you can't do it from the command-line, with any ease. I will shortly upload a patch that does just that. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.