You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/01/14 15:26:00 UTC

[jira] [Commented] (THRIFT-4341) No WARNING or ERROR when included .thrift file is not found while running thrift-maven-plugin

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

James E. King III commented on THRIFT-4341:
-------------------------------------------

The thrift-maven-plugin is a contributed component and not actively maintained by the thrift project.  If you have a pull request that fixes this, please consider contributing it.

> No WARNING or ERROR when included .thrift file is not found while running thrift-maven-plugin
> ---------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-4341
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4341
>             Project: Thrift
>          Issue Type: Bug
>         Environment: Ubuntu 16.04.2 LTS
>            Reporter: Merter Sualp
>            Priority: Minor
>              Labels: contrib
>         Attachments: no_thrift_js_reported.jpg
>
>
> While using thrift-maven-plugin, we define our Javascript execution as below:
> {code:xml}
>                     <execution>
>                         <id>thrift-js-sources</id>
>                         <phase>generate-sources</phase>
>                         <goals>
>                             <goal>compile</goal>
>                         </goals>
>                         <configuration>
>                             <generator>js:node</generator>
>                             <includes>
>                                 <include>included_file.thrift</include>
>                             </includes>
>                             <outputDirectory>${a.directory}</outputDirectory>
>                         </configuration>
>                     </execution>
> {code}
> However, if the compiler cannot find the included_file.thrift, it gives only an INFO and moves on without a warning or an error. The partial output is:
> !no_thrift_js_reported.jpg!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)