3 Replies Latest reply on Jun 13, 2008 2:23 AM by 666705

    failonerror support for wldeploy?

    3004

      Hello,

      I am trying to deploy an application to wls 8.1 using the wldeploy ant task.
      I would like the build to fail if the deployment does not complete successfully.
      I have tried setting the failonerror attribute to true (as documented: http://edocs.bea.com/wls/docs81/deployment/tools.html).

      However, when I run the build I get the following error:

      file:C:/dev/tlv3/build.xml:123: The <wldeploy> task doesn't support the "failonerror"
      attribute.

      If I don't set the attribute, the build runs, but it does not fail if there are
      deployment problems.

      Has anyone else had issues like this with the wldeploy ant task? Is there a known
      way to fail the build (or set a property) if the wldeploy ant task fails to deploy
      an application?

      Chad
        • 1. RE: failonerror support for wldeploy?
          3004
          Hi Chad,

          I also have the same problem. Did you find any solution for this problem from bea? Could you please let me know.

          Thanks,
          Chandra
          • 2. Re: failonerror support for wldeploy?
            3004

            hmm ....so i think it is a BUG !!!!!!!!!!!!



            Chad, did you happen to resolve this issue ??




            "Chad" <cbyers@truelink.com> wrote:
            >
            Hello,

            I am trying to deploy an application to wls 8.1 using the wldeploy ant
            task.
            I would like the build to fail if the deployment does not complete successfully.
            I have tried setting the failonerror attribute to true (as documented:
            http://edocs.bea.com/wls/docs81/deployment/tools.html).

            However, when I run the build I get the following error:

            file:C:/dev/tlv3/build.xml:123: The <wldeploy> task doesn't support the
            "failonerror"
            attribute.

            If I don't set the attribute, the build runs, but it does not fail if
            there are
            deployment problems.

            Has anyone else had issues like this with the wldeploy ant task? Is
            there a known
            way to fail the build (or set a property) if the wldeploy ant task fails
            to deploy
            an application?

            Chad
            • 3. Re: failonerror support for wldeploy?
              666705
              https://support.bea.com/utils/viewClarifyDoc/ViewClarifyDocController.jpf?answerpage=solution&page=wls/S-26164.htm