avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1884) Add set source file suffix function for generate non-java file #90
Date Sun, 04 Sep 2016 21:05:21 GMT

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

ASF subversion and git services commented on AVRO-1884:
-------------------------------------------------------

Commit e6d2c4d864222290e6e24039365476c8eeb2ea1e in avro's branch refs/heads/master from [~shijinkui]
[ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=e6d2c4d ]

AVRO-1884: Java: Add method to set the compiler output suffix.

Use when generating non-Java files with custom templates. For example:

```
compiler.setSuffix(".scala")
compiler.setTemplateDir(scalaTemplatePath)
compiler.compileToDestination(file, new File("src/main/scala/"))
```

Closes #90.


> Add set source file suffix function for generate non-java file #90
> ------------------------------------------------------------------
>
>                 Key: AVRO-1884
>                 URL: https://issues.apache.org/jira/browse/AVRO-1884
>             Project: Avro
>          Issue Type: Wish
>          Components: java
>            Reporter: shijinkui
>            Assignee: shijinkui
>             Fix For: 1.9.0, 1.8.2
>
>
> support generate non-java source file,  example:
> compiler.setSuffix(".scala")
> compiler.setTemplateDir(templatePath)
> compiler.compileToDestination(file, new File("src/main/scala/"))



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

Mime
View raw message