Subversion Repositories DevTools

Rev

Rev 2541 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2541 Rev 4123
Line 51... Line 51...
51
   */
51
   */
52
  public void run()
52
  public void run()
53
  {
53
  {
54
    Integer id = new Integer(mRtagId);
54
    Integer id = new Integer(mRtagId);
55
    setName(id.toString());
55
    setName(id.toString());
56
    mLogger.debug("run");
56
    mLogger.warn("run");
57
    boolean exit = false;
57
    boolean exit = false;
58
    RippleEngine rippleEngine = new RippleEngine(mReleaseManager, mRtagId, true);
58
    RippleEngine rippleEngine = new RippleEngine(mReleaseManager, mRtagId, true);
59
    MutableInt rconId = new MutableInt();
59
    MutableInt rconId = new MutableInt();
60
    MutableInt current_run_level = new MutableInt();
60
    MutableInt current_run_level = new MutableInt();
61
    MutableString addendum = new MutableString();
61
    MutableString addendum = new MutableString();
Line 382... Line 382...
382
            }
382
            }
383
            
383
            
384
            // generate build files
384
            // generate build files
385
            mLogger.warn("run generating build files");
385
            mLogger.warn("run generating build files");
386
            mLogger.fatal("run calling planRelease");
386
            mLogger.fatal("run calling planRelease");
-
 
387
            mPhaseStartTime = System.currentTimeMillis();
387
            rippleEngine.planRelease();
388
            rippleEngine.planRelease();
-
 
389
            mPhaseStartTime = 0;
-
 
390
 
388
            mPhaseStartTime = System.currentTimeMillis();
391
            mPhaseStartTime = System.currentTimeMillis();
389
            mLogger.fatal("run calling reportChange");                      
392
            mLogger.fatal("run calling reportChange");                      
390
            rippleEngine.reportChange();
393
            rippleEngine.reportChange();
391
            mPhaseStartTime = 0;
394
            mPhaseStartTime = 0;
392
 
395
 
Line 555... Line 558...
555
      **    Report if we appear to be stuck in the current phase
558
      **    Report if we appear to be stuck in the current phase
556
      **    At the moment the phases that we monitor should complete
559
      **    At the moment the phases that we monitor should complete
557
      **    within 5 minutes and 10 minutes is real error.
560
      **    within 5 minutes and 10 minutes is real error.
558
      **    We do need to allow time for interlocking with other tasks.
561
      **    We do need to allow time for interlocking with other tasks.
559
      */
562
      */
560
      if ( (System.currentTimeMillis() - mPhaseStartTime) / 1000 > 10 * 60  )
563
      if ( ((System.currentTimeMillis() - mPhaseStartTime) / 1000) > (10 * 60)  )
561
      {
564
      {
-
 
565
        mLogger.info("Master checkThreadExtended: " + ((System.currentTimeMillis() - mPhaseStartTime) / 1000));
562
        retVal = false;
566
        retVal = false;
563
      }
567
      }
564
    }
568
    }
565
    return retVal;
569
    return retVal;
566
  }
570
  }