RE: Do we need /src/test/meta-inf/osuser-default.xml

"Eric Pugh" <[email protected]> Mon, 20 Oct 2003 18:55:56 +0200
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <00c901c3972b$080f8a90$0100a8c0@IQUITOS>
I went ahead and committed the changes..  I can role back if I missed
somethign crucial!

Eric

> -----Original Message-----
> From: Eric Pugh [mailto:[email protected]]
> Sent: Monday, October 20, 2003 6:44 PM
> To: '[email protected]'
> Subject: Do we need /src/test/meta-inf/osuser-default.xml
>
>
> Hi all,
>
> I wanted to test that not having a proper osuser file causes
> a nice friendly UserManagerImplementationException error, but
> I can't get the testcase to succeed(by getting the exception)
> because UserManager always finds the
> src/test/meta-inf/osuser-default.xml file..
>
> I think it only helps the memory user manager, and he can
> load his own up..  any objects to nukeing it?
>
> Eric
>
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]]On
> >  Behalf Of
> > Konstantin Priblouda
> > Sent: Monday, October 20, 2003 9:51 AM
> > To: [email protected]
> > Subject: Re: [Opensymphony-developers] Should OSUser jar include
> > osuser-default.xml
> >
> >
> >
> > --- Eric Pugh <[email protected]> wrote:
> > > Hi all,
> > >
> > > I am tryign to get osuser-1.0-dev working with
> > > Seraph, and discovered that
> > > the jar when it is build doesn't include in the
> > > meta-inf a
> > > osuser-default.xml file.  Is that intentional?  It
> > > seemed that by default
> > > there should be something, but maybe not...
> > >
> > > The reason I am hitting this is b/c seraph out of
> > > the box loads up the
> > > UserManager with the default constructor, which
> > > looks for osuser.xml.  Now
> > > maybe this is just a config problem, versus
> > > something that requires
> > > osuser-default.xml to be in the actual jar?
> > >
> > > I didn't want to fix the build to include
> > > osuser-default.xml without
> > > checking..
> >
> >
> > I'm not sure there should be default config.
> > What shall go in there?  I can not think a set of
> > readonable defaults....
> >
> > regards,
> >
> > =====
> > ----[ Konstantin Pribluda ( ko5tik ) ]----------------
> > Zu Verstdrkung meines Teams suche ich ab Sofort einen
> > Softwareentwickler[In] f|r die Festanstellung.
> > Arbeitsort: Mainz
> > Skills:  Programieren, Kentnisse in OpenSource-Bereich
> > ----[ http://www.pribluda.de ]------------------------
> >
> > __________________________________
> > Do you Yahoo!?
> > The New Yahoo! Shopping - with improved product search
> > http://shopping.yahoo.com
> >
> >
> > -------------------------------------------------------
> > This SF.net email sponsored by: Enterprise Linux Forum
> > Conference & Expo
> > The Event For Linux Datacenter Solutions & Strategies in The
> > Enterprise
> > Linux in the Boardroom; in the Front Office; & in the Server Room
> > http://www.enterpriselinuxforum.com
> > _______________________________________________
> > Opensymphony-developers mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com