United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6641585 jdk/make/javax/Makefile should not have both SUBDIRS and AUTO_FILES_JAVA_DIRS
JDK-6641585 : jdk/make/javax/Makefile should not have both SUBDIRS and AUTO_FILES_JAVA_DIRS

Details
Type:
Bug
Submit Date:
2007-12-13
Status:
Closed
Updated Date:
2011-05-18
Project Name:
JDK
Resolved Date:
2011-05-18
Component:
infrastructure
OS:
generic
Sub-Component:
build
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports

Sub Tasks

Description
jdk/make/javax/Makefile defines both SUBDIRS and compiles .java files via AUTO_FILES_JAVA_DIRS. There is some interaction between the 'all' target defined in that Makefile and the one defined in Rules.gmk that causes each subdirectory to be entered twice. See build log for an incremental 'gnumake' in jdk/make/javax attached.

The easiest fix would be to move AUTO_FILES_JAVA_DIRS into its own Makefile in an 'other' directory and have javax/Makefile just have an subdir loop, including the 'other' directory. That would allow also for a better clobber build of the sources in AUTO_FILES_JAVA_DIRS.

                                    

Comments
EVALUATION

Need to separate out these makefiles.
                                     
2008-03-19
EVALUATION

http://hg.openjdk.java.net/jdk7/build/jdk/rev/b1bbd90b0c4f
                                     
2008-04-19



Hardware and Software, Engineered to Work Together