thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King III (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-4341) No WARNING or ERROR when included .thrift file is not found while running thrift-maven-plugin
Date Thu, 17 Jan 2019 19:52:00 GMT

     [ https://issues.apache.org/jira/browse/THRIFT-4341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James E. King III updated THRIFT-4341:
--------------------------------------
    Component/s: Contributed

> 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
>          Components: Contributed
>         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)

Mime
View raw message