gstep-make 2.0 Re: gstep-base Re: [OGo-Developer] OGo Invoice Application
Sebastian Reitenbach
developer@opengroupware.org
Sun, 30 Dec 2007 19:37:53 +0100
developer@opengroupware.org wrote:
> developer@opengroupware.org wrote:
> > On 29.12.2007, at 22:22, Sebastian Reitenbach wrote:
> > > appended are the patches to make sope gnustep-make 2 compatible.
> >
> > I'll start looking at them once the layout looks reasonable ;-)
> >
> > > It works for me, files and directories are well versioned, and found
> > > in
> > > reasonable places: e.g.
> > > /usr/local/lib/GNUstep/GDLAdaptors-4.7/
> >
> > Can you change such pathes? Eg currently this lives at:
> >
> > /usr/local/lib/sope-4.7/dbadaptors/
> >
> > which I consider way less ugly. And actually I would be surprised if
> > the layout you showed actually works with OGo?
no, its not working this way, and when I took a look, I stumbled across this
in sope/sope-appserver/NGObjWeb/WOCoreApplication.m
+ (NSString *)ngobjwebShareDirectorySubPath {
return [NSString stringWithFormat:@"share/sope-%i.%i/ngobjweb/",
[self sopeMajorVersion], [self sopeMinorVersion]];
}
+ (NGResourceLocator *)ngobjwebResourceLocator {
return [NGResourceLocator resourceLocatorForGNUstepPath:
@"Library/Libraries/Resources/NGObjWeb"
fhsPath:[self ngobjwebShareDirectorySubPath]];
}
when I see this, I think it's easier to get the hardcoded FHS stuff working
first than the other way around.
Sebastian