765 " Please update your ALT_BOOTDIR setting and start your build again. \n" \ |
766 " Please update your ALT_BOOTDIR setting and start your build again. \n" \ |
766 "" >> $(ERROR_FILE) ; \ |
767 "" >> $(ERROR_FILE) ; \ |
767 fi |
768 fi |
768 |
769 |
769 ###################################################### |
770 ###################################################### |
|
771 # BOOTDIR is recommended to reside on a local drive |
|
772 ###################################################### |
|
773 sane-local-bootdir: |
|
774 ifeq ($(PLATFORM), windows) |
|
775 @if [ `$(ECHO) $(BOOTDIR) | $(EGREP) -ci '^J:'` -ne 0 ]; then \ |
|
776 $(ECHO) "WARNING: Your BOOTDIR is located on the J: drive. Often the J:\n" \ |
|
777 " drive is mapped over a network. Using a mapped drive for\n" \ |
|
778 " the BOOTDIR may significantly slow down the build process.\n" \ |
|
779 " You may want to consider using the ALT_BOOTDIR variable\n" \ |
|
780 " to point the build to another location for the BOOTDIR instead. \n" \ |
|
781 " Your current BOOTDIR is:\n" \ |
|
782 " $(BOOTDIR) \n" \ |
|
783 "" >> $(WARNING_FILE) ; \ |
|
784 fi |
|
785 endif |
|
786 |
|
787 ###################################################### |
770 # CACERTS_FILE must be absoulte path and readable |
788 # CACERTS_FILE must be absoulte path and readable |
771 ###################################################### |
789 ###################################################### |
772 sane-cacerts: |
790 sane-cacerts: |
773 ifdef ALT_CACERTS_FILE |
791 ifdef ALT_CACERTS_FILE |
774 @if [ `$(ECHO) $(subst \,/,$(ALT_CACERTS_FILE)) | $(EGREP) -ci '^([a-z]:)?/'` -ne 1 ]; then \ |
792 @if [ `$(ECHO) $(subst \,/,$(ALT_CACERTS_FILE)) | $(EGREP) -ci '^([a-z]:)?/'` -ne 1 ]; then \ |
1500 |
1518 |
1501 ###################################################### |
1519 ###################################################### |
1502 # JIBX_LIBS_PATH must be valid |
1520 # JIBX_LIBS_PATH must be valid |
1503 ###################################################### |
1521 ###################################################### |
1504 sane-jibx: |
1522 sane-jibx: |
|
1523 ifdef DISABLE_NIMBUS |
|
1524 $(call SanityWarning,Disabling Nimbus will remove public API in javax.swing.plaf.nimbus.) |
|
1525 else |
1505 @if [ ! -r $(subst \,/,$(JIBX_LIBS_PATH))/jibx-run.jar ]; then \ |
1526 @if [ ! -r $(subst \,/,$(JIBX_LIBS_PATH))/jibx-run.jar ]; then \ |
1506 $(ECHO) "ERROR: You do not have access to valid JIBX library files. \n" \ |
1527 $(ECHO) "ERROR: You do not have access to valid JIBX library files. \n" \ |
1507 " Please check your access to \n" \ |
1528 " Please check your access to \n" \ |
1508 " $(subst \,/,$(JIBX_LIBS_PATH))/jibx-run.jar \n" \ |
1529 " $(subst \,/,$(JIBX_LIBS_PATH))/jibx-run.jar \n" \ |
1509 " and/or check your value of ALT_JDK_DEVTOOLS_DIR, ALT_JIBX_LIBS_PATH \n" \ |
1530 " and/or check your value of ALT_JDK_DEVTOOLS_DIR, ALT_JIBX_LIBS_PATH \n" \ |
1510 "" >> $(ERROR_FILE) ; \ |
1531 "" >> $(ERROR_FILE) ; \ |
1511 fi |
1532 fi |
|
1533 endif |
1512 |
1534 |
1513 ###################################################### |
1535 ###################################################### |
1514 # MOZILLA_HEADERS_PATH must be valid |
1536 # MOZILLA_HEADERS_PATH must be valid |
1515 ###################################################### |
1537 ###################################################### |
1516 sane-mozilla: |
1538 sane-mozilla: |