Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » BUG: build project is very slow after system time adjusted
BUG: build project is very slow after system time adjusted [message #249594] Mon, 12 November 2007 02:14 Go to next message
Eclipse UserFriend
Originally posted by: chenal.naritech.cn

I adjusted my system time two hours back. Eclipse Europa will build the
project automatically. But it will stay at 1% and make no progress.
Re: BUG: build project is very slow after system time adjusted [message #249609 is a reply to message #249594] Thu, 15 November 2007 08:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Allen,

Just a theory, but I imagine that you might have a Java file with
timestamp x and now the system time has been set to x - 2hr and so when
the .class is produced, the .class still looks older than the .java file
and the system will still want to rebuild it. I suppose your problem
might go away in 2 hours...


Allen Chen wrote:
> I adjusted my system time two hours back. Eclipse Europa will build the
> project automatically. But it will stay at 1% and make no progress.
>
Re: BUG: build project is very slow after system time adjusted [message #249639 is a reply to message #249609] Thu, 15 November 2007 19:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chenal.naritech.cn

Ed Merks 写道:
> Allen,
>
> Just a theory, but I imagine that you might have a Java file with
> timestamp x and now the system time has been set to x - 2hr and so when
> the .class is produced, the .class still looks older than the .java file
> and the system will still want to rebuild it. I suppose your problem
> might go away in 2 hours...

Sorry. After the system time is adjusted to 2 hours back, the build
process can be done. But it will stay at 1% and make no progress when
running the project, not the building process.

Restart Eclipse, and run the project again, it will be ok.

The steps to test are as follows.

1. adjust the system time, for example 2 hours back.
2. clean
3. rebuild
4. run (stay at 1% for ever)
5. exit Eclipse
6. run again (ok!)
Re: BUG: build project is very slow after system time adjusted [message #249645 is a reply to message #249639] Thu, 15 November 2007 20:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chenal.naritech.cn

Allen Chen 写道:
> Ed Merks 写道:
>> Allen,
>>
>> Just a theory, but I imagine that you might have a Java file with
>> timestamp x and now the system time has been set to x - 2hr and so when
>> the .class is produced, the .class still looks older than the .java file
>> and the system will still want to rebuild it. I suppose your problem
>> might go away in 2 hours...
>

I have make a test.

1. adjust the sytem time 5 minutes back
2. run the project (will stay at 1%)
3. adjust the system time 5 minutes forward
4. run the project again, ok!

I really wonder why it is ok after Eclipse restarted. Is there anything
wrong with incremental compilation? Since I use other IED, such as
Visual Studio, there is no problem after the system time adjustment. So
I take it a bug of Eclipse.

Allen
Re: BUG: build project is very slow after system time adjusted [message #249654 is a reply to message #249645] Fri, 16 November 2007 06:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

This is a multi-part message in MIME format.
--------------060509050707000109020000
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 8bit

Allen,

Open a bugzilla. I imagine that with so many important issues for the
JDT guys to look at, messing with the system clock and needing to
restart Eclipse is kind of a nit.


Allen Chen wrote:
> Allen Chen д
Re: BUG: build project is very slow after system time adjusted [message #249658 is a reply to message #249645] Fri, 16 November 2007 14:55 Go to previous message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Allen Chen" <chenal@naritech.cn> wrote in message
news:fhiqh3$6jl$1@build.eclipse.org...
> Allen Chen д
Previous Topic:Formatting source code
Next Topic:Remote Debugging via Remote Eclipse Agent ?
Goto Forum:
  


Current Time: Wed May 14 13:00:17 EDT 2025

Powered by FUDForum. Page generated in 0.03697 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top