The test is indeed failing. If you really want to
build, add 

<exclude>org/apache/jetspeed/tools/pamanager/TestPortletDescriptor.java</exclude>

to your portal/project.xml <unitTest><excludes>.

That should be enough to let you build.

Regards,

David.

--- John Christopher <[EMAIL PROTECTED]> wrote:
> I have been trying to build J2 for the past couple
> of days. I have added all 
> the things that have been mentioned on the list.
> 
> I am still getting a test failure.
>     [junit] Tests run: 1, Failures: 0, Errors: 1,
> Time elapsed: 6.58 sec
>     [junit] [ERROR] TEST 
>
org.apache.jetspeed.tools.pamanager.TestPortletDescriptor
> FAILED
> 
> When I researched the test reports. It looks like
> isModifiable which I think 
> was changed to isReadonly() is still being accessed.
> 
> Testcase: testLoadPortletApplicationTree took 5.719
> sec
>         Caused an ERROR
> Could not unmarshal:
> ./test/testdata/deploy/portlet.xml: Nested error: 
> org.exolab.castor.mapping.MappingException: The
> method isModifiable in class 
>
org.apache.jetspeed.tools.castor.om.common.PreferenceDescriptor
> 
> accepting/returning object of type class
> java.lang.Boolean was not found
> org.exolab.castor.mapping.MappingException: The
> method isModifiable in class 
>
org.apache.jetspeed.tools.castor.om.common.PreferenceDescriptor
> 
> accepting/returning object of type class
> java.lang.Boolean was not found
> 
> hope this helps.
> 
> John
> 
> 
> On Monday 06 October 2003 08:58 am, Weaver, Scott
> wrote:
> > It appears the pieces were left out of the
> getting-started.
> >
> > From /portal call:
> > maven db.recreate
> > maven db.test.recreate
> >
> > Alternatively, you could run quick_build.bat file
> in the J2 root directory.
> >  This does everything for you.
> >
> > Regards,
> > *===================================*
> > * Scott T Weaver                    *
> > * Jakarta Jetspeed Portal Project   *
> > * [EMAIL PROTECTED]                 *
> > *===================================*
> >  
> >
> > > -----Original Message-----
> > > From: Dariush Behboudi
> [mailto:[EMAIL PROTECTED]
> > > Sent: Monday, October 06, 2003 11:22 AM
> > > To: Jetspeed Users List
> > > Subject: Re: Jetpseed 2
> > >
> > > thanks,
> > > atteched report files.
> > > For jmx and testRegistry, it seems that tables
> are not found.
> > > TestPortletDescription reports an error due to
> unmarshalling.
> > >
> > > Maybe I have to create database and tables
> before?
> > > How?
> > >
> > > Dariush.
> > >
> > >
> > > ----- Original Message -----
> > > From: "Weaver, Scott" <[EMAIL PROTECTED]>
> > > To: "'Jetspeed Users List'"
> <[EMAIL PROTECTED]>
> > > Sent: Monday, October 06, 2003 5:25 PM
> > > Subject: RE: Jetpseed 2
> > >
> > >
> > > Try looking at the test reports under
> portal/target/test-reposts.  This
> > > is were Maven puts the Junit reports at.
> > >
> > > *===================================*
> > > * Scott T Weaver *
> > > * Jakarta Jetspeed Portal Project *
> > > * [EMAIL PROTECTED] *
> > > *===================================*
> > >
> > > > -----Original Message-----
> > > > From: Weaver, Scott [mailto:[EMAIL PROTECTED]
> > > > Sent: Monday, October 06, 2003 11:16 AM
> > > > To: 'Jetspeed Users List'
> > > > Subject: RE: Jetpseed 2
> > > >
> > > > Hi Dariush,
> > > >
> > > > What do the test reports say for those
> specific tests?
> > > >
> > > > Regards,
> > > > *===================================*
> > > > * Scott T Weaver *
> > > > * Jakarta Jetspeed Portal Project *
> > > > * [EMAIL PROTECTED] *
> > > > *===================================*
> > > >
> > > > > -----Original Message-----
> > > > > From: Dariush Behboudi
> [mailto:[EMAIL PROTECTED]
> > > > > Sent: Monday, October 06, 2003 10:41 AM
> > > > > To: Jetspeed Users List
> > > > > Subject: Re: Jetpseed 2
> > > > >
> > > > > Some infos:
> > > > > Trying to build with task allBuild i have
> some errors, so I try to
> > > >
> > > > launch
> > > >
> > > > > each single task, according to the
> GETTING-STARTED.html guide.
> > > > > - portlet-api is built correctly
> > > > > - commons is built correctly
> > > > > - container is build correctly
> > > > > - demo found an error due to a missing file:
> veltag-0.01-dev.jar.
> > > > > I've found
> > > > > it in another location, moved it in
> .maven/repository/velocity dir,
> > >
> > > and
> > >
> > > > > now
> > > > > everything works.
> > > > > - portal: build fails due to some errors
> during tests...
> > > > > TestFileCache: OK
> > > > > TestPortletUrl: OK
> > > > > TestPageObjectModel : OK
> > > > > TestPipeline: OK
> > > > > TestIdGenerator: OK
> > > > > TestJMX: FAILED
> > > > > TestPersistenceService: OK
> > > > > TestProfileeService: OK
> > > > > TestMarshalPsml: OK
> > > > > TestRegistry: FAILED
> > > > > TestPortletDescriptor: FAILED
> > > > >
> > > > > Am I missing something? Any suggestion?
> > > > > Dariush.
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Dariush Behboudi"
> <[EMAIL PROTECTED]>
> > > > > To: "Jetspeed Users List"
> <[EMAIL PROTECTED]>
> > > > > Sent: Monday, October 06, 2003 3:58 PM
> > > > > Subject: Re: Jetpseed 2
> > > > >
> > > > > > Ok, thanks,
> > > > > > tonight I'll try it and send you a
> feedback.
> > > > > > Best regards, Dariush.
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Weaver, Scott" <[EMAIL PROTECTED]>
> > > > > > To: "'Jetspeed Users List'"
> <[EMAIL PROTECTED]>
> > > > > > Sent: Monday, October 06, 2003 3:57 PM
> > > > > > Subject: RE: Jetpseed 2
> > > > > >
> > > > > >
> > > > > > Hi Dariush,
> > > > > >
> > > > > > The newest code drop of Pluto (the one in
> the cvs) has changed a
> > > > > > bit
> > > > >
> > > > > since
> > > > >
> > > > > > the previous version.  I spent last night
> integrating J2 with the
> > > > >
> > > > > current
> > > > >
> > > > > > Pluto version that is the CVS.  All unit
> tests passed for me last
> > > >
> > > > night
> > > >
> 
=== message truncated ===


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

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

Reply via email to