Ant can't find target after update to hudson 1.3.7.6

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Component/s: ant-plugin
    • None
    • Environment:
      jdk1.6.20,windows 7 64 bit,ant 1.8.1

      Ant can't find target after update to hudson 1.3.7.6 (ant say Target "clean,war" does not exist in the project)

      I found that hudson add extra double quote to ant target as below.

      $ cmd.exe /C '"D:\tools\apache-ant-1.8.1\bin\ant.bat -file build3.xml "clean,war" && exit %%ERRORLEVEL%%"'

      and below is previous version that i used.

      $ cmd.exe /C '"D:\tools\apache-ant-1.8.0\bin\ant.bat -file build3.xml clean,war && exit %%ERRORLEVEL%%"'

            Assignee:
            Unassigned
            Reporter:
            p_suwanpech
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: