summaryrefslogtreecommitdiffstats
path: root/ldap/cm
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2005-10-27 14:12:40 +0000
committerRich Megginson <rmeggins@redhat.com>2005-10-27 14:12:40 +0000
commit3b9f0ee6f85adb22d5a0c3fc656212e64e6dc6f3 (patch)
tree695abf67eb134c492722cfb7a5a4b099272848c9 /ldap/cm
parent899056900648423b9d6144a2a848bd0b8998e66f (diff)
downloadds-3b9f0ee6f85adb22d5a0c3fc656212e64e6dc6f3.tar.gz
ds-3b9f0ee6f85adb22d5a0c3fc656212e64e6dc6f3.tar.xz
ds-3b9f0ee6f85adb22d5a0c3fc656212e64e6dc6f3.zip
Bug(s) fixed: 171854
Bug Description: Allow DSMLGW to build with GAR build scripts Reviewed by: nhosoi@redhat.com (Thanks!) Fix Description: Add a new macro DSMLGWJARS_BUILD_DIR which defaults to dist/classes for internal builds. For external builds, the developer can grab these jars from their respective locations, or grab the bundle from the fds download site, which is what the GAR builds will do. The location is then passed in on the make command line as DSMLGWJARS_BUILD_DIR=/path/to/dsmlgwjars. Regular internal builds should continue to work as always. Platforms tested: RHEL4 Flag Day: no Doc impact: no
Diffstat (limited to 'ldap/cm')
-rw-r--r--ldap/cm/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/ldap/cm/Makefile b/ldap/cm/Makefile
index bc55e012..5d23d82c 100644
--- a/ldap/cm/Makefile
+++ b/ldap/cm/Makefile
@@ -349,18 +349,18 @@ ifeq ($(USE_DSMLGW), 1)
$(INSTALL) -m 644 $(BUILD_DRIVE)$(BUILD_ROOT)/ldap/clients/dsmlgw/misc/web-app_2_3.dtd $(RELDIR)/clients/dsmlgw/
# now time to move the necessary jars in place
- $(INSTALL) -m 644 $(NSDIST)/classes/ldapjdk.jar $(RELDIR)/clients/dsmlgw/WEB-INF/lib
- $(INSTALL) -m 644 $(NSDIST)/classes/activation.jar $(RELDIR)/clients/dsmlgw/WEB-INF/lib
+ $(INSTALL) -m 644 $(DSMLGWJARS_BUILD_DIR)/ldapjdk.jar $(RELDIR)/clients/dsmlgw/WEB-INF/lib
+ $(INSTALL) -m 644 $(DSMLGWJARS_BUILD_DIR)/activation.jar $(RELDIR)/clients/dsmlgw/WEB-INF/lib
# if you use the jaxrpc.jar from the axis distribution, you don't need the api file
# or perhaps you need the jaxrpc.jar for building, and jaxrpc-api.jar at runtime, or vice versa
# if so, I'm not sure where to get the implementation
- if [ -f $(NSDIST)/classes/jaxrpc-api.jar ] ; then \
- $(INSTALL) -m 644 $(NSDIST)/classes/jaxrpc-api.jar $(RELDIR)/clients/dsmlgw/WEB-INF/lib ; \
+ if [ -f $(DSMLGWJARS_BUILD_DIR)/jaxrpc-api.jar ] ; then \
+ $(INSTALL) -m 644 $(DSMLGWJARS_BUILD_DIR)/jaxrpc-api.jar $(RELDIR)/clients/dsmlgw/WEB-INF/lib ; \
fi
- $(INSTALL) -m 644 $(NSDIST)/classes/jaxrpc.jar $(RELDIR)/clients/dsmlgw/WEB-INF/lib
- $(INSTALL) -m 644 $(NSDIST)/classes/saaj.jar $(RELDIR)/clients/dsmlgw/WEB-INF/lib
- $(INSTALL) -m 644 $(NSDIST)/classes/xercesImpl.jar $(RELDIR)/clients/dsmlgw/WEB-INF/lib
- $(INSTALL) -m 644 $(NSDIST)/classes/xml-apis.jar $(RELDIR)/clients/dsmlgw/WEB-INF/lib
+ $(INSTALL) -m 644 $(DSMLGWJARS_BUILD_DIR)/jaxrpc.jar $(RELDIR)/clients/dsmlgw/WEB-INF/lib
+ $(INSTALL) -m 644 $(DSMLGWJARS_BUILD_DIR)/saaj.jar $(RELDIR)/clients/dsmlgw/WEB-INF/lib
+ $(INSTALL) -m 644 $(DSMLGWJARS_BUILD_DIR)/xercesImpl.jar $(RELDIR)/clients/dsmlgw/WEB-INF/lib
+ $(INSTALL) -m 644 $(DSMLGWJARS_BUILD_DIR)/xml-apis.jar $(RELDIR)/clients/dsmlgw/WEB-INF/lib
endif # USE_DSMLGW
# PACKAGE_UNDER_JAVA is defined in components.mk - these are component .jar files to install