Merter Sualp created THRIFT-4341:
------------------------------------

             Summary: No WARNING or ERROR when included .thrift file is not 
found
                 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


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|thumbnail!



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to