portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weaver, Scott" <Swea...@rippe.com>
Subject RE: J2 Build/Test Question
Date Fri, 21 Nov 2003 21:56:28 GMT
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                 |
| <weaver@apache.org>            | 
| Apache Jetspeed Portal Project |
| Apache Pluto Portlet Container |
*================================*

> -----Original Message-----
> From: David Le Strat [mailto:dlestrat@yahoo.com]
> 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" <Sweaver@rippe.com> 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                 |
> > | <weaver@apache.org>            |
> > | Apache Jetspeed Portal Project |
> > | Apache Pluto Portlet Container |
> > *================================*
> >
> > > -----Original Message-----
> > > From: David Le Strat [mailto:dlestrat@yahoo.com]
> > > 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:
> > jetspeed-dev-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> > jetspeed-dev-help@jakarta.apache.org
> >
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message