-
Bug
-
Resolution: Fixed
-
P4
-
6
-
None
-
b39
-
generic
-
generic
I found today that when I try to do an incremental build in
make/javax/swing it does not recompile modified classes. So if I modify
a file in javax/swing and then do a gnumake in javax/make/swing it does
not recompile the modified class. If I move up one level
and do gnumake in make/javax it seems to work fine. This used to
work before right ? It might be that everybody in Swing is using
Ant so they dont run into this issue ?
I checked for time skew problems on my build machine and it seems fine.
Also, my workspace is up to date as of yesterday evening.
Here is reply from Kelly :
Try 'gnumake all'.
The problem here is that the default make rule is always the first non-pattern type rule
seen in the Makefile, which happens to be in this case the rule 'html32dtd'.
I made this change to j2se/make/javax/swing/Makefile:
------- Makefile -------
*** /tmp/sccs.60aOaW Tue May 24 18:36:10 2005
--- Makefile Tue May 24 18:35:44 2005
***************
*** 29,34 ****
--- 29,36 ----
# Rules
#
+ default_rule: all
+
html32dtd html32dtd.clean:
@$(ECHO) ">>>Recursively making html32dtd "$@" @ `$(DATE)` ..."; \
$(CD) html32dtd; $(MAKE) RELEASE=$(RELEASE) FULL_VERSION=$(FULL_VERSION) NOCORE=$(NOCORE) $@\
-----
and it fixes the problem.
###@###.### 2005-05-25 17:09:37 GMT
make/javax/swing it does not recompile modified classes. So if I modify
a file in javax/swing and then do a gnumake in javax/make/swing it does
not recompile the modified class. If I move up one level
and do gnumake in make/javax it seems to work fine. This used to
work before right ? It might be that everybody in Swing is using
Ant so they dont run into this issue ?
I checked for time skew problems on my build machine and it seems fine.
Also, my workspace is up to date as of yesterday evening.
Here is reply from Kelly :
Try 'gnumake all'.
The problem here is that the default make rule is always the first non-pattern type rule
seen in the Makefile, which happens to be in this case the rule 'html32dtd'.
I made this change to j2se/make/javax/swing/Makefile:
------- Makefile -------
*** /tmp/sccs.60aOaW Tue May 24 18:36:10 2005
--- Makefile Tue May 24 18:35:44 2005
***************
*** 29,34 ****
--- 29,36 ----
# Rules
#
+ default_rule: all
+
html32dtd html32dtd.clean:
@$(ECHO) ">>>Recursively making html32dtd "$@" @ `$(DATE)` ..."; \
$(CD) html32dtd; $(MAKE) RELEASE=$(RELEASE) FULL_VERSION=$(FULL_VERSION) NOCORE=$(NOCORE) $@\
-----
and it fixes the problem.
###@###.### 2005-05-25 17:09:37 GMT