Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-1829

ant.importBuild should support <ivy:*> tags in the Ant build file


    • Type: Improvement
    • Status: Resolved
    • Resolution: Won't Fix
    • Affects Version/s: 1.0-milestone-3
    • Fix Version/s: None


      I know how to add to the classpath for Ant taskdefs, but the goal of ant.importBuild() is to support existing Ant build files. Since the Gradle team fully appreciates the beautiful tool Ivy, and Ivy is a major component of Gradle, I think it should support the most common use case for Ant build files using Ivy as documented in the Ivy reference guide.

      The average Ant+Ivy user does not write taskdef tasks, they just make sure that an Ivy jar file is in the global Ant CLASSPATH and then use the <ivy:*> tags (per documentations sited above). Seeing as Gradle obviously has Ivy in its own CLASSPATH, I don't see how it could be very difficult to allow it to also be in Gradle's Ant execution CLASSPATH.


        blaine Blaine Simpson created issue -
        ldaley Luke Daley made changes -
        Field Original Value New Value
        Workflow jira with pivotal tracker [ 14985 ] jira with pivotal tracker (no resolved, only closed) [ 18290 ]
        ldaley Luke Daley made changes -
        Workflow jira with pivotal tracker (no resolved, only closed) [ 18290 ] Copy of jira with pivotal tracker (no closed, only resolved) [ 20901 ]
        bmuschko Benjamin Muschko made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]


          • Assignee:
            blaine Blaine Simpson
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created: