Daivd,

Look at the org.apache.jetspeed.test.JetspeedTest base test class.  It has an 
overrideProperties() method that does the prop merging for you.

Regards,
*================================* 
| Scott T Weaver                 |
| <[EMAIL PROTECTED]>            | 
| Apache Jetspeed Portal Project |
| Apache Pluto Portlet Container |
*================================*

> -----Original Message-----
> From: David Le Strat [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 21, 2003 4:17 PM
> To: Jetspeed Developers List
> Subject: RE: J2 Build/Test Question
> 
> Thanks Scott,
> 
> I tried that, the problem is how to set it to
> "jetspeed-test" for test then to "jetspeed" for
> deployment?
> 
> Within the same build process we need both.  We need
> to say when you test, use "jetspeed-test", but when we
> deploy, jetspeed will be used. I saw the test
> directory under portal/src/webapp/WEB-INF/conf/ which
> seems to be there to serve that purpose.  However, I
> can't figure out how it is being used if at all.
> 
> Regards,
> 
> David.
> 
> --- "Weaver, Scott" <[EMAIL PROTECTED]> wrote:
> > Hi David,
> >
> > The repository is actually controlled by which
> > plugin is set for the registry service.
> >
> > Look for this property in jetspeed.properties:
> >
> > services.PortletRegistry.persistence.plugin.name
> >
> > You can change this to any persistence plugin you
> > have defined within the
> > WEB-INF/conf/persistence-plugins.xml file.
> >
> > Hth,
> > *================================*
> > | Scott T Weaver                 |
> > | <[EMAIL PROTECTED]>            |
> > | Apache Jetspeed Portal Project |
> > | Apache Pluto Portlet Container |
> > *================================*
> >
> > > -----Original Message-----
> > > From: David Le Strat [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, November 21, 2003 3:33 PM
> > > To: Jetspeed Developers List
> > > Subject: J2 Build/Test Question
> > >
> > > All,
> > >
> > > When building J2, how does the build switch
> > between
> > > jdbc-connection-descriptor:
> > >
> > > - When testing, jcd=jetspeed-test should be used
> > (see
> > > repository_database.xml).
> > > - When deploying, jcd=jetspeed should be used.
> > >
> > > It seems that the build always uses the default
> > > (jetspeed) jcd.
> > >
> > > I am having some issues switching between the data
> > > sources?  Any idea?
> > >
> > > Regards,
> > >
> > > David Le Strat.
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Free Pop-Up Blocker - Get it now
> > > http://companion.yahoo.com/
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to