[
https://issues.apache.org/jira/browse/THRIFT-4341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James E. King III updated THRIFT-4341:
--------------------------------------
Labels: contrib (was: )
> 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)