Ant build log appears incorrect through Bamboo which causes build to be successful rahter than failed

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 1.1.1
    • Affects Version/s: 1.1
    • Component/s: Builds
    • None

      I have an ant build which when run through Bamboo causes the log to be incorrect. The lines in the box appear out of order when compared to the same ant script run from a command line. The lines are for some reason inserted in the middle of the log as opposed to the end of the log.

      Log from within Bamboo

      15-May-2007 11:29:06 [javac] symbol : class IStructuredSelection
      15-May-2007 11:29:06 [javac] location: class com.lakeviewtech.eclipse.systemibuilder.builder.ToggleNatureAction

      15-May-2007 11:29:06 	BUILD FAILED
      15-May-2007 11:29:06 	C:\bamboo-p4data\ ​bamboo1\​SDE\​Eclipse\​Plugin\​SystemIBuilder\​build.xml:62: Compile failed; see the compiler error output for details.
      15-May-2007 11:29:06 
      15-May-2007 11:29:06 	Total time: 4 seconds
      

      15-May-2007 11:29:06 [javac] if (selection instanceof IStructuredSelection) {
      15-May-2007 11:29:06 [javac] ^
      15-May-2007 11:29:06 [javac] C:\bamboo-p4data\​bamboo1\​SDE\​Eclipse\​Plugin\​SystemIBuilder\​src\​ com\​lakeviewtech\​eclipse\​systemibuilder\​builder\​ ToggleNatureAction.java:31: cannot find symbol
      15-May-2007 11:29:06 [javac] symbol : class IStructuredSelection
      15-May-2007 11:29:06 [javac] location: class com.lakeviewtech.eclipse.systemibuilder.builder.ToggleNatureAction
      15-May-2007 11:29:06 [javac] for (Iterator it = ((IStructuredSelection) selection).iterator(); it
      15-May-2007 11:29:06 [javac] ^
      15-May-2007 11:29:06 [javac] C:\bamboo-p4data\​bamboo1\​SDE\​Eclipse\​Plugin\​SystemIBuilder\​src\​ com\​lakeviewtech\​eclipse\​systemibuilder\​builder\​ ToggleNatureAction.java:34: cannot find symbol
      15-May-2007 11:29:06 [javac] symbol : class IProject
      15-May-2007 11:29:06 [javac] location: class com.lakeviewtech.eclipse.systemibuilder.builder.ToggleNatureAction
      15-May-2007 11:29:06 [javac] IProject project = null;
      15-May-2007 11:29:06 [javac] ^
      15-May-2007 11:29:06 [javac] C:\bamboo-p4data\​bamboo1\​SDE\​Eclipse\​Plugin\​SystemIBuilder\​src\​ com\​lakeviewtech\​eclipse\​systemibuilder\​builder\​ ToggleNatureAction.java:35: cannot find symbol
      15-May-2007 11:29:06 [javac] symbol : class IProject
      15-May-2007 11:29:06 [javac] location: class com.lakeviewtech.eclipse.systemibuilder.builder.ToggleNatureAction
      15-May-2007 11:29:06 [javac] if (element instanceof IProject) {
      15-May-2007 11:29:06 [javac] ^
      15-May-2007 11:29:06 [javac] C:\bamboo-p4data\​bamboo1\​SDE\​Eclipse\​Plugin\​SystemIBuilder\​src\​ com\​lakeviewtech\​eclipse\​systemibuilder\​builder\​ ToggleNatureAction.java:36: cannot find symbol
      15-May-2007 11:29:06 [javac] symbol : class IProject
      15-May-2007 11:29:06 [javac] location: class com.lakeviewtech.eclipse.systemibuilder.builder.ToggleNatureAction
      15-May-2007 11:29:06 [javac] project = (IProject) element;
      15-May-2007 11:29:06 [javac] ^
      15-May-2007 11:29:07 [javac] 100 errors
      15-May-2007 11:29:07 Completed building build "Comet - SystemIPlugins" return code = 0
      15-May-2007 11:29:07 Build Completed... finalising build
      15-May-2007 11:29:07 Stopping timer.
      15-May-2007 11:29:07 Build CMT-SIP-7 completed.

      Log from command line call

      [javac] ^
      [javac] C:\bamboo-p4data\bamboo1\SDE\Eclipse\Plugin\SystemIBuilder\src\com\lakeviewtech\eclipse\systemibuilder\builder\ToggleNa
      ureAction.java:36: cannot find symbol
      [javac] symbol : class IProject
      [javac] location: class com.lakeviewtech.eclipse.systemibuilder.builder.ToggleNatureAction
      [javac] project = (IProject) element;
      [javac] ^
      [javac] 100 errors

      *BUILD FAILED
      C:\bamboo-p4data\bamboo1\SDE\Eclipse\Plugin\SystemIBuilder\build.xml:62: Compile failed; see the compiler error output for details.
      
      Total time: 6 seconds*
      

              Assignee:
              MarkC
              Reporter:
              Paul J. Smith
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: