Chris,

I would really hope that cvs is consistent about the content of the
repository, regardless of who logs on.
Anyway, I believe the problem has to do with the way turbine services
are loaded, and not cvs...
(btw Im loggin on via ssh mindterm)

These 4 are out of the demo-portlets.xreg. They do not have category
entries themselves.
They are portlet refs to an abstract portlet that has the category:

> >     [junit] ........Apacheweek
> >     [junit] ........Mozilla
> >     [junit] ........XMLHack
> >     [junit] ........AdminInfo

When the registry entries are loaded, category resolution follow
parent-refs.
In order for that to happen, the Registry entries themselves must call
the Registry service.
At least that was the only way I could get it to work.

And these 2 are from portlets.xreg:

>     [junit] ........AdminInfo
>     [junit] ........RSS

Check your jetspeed.log under webapp/WEB-INF/log.
There may be a problem with the way Im calling the Registry service
before its actually initialized.
If so let me know and I will have to figure out a different way to
discover the Turbine service that Im in 
(sigh)

David

> -----Original Message-----
> From: Chris Kimpton [mailto:[EMAIL PROTECTED]] 
> Sent: Saturday, April 06, 2002 9:48 AM
> To: Jetspeed Developers List
> Subject: RE: Running unittest target - errors in 
> TestRegistryCategories
> 
> 
> Hi,
> 
> --- David Sean Taylor <[EMAIL PROTECTED]> wrote:
> > Chris,
> > 
> > Could you please get a fresh cvs co and try again before 
> doing so. The 
> > test runs fine for me.
> > 
> 
> Spoke too soon.
> 
> It works with a fresh checkout via pserver (ie read-only).
> 
> But if I do a fresh checkout via ssh ( :ext:cvs.apache.org , 
> the writeable one), it has problems - only 2 entries found.
> 
> > 
> > Here is what I get from the TestRegistryCategories unit test:
> > 
> >     [junit] Running 
> > org.apache.jetspeed.services.registry.TestRegistryCategories
> > 
> >     [junit] Group: [Jetspeed]
> >     [junit] ....Cat: [rss]
> >     [junit] ........Apacheweek
> >     [junit] ........Mozilla
> >     [junit] ........XMLHack
> >     [junit] ........AdminInfo
> >     [junit] ........RSS
> >     [junit] ........Jetspeed
> >     [junit] [RSS] count = 6
> 
> 
> 
> This is what I get:
> 
>     [junit] Running 
> org.apache.jetspeed.services.registry.TestRegistryCategories
>     [junit] Group: [Jetspeed]
>     [junit] ....Cat: [rss]
>     [junit] ........AdminInfo
>     [junit] ........RSS
>     [junit] [RSS] count = 2
>     [junit] ------------------
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time 
> elapsed: 0.03 sec
>     [junit] Testsuite: 
> org.apache.jetspeed.services.registry.TestRegistryCategories
>     [junit] Tests run: 1, Failures: 1, Errors: 0, Time 
> elapsed: 0.03 sec
>     [junit]
>     [junit] Testcase: testCategories took 0.03 sec
>     [junit]     FAILED
>     [junit] null
>     [junit] junit.framework.AssertionFailedError
>     [junit]     at junit.framework.Assert.fail(Assert.java:51)
>     [junit]     at junit.framework.Assert.assertTrue(Assert.java:38)
>     [junit]     at junit.framework.Assert.assertTrue(Assert.java:45)
>     [junit]     at
> org.apache.jetspeed.services.registry.TestRegistryCategories.t
> estCategories(TestR
> egistryCategories.java:96)
>     [junit]     at java.lang.reflect.Method.invoke(Native Method)
>     [junit]     at
> junit.framework.TestCase.runTest(TestCase.java:166)
>     [junit]     at
> junit.framework.TestCase.runBare(TestCase.java:140)
> 
> 
> I am running on XP/ jdk1.3.1_02.
> 
> Chris
> 
> =====
> ------------------------------------------
> http://www.soccer2002.org.uk
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax 
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to