[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Ganymede Help] Date Comparision
|
On Thu, May 02, 2002 at 12:53:09PM -0400, Gaurav Bhargava wrote:
| Hi JOn,
| Here is the subclass. Please let me know if i am doing something wrong
| here.
Gaurav, there's nothing in your GanymedeBuilderTask subclass that
indicates a problem with oldLastRunTime. Nothing in the
GanymedeBuilderTask class itself indicates that oldLastRunTime should
not be set on the second and subsequent times that a builder task is
run.
So, I have to ask.. are you trying to run builderPhase1() yourself,
rather than letting the Ganymede scheduler run your task for you?
That's about the only thing I can think of for you to have your
builderPhase1() code run in a context where oldLastRunTime should not
be set.
Beyond that, the only thing I can think of is that you are mistaken
about it being null, and that something else is coming up null. I
see in your Serial_number_task that you are just doing a
System.out.println(date_last);
are you sure that this is the println that is being passed the null
value?
You don't ever do something to clear Serial_number_task.oldLastRunTime
someplace else, do you?
Was the file you sent the entirety of Serial_number_task?
| Thanks
| Gaurav
--
-------------------------------------------------------------------------------
Jonathan Abbey jonabbey@arlut.utexas.edu
Applied Research Laboratories The University of Texas at Austin
Ganymede, a GPL'ed metadirectory for UNIX http://www.arlut.utexas.edu/gash2
----------------------------------------------------------------------------
To make changes to your subscription to the Ganymede Help list, send
mail to majordomo@arlut.utexas.edu.
To unsubcribe, include the line
unsubscribe ganymede-help
in the body of your mail message
Visit the Ganymede web page at http://www.arlut.utexas.edu/gash2
----------------------------------------------------------------------------
Re: [Ganymede Help] Date Comparision
- From: Jonathan Abbey <jonabbey@arlut.utexas.edu>