File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 11#
2- # Copyright (c) 1999, 2023 , Oracle and/or its affiliates. All rights reserved.
2+ # Copyright (c) 1999, 2024 , Oracle and/or its affiliates. All rights reserved.
33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44#
55# This code is free software; you can redistribute it and/or modify it
@@ -76,7 +76,7 @@ check-build-vars:
7676 echo " DAISYDIFF_LICENSE not set (will not be included)" ; \
7777 fi
7878 @if [ -z " $( EQUINOX_JAR) " ]; then \
79- echo " EQUINOX_JAR not set" ; exit 1 ; \
79+ echo " EQUINOX_JAR not set (will not be included) " ; \
8080 fi
8181 @if [ -z " $( EQUINOX_LICENSE) " ]; then \
8282 echo " EQUINOX_LICENSE not set (will not be included)" ; \
Original file line number Diff line number Diff line change 11#
2- # Copyright (c) 1999, 2018 , Oracle and/or its affiliates. All rights reserved.
2+ # Copyright (c) 1999, 2024 , Oracle and/or its affiliates. All rights reserved.
33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44#
55# This code is free software; you can redistribute it and/or modify it
3838 DAISYDIFF_CLASSPATH_ELEMENT = $(DAISYDIFF_JAR)
3939endif
4040
41+ # include EQUINOX_JAR with DAISYDIFF if it is set
42+ ifneq ($(EQUINOX_JAR),)
43+ DAISYDIFF_CLASSPATH_ELEMENT := $(DAISYDIFF_CLASSPATH_ELEMENT):$(EQUINOX_JAR)
44+ endif
45+
4146$(BUILDDIR)/classes.jdk.codetools.apidiff.ok: $(JAVAFILES.jdk.codetools.apidiff)
4247 $(JAVAC) $(JAVAC_OPTIONS) \
43- -cp $(JAVADIFFUTILS_JAR):$(DAISYDIFF_CLASSPATH_ELEMENT):$(EQUINOX_JAR):$( HTMLCLEANER_JAR) \
48+ -cp $(JAVADIFFUTILS_JAR):$(DAISYDIFF_CLASSPATH_ELEMENT):$(HTMLCLEANER_JAR) \
4449 -d $(CLASSDIR) \
4550 $(JAVAFILES.jdk.codetools.apidiff)
4651 echo "classes built at `date`" > $@
@@ -310,7 +315,7 @@ $(BUILDDIR)/api.jdk.codetools.apidiff.ok: \
310315 $(JAVADOC) $(JAVADOC_OPTIONS) \
311316 -Xdoclint:-missing \
312317 -quiet \
313- -cp $(JAVADIFFUTILS_JAR):$(DAISYDIFF_JAR):$(DAISYDIFF_SRC_JAVA):$(EQUINOX_JAR ):$(HTMLCLEANER_JAR) \
318+ -cp $(JAVADIFFUTILS_JAR):$(DAISYDIFF_CLASSPATH_ELEMENT ):$(HTMLCLEANER_JAR) \
314319 -overview $(SRCDOCDIR)/overview.html \
315320 -linkoffline \
316321 https://docs.oracle.com/en/java/javase/17/docs/api/index.html \
You can’t perform that action at this time.
0 commit comments