Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 1E7CD200AF8 for ; Thu, 5 May 2016 12:48:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1D1A6160A03; Thu, 5 May 2016 10:48:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8CCEE160A02 for ; Thu, 5 May 2016 12:48:02 +0200 (CEST) Received: (qmail 74667 invoked by uid 500); 5 May 2016 10:48:01 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 74656 invoked by uid 99); 5 May 2016 10:48:01 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2016 10:48:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0B69ADFB90; Thu, 5 May 2016 10:48:01 +0000 (UTC) From: shijinkui To: dev@avro.apache.org Reply-To: dev@avro.apache.org Message-ID: Subject: [GitHub] avro pull request: Add set source file suffix function for generat... Content-Type: text/plain Date: Thu, 5 May 2016 10:48:01 +0000 (UTC) archived-at: Thu, 05 May 2016 10:48:03 -0000 GitHub user shijinkui opened a pull request: https://github.com/apache/avro/pull/90 Add set source file suffix function for generate non-java file …for example: ``` compiler.setSuffix(".scala") compiler.setTemplateDir(templatePath) compiler.compileToDestination(file, new File("src/main/scala/")) ``` You can merge this pull request into a Git repository by running: $ git pull https://github.com/shijinkui/avro compiler_set_file_suffix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/avro/pull/90.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #90 ---- commit 91f3ec18ab966457599a478eea6e4f3a594164bc Author: shijinkui Date: 2016-05-05T10:43:39Z Add set source file suffix function. use for generate non-java file. for example: ``` compiler.setSuffix(".scala") compiler.setTemplateDir(templatePath) compiler.compileToDestination(file, new File("src/main/scala/")) ``` ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---