2000-03-31 Manuel Guesdon <mguesdon@orange-concept.com>

* GSWResourceManager.m: Added Debug Error Traces
        * GSWConstants.m: change frameworks extensions in debug mode
        * GSWeb.framework/GNUmakefile: changed GSWBUNDLE_EXTENSION for debug/non debug
        * GSWExtensions.framework/GNUmakefile: changed GSWBUNDLE_EXTENSION for debug/non debug
        * GSWExtensionsGSW.framework/GNUmakefile: changed GSWBUNDLE_EXTENSION for debug/non debug


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@6404 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Manuel Guesdon 2000-03-31 17:41:17 +00:00
parent 6b5c25a70c
commit 747cc2ce03
7 changed files with 54 additions and 6 deletions

View file

@ -1,3 +1,11 @@
2000-03-31 Manuel Guesdon <mguesdon@orange-concept.com>
* GSWResourceManager.m: Added Debug Error Traces
* GSWConstants.m: change frameworks extensions in debug mode
* GSWeb.framework/GNUmakefile: changed GSWBUNDLE_EXTENSION for debug/non debug
* GSWExtensions.framework/GNUmakefile: changed GSWBUNDLE_EXTENSION for debug/non debug
* GSWExtensionsGSW.framework/GNUmakefile: changed GSWBUNDLE_EXTENSION for debug/non debug
2000-03-23 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* GSWAdaptor/common/config.h: changed GSWAPP_EXTENSION from wa to woa.

View file

@ -99,8 +99,16 @@ gswappsrv.gif
GSWBUNDLE_INSTALL = $(BUNDLE_NAME)
GSWBUNDLE_INSTALL_DIR = $(GNUSTEP_LIBRARIES_ROOT)/gsweb
# Use .gdladaptor as the bundle extension
GSWBUNDLE_EXTENSION = .framework
# Determine the bundle directory extension
ifeq ($(profile), yes)
GSWBUNDLE_EXTENSION = .frameworkp
else
ifeq ($(debug), yes)
GSWBUNDLE_EXTENSION = .frameworkd
else
GSWBUNDLE_EXTENSION = .framework
endif
endif
# The Objective-C source files to be compiled
GSWExtensions_OBJC_FILES = \

View file

@ -61,8 +61,16 @@ GSWExtensionsGSW_WEBSERVER_RESOURCE_FILES =
GSWBUNDLE_INSTALL = $(BUNDLE_NAME)
GSWBUNDLE_INSTALL_DIR = $(GNUSTEP_LIBRARIES_ROOT)/gsweb
# Use .gdladaptor as the bundle extension
GSWBUNDLE_EXTENSION = .framework
# Determine the bundle directory extension
ifeq ($(profile), yes)
GSWBUNDLE_EXTENSION = .frameworkp
else
ifeq ($(debug), yes)
GSWBUNDLE_EXTENSION = .frameworkd
else
GSWBUNDLE_EXTENSION = .framework
endif
endif
# The Objective-C source files to be compiled
GSWExtensionsGSW_OBJC_FILES = \

View file

@ -49,8 +49,16 @@ GSWeb_GSWBUNDLE_LIBS =
GSWBUNDLE_INSTALL = $(BUNDLE_NAME)
GSWBUNDLE_INSTALL_DIR = $(GNUSTEP_LIBRARIES_ROOT)/gsweb
# Use .gdladaptor as the bundle extension
GSWBUNDLE_EXTENSION = .framework
# Determine the bundle directory extension
ifeq ($(profile), yes)
GSWBUNDLE_EXTENSION = .frameworkp
else
ifeq ($(debug), yes)
GSWBUNDLE_EXTENSION = .frameworkd
else
GSWBUNDLE_EXTENSION = .framework
endif
endif
# The Bundle Objective-C source files to be compiled
GSWeb_OBJC_FILES = \

View file

@ -222,6 +222,7 @@ int GSWApplicationMain(NSString* _applicationClassName,
NSString* _bundlePath=[_frameworks objectAtIndex:i];
NSDebugFLLog(@"bundles",@"_bundlePath=%@",_bundlePath);
//TODO
NSDebugFLLog(@"bundles",@"GSFrameworkPSuffix=%@",GSFrameworkPSuffix);
_bundlePath=[NSString stringWithFormat:@"%@/Libraries/%@%@",GNUstepRoot,_bundlePath,GSFrameworkPSuffix];
NSDebugFLLog(@"bundles",@"_bundlePath=%@",_bundlePath);
_bundle=[NSBundle bundleWithPath:_bundlePath];

View file

@ -75,8 +75,13 @@ NSString* GSWMonitorServiceName=@"gsweb-monitor";
NSString* GSWLibraryPSuffix=@".gswso";
#endif
#ifdef DEBUG
NSString* GSFrameworkSuffix=@"frameworkd";
NSString* GSFrameworkPSuffix=@".frameworkd";
#else
NSString* GSFrameworkSuffix=@"framework";
NSString* GSFrameworkPSuffix=@".framework";
#endif
NSString* GSLanguageSuffix=@"lproj";
NSString* GSLanguagePSuffix=@".lproj";
NSString* GSWComponentTemplateSuffix=@"html";

View file

@ -1573,6 +1573,16 @@ NSString* globalLanguagesPListPathName=nil;
ofType:@"plist"
inDirectory:@"gsweb/GSWeb.framework/Resources"];
NSDebugMLLog(@"resmanager",@"globalMimePListPathName=%@",globalMimePListPathName);
#ifdef DEBUG
if (!globalMimePListPathName)
{
NSDictionary* env=[[NSProcessInfo processInfo] environment];
NSDebugMLLog(@"error",@"GNUSTEP_USER_ROOT=%@",[env objectForKey: @"GNUSTEP_USER_ROOT"]);
NSDebugMLLog(@"error",@"GNUSTEP_LOCAL_ROOT=%@",[env objectForKey: @"GNUSTEP_LOCAL_ROOT"]);
NSDebugMLLog(@"error",@"gnustepBundle resourcePath=%@",[[NSBundle gnustepBundle]resourcePath]);
};
#endif
NSAssert(globalMimePListPathName,@"No resource MIME.plist");
{
NSDictionary* _tmpMimeTypes=nil;