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

Bug joint compilation in ant task groovyc: classpath not set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.2
    • 2.5.9, 3.0.0-rc-2
    • Ant integration
    • 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

            emilles Eric Milles
            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