Uploaded image for project: 'Maven Ant Tasks (RETIRED)'
  1. Maven Ant Tasks (RETIRED)
  2. MANTTASKS-155

Dependency fileset should set the current ant project

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • dependencies task
    • None

    Description

      If the fileset generated by the dependencies task is used within a <path> task, it could cause a NPE. For example, consider the following:

      <path id="compile.classpath">
        <fileset refid="log4j:log4j:jar"/>
      </path>
      

      If the path is later used by the <javac> task, this could cause a NullPointerException because internally Ant access the project reference when building the path.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            pgier Paul Gier
            pgier Paul Gier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment