* GSWeb.framework/htmltag.g: changed gsweb include dir from

gsweb/GSWeb.framework/ to GSWeb/
* GSWeb.framework/html.g: likewise.
* GSWeb.framework/PageDef.g: likewise.
* GSWeb.framework/GSWResourceManager.m ([GSWResourceManager
+_applicationGSWBundle]): fix location of MIME.plist and language.plist


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@7936 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
mirko 2000-10-30 22:56:08 +00:00
parent 44817b9a86
commit 7e94a3b5ef
5 changed files with 20 additions and 9 deletions

View file

@ -1,3 +1,12 @@
2000-10-30 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* GSWeb.framework/htmltag.g: changed gsweb include dir from
gsweb/GSWeb.framework/ to GSWeb/
* GSWeb.framework/html.g: likewise.
* GSWeb.framework/PageDef.g: likewise.
* GSWeb.framework/GSWResourceManager.m ([GSWResourceManager
+_applicationGSWBundle]): fix location of MIME.plist and language.plist
2000-10-30 Mirko Viviani <mirko.viviani@rccr.cremona.it> 2000-10-30 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* GSWExtensions.framework/GNUmakefile: rewrite using framework.make * GSWExtensions.framework/GNUmakefile: rewrite using framework.make

View file

@ -1569,9 +1569,10 @@ NSString* globalLanguagesPListPathName=nil;
ofType:@"plist"]; //TODO should return /usr/GNUstep/Libraries/GNUstepWeb/GSWeb.framework/Resources/MIME.plist ofType:@"plist"]; //TODO should return /usr/GNUstep/Libraries/GNUstepWeb/GSWeb.framework/Resources/MIME.plist
NSDebugMLLog(@"resmanager",@"globalMimePListPathName=%@",globalMimePListPathName); NSDebugMLLog(@"resmanager",@"globalMimePListPathName=%@",globalMimePListPathName);
if (!globalMimePListPathName) if (!globalMimePListPathName)
globalMimePListPathName=[NSBundle pathForGNUstepResource:@"MIME" globalMimePListPathName = [[NSBundle bundleForClass: self]
ofType:@"plist" pathForResource:@"MIME"
inDirectory:@"gsweb/GSWeb.framework/Resources"]; ofType:@"plist"];
NSDebugMLLog(@"resmanager",@"globalMimePListPathName=%@",globalMimePListPathName); NSDebugMLLog(@"resmanager",@"globalMimePListPathName=%@",globalMimePListPathName);
#ifdef DEBUG #ifdef DEBUG
if (!globalMimePListPathName) if (!globalMimePListPathName)
@ -1611,9 +1612,10 @@ NSString* globalLanguagesPListPathName=nil;
ofType:@"plist"]; ofType:@"plist"];
NSDebugMLLog(@"resmanager",@"globalLanguagesPListPathName=%@",globalLanguagesPListPathName); NSDebugMLLog(@"resmanager",@"globalLanguagesPListPathName=%@",globalLanguagesPListPathName);
if (!globalLanguagesPListPathName) if (!globalLanguagesPListPathName)
globalLanguagesPListPathName=[NSBundle pathForGNUstepResource:@"languages" globalLanguagesPListPathName=[[NSBundle bundleForClass: self]
ofType:@"plist" pathForResource:@"languages"
inDirectory:@"gsweb/GSWeb.framework/Resources"]; ofType:@"plist"];
NSDebugMLLog(@"resmanager",@"globalLanguagesPListPathName=%@",globalLanguagesPListPathName); NSDebugMLLog(@"resmanager",@"globalLanguagesPListPathName=%@",globalLanguagesPListPathName);
NSAssert(globalLanguagesPListPathName,@"No resource languages.plist"); NSAssert(globalLanguagesPListPathName,@"No resource languages.plist");
{ {

View file

@ -1,7 +1,7 @@
/* /*
*/ */
header { header {
#include <gsweb/GSWeb.framework/GSWeb.h> #include <GSWeb/GSWeb.h>
} }
options { options {

View file

@ -47,7 +47,7 @@
*/ */
header { header {
#include <gsweb/GSWeb.framework/GSWeb.h> #include <GSWeb/GSWeb.h>
} }
options { options {

View file

@ -1,7 +1,7 @@
/* /*
*/ */
header { header {
#include <gsweb/GSWeb.framework/GSWeb.h> #include <GSWeb/GSWeb.h>
} }
options { options {