Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-1981

Error occurs while building project in windows environment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 1.3.0
    • build, core
    • None

    Description

      Encounter error while building project in Windows environment, the error messages are shown as bellow:

      ```
      [INFO] Apache CarbonData :: Parent ........................ SUCCESS [ 3.915 s]
      [INFO] Apache CarbonData :: Common ........................ SUCCESS [ 12.007 s]
      [INFO] Apache CarbonData :: Format ........................ SUCCESS [ 30.059 s]
      [INFO] Apache CarbonData :: Core .......................... FAILURE [ 3.604 s]

      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 50.099 s
      [INFO] Finished at: 2018-01-04T11:19:28+08:00
      [INFO] Final Memory: 62M/612M
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (default) on project carbondata-core: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "bash" (in directory "D:\01_workspace\carbondata\core"): CreateProcess error=2, 系统找不到指定的文件。(cannot find the specified file)
      [ERROR] around Ant part ...... @ 4:27 in D:\01_workspace\carbondata\core\target\antrun\build-main.xml
      [ERROR] -> [Help 1]
      ```

      It is because in the pom, it calls bash script, which is not incompatible in windows.

      Attachments

        Issue Links

          Activity

            People

              xuchuanyin Chuanyin Xu
              xuchuanyin Chuanyin Xu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 7h 10m
                  7h 10m