Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4341

No WARNING or ERROR when included .thrift file is not found while running thrift-maven-plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Contributed
    • Ubuntu 16.04.2 LTS

    Description

      While using thrift-maven-plugin, we define our Javascript execution as below:

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

      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:

      Attachments

        1. no_thrift_js_reported.jpg
          114 kB
          Merter Sualp

        Activity

          People

            Unassigned Unassigned
            merter Merter Sualp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: