ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | enhydra List | Febuary 1999 Index

<--  Date Index  --> <--  Thread Index  -->

Enhydra: DODS Windows Build Fixes


DODS beta 2 has a few problems which prevent it from
compiling and running on Windows. Attached to this
message are two files which fix the problem.

This "patch" is for DODS beta 1 and DODS beta 2. They
will be rolled into the next release (beta 3).

This "patch" is only needed by Windows users.

There are two files, Makefile and config.mk.
The file Makefile replaces the top level makefile
(DODS/Makefile). The file config.mk replaces
the config file (DODS/config.mk).

Andy John

#-----------------------------------------------------------------------------
# Enhydra Java Application Server
# Copyright 1997-1999 Lutris Technologies, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in
#    the documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#      This product includes Enhydra software developed by Lutris
#      Technologies, Inc. and its contributors.
# 4. Neither the name of Lutris Technologies nor the names of its contributors
#    may be used to endorse or promote products derived from this software
#    without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY LUTRIS TECHNOLOGIES AND CONTRIBUTORS ``AS IS''
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL LUTRIS TECHNOLOGIES OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#-----------------------------------------------------------------------------
# $Id: Makefile,v 1.8 1999/02/26 02:24:22 andy Exp $
#-----------------------------------------------------------------------------




ROOT =          .

SUBDIRS =       dods

top_build_all: build_all jar start_scripts

start_scripts: ${OUTPUT}/bin/dods ${OUTPUT}/bin/dods.DIST


#
# Build up the classpath. It will get stamped into the shell
# script that starts DODS.
#
HERE = `pwd`
ifneq ($(OSTYPE),cygwin32)
  DJ = ${HERE}/output/lib/${JARNAME}.jar
  DH = ${HERE}/dods/builder/sourceGenerators
  DCP = ${JDK_CLASSES}:${ENHYDRA_CLASSES}:${SWING_CLASSES}:${DJ}
else
  DJ = ${HERE}/output/lib/${JARNAME}.jar
  DH = ${HERE}/dods/builder/sourceGenerators
  DCP = ${JDK_CLASSES}\\\;${ENHYDRA_CLASSES}\\\;${SWING_CLASSES}\\\;${DJ}
endif



#
# Create the "use in the tree" DODS start up script.
#
${OUTPUT}/bin/dods: dods.sh.in Makefile
        mkdir -p ${OUTPUT}/bin
        rm -f ${OUTPUT}/bin/dods
        sed -e 
"s%@CLASSPATH@%${DCP}%g;s%@JAVA@%${JAVA}%g;s%@DODS_HOME@%${DH}%g;s%@ENHYDRA_DIR@%${ENHYDRA_DIR}%g"
 < ./dods.sh.in > ${OUTPUT}/bin/dods
        chmod +x ${OUTPUT}/bin/dods


#
# Create the version of the DODS start up script that will (soon)
# be put into the runtime install of Enhydra. 
#
${OUTPUT}/bin/dods.DIST: dods.sh.DIST
        mkdir -p ${OUTPUT}/bin
        rm -f ${OUTPUT}/bin/dods.DIST
        cp dods.sh.DIST ${OUTPUT}/bin/dods.DIST
        chmod +x ${OUTPUT}/bin/dods.DIST


include $(ROOT)/config.mk



clean::
        rm -f ${OUTPUT}/bin/dods ${OUTPUT}/bin/dods.DIST

#-----------------------------------------------------------------------------
 
# config.mk
#-----------------------------------------------------------------------------
# Enhydra Java Application Server
# Copyright 1997-1999 Lutris Technologies, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
#    notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
#    notice, this list of conditions and the following disclaimer in
#    the documentation and/or other materials provided with the distribution.
# 3. All advertising materials mentioning features or use of this software
#    must display the following acknowledgement:
#      This product includes Enhydra software developed by Lutris
#      Technologies, Inc. and its contributors.
# 4. Neither the name of Lutris Technologies nor the names of its contributors
#    may be used to endorse or promote products derived from this software
#    without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY LUTRIS TECHNOLOGIES AND CONTRIBUTORS ``AS IS''
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL LUTRIS TECHNOLOGIES OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#-----------------------------------------------------------------------------
# $Id: config.mk,v 1.17 1999/02/26 02:24:22 andy Exp $
#-----------------------------------------------------------------------------
 


#
# The directory containing the Enhydra distribution. 
# This default value uses the pre-compiled runtime install of Enhydra.
# If you wish to use your own Enhydra tree, replace this with the
# location of your tree (the output directory). Please use an
# absolute path.
#
#               Is this correct?
#                    |
#                    |
#                    |
#                  \ | /
#                   \|/
#                    V
ENHYDRA_DIR = /usr/local/enhydra


#
# The directory where Swing is installed. This is needed to compile
# DODS, and when you run DODS.
#
#               Is this correct?
#                    |
#                    |
#                    |
#                  \ | /
#                   \|/
#                    V
SWINGDIR = /usr/local/swing-1.1


#
# You may need to ucomment this to point at your JDK.
# For example:
#
# JDKDIR = /usr/local/jdk116_v5
#




#
# The output jar name.
#
JARNAME = DODesignStudio

#
# Turn off some unused warnings.
#
WAI_CHECK = NO
JDAP_CHECK = NO


include $(ENHYDRA_DIR)/lib/stdrules.mk


#
# This rule will only be used if ENHYDRA_DIR is set incorrectly.
#
$(ENHYDRA_DIR)/lib/stdrules.mk:
        @echo
        @echo "Please edit config.mk so that ENHYDRA_DIR points at either 
your Enhydra installation (normally /usr/local/enhydra), or your built 
Enhydra source tree (..../Enhydra/output)."
        @echo
        @false








<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.