[
https://issues.apache.org/jira/browse/THRIFT-358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679329#action_12679329
]
Kevin Clark commented on THRIFT-358:
------------------------------------
+1
Hardcoding the path feels wrong. This is better.
> Change how external thrift files' generated code is required
> ------------------------------------------------------------
>
> Key: THRIFT-358
> URL: https://issues.apache.org/jira/browse/THRIFT-358
> Project: Thrift
> Issue Type: Improvement
> Components: Compiler (Ruby)
> Reporter: Bryan Duxbury
> Assignee: Bryan Duxbury
> Fix For: 0.1
>
>
> Currently, Ruby generated structs assume that any external Thrift files'
> generated code can be found in exactly the same directory, which is often not
> the case. This leads to issues when you have a bunch of different thrift
> files and generated code living in different places.
> The best solution seems to be to change the generator to omit the path
> leading up to the included thrift file's name, and just assuming that the
> developer will put the external generated code into the Ruby load path.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.