[
https://issues.apache.org/jira/browse/THRIFT-3838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fabrice Trillaud updated THRIFT-3838:
-------------------------------------
Description:
Issue [1090|https://issues.apache.org/jira/browse/THRIFT-1090] raised the
question of the name of the file generated for java constants.
Decision was taken to change from "Constants.java" to
"java_package_nameConstants.java"
It was suggested that the change in the name generation could be made optional,
and that's exactly what I need today. Since I'm working on quite old projects,
it's a huge pain to change all code to use new filenames.
As it was said, it should represent a very small amount of time to make this an
option.
Edit : added a patch proposition
Thanks
was:
Issue [1090|https://issues.apache.org/jira/browse/THRIFT-1090] raised the
question of the name of the file generated for java constants.
Decision was taken to change from "Constants.java" to
"java_package_nameConstants.java"
It was suggested that the change in the name generation could be made optional,
and that's exactly what I need today. Since I'm working on quite old projects,
it's a huge pain to change all code to use new filenames.
As it was said, it should represent a very small amount of time to make this an
option.
Thanks
> Java - Add option to configure constants filename
> -------------------------------------------------
>
> Key: THRIFT-3838
> URL: https://issues.apache.org/jira/browse/THRIFT-3838
> Project: Thrift
> Issue Type: Improvement
> Components: Java - Compiler, JavaME - Compiler
> Affects Versions: 0.9.3
> Reporter: Fabrice Trillaud
> Priority: Minor
> Labels: constants, generator, java
> Attachments: constants_legacy.patch
>
>
> Issue [1090|https://issues.apache.org/jira/browse/THRIFT-1090] raised the
> question of the name of the file generated for java constants.
> Decision was taken to change from "Constants.java" to
> "java_package_nameConstants.java"
> It was suggested that the change in the name generation could be made
> optional, and that's exactly what I need today. Since I'm working on quite
> old projects, it's a huge pain to change all code to use new filenames.
> As it was said, it should represent a very small amount of time to make this
> an option.
> Edit : added a patch proposition
> Thanks
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)