Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8775

Bug joint compilation in ant task groovyc: classpath not set

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.2
    • Fix Version/s: 2.5.9, 3.0.0-rc-2
    • Component/s: Ant integration
    • Labels:
      None

      Description

      Bug joint compilation in ant task groovyc: package does not exist

      javac compiles normally java-files.
      groovyc compiles normally groovy-files only.
      groovyc with nested element javac - error: package does not exist

      java 10.0.2
      groovy 2.5.2
      OS Windows 7

      On java 8 - all ok

      Example project in attachments

      Prepare:

      mvn dependency:copy-dependencies
      

      Error compile:

      ant build.joint
      

      Normal compile:

      ant build.java
      ant build.groovy
      

       

        Attachments

        1. groovyc-ant-bugs.zip
          12 kB
          Sergey Kravchenko

          Activity

            People

            • Assignee:
              emilles Eric Milles
              Reporter:
              gkraser Sergey Kravchenko
            • Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 1h
                1h