mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-05-31 01:01:19 +00:00
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:
parent
6b5c25a70c
commit
747cc2ce03
7 changed files with 54 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue