RE: Problem implementing automated tests

"David Leangen" <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <[email protected]>
Indeed, this hello example works fine.

The problem occurs when I try to add merlin resources to the build. For
example, try adding this in your index file of the hello example:

  <resource>
    <info>
      <group>avalon/composition</group>
      <name>avalon-composition-impl</name>
      <version>SNAPSHOT</version>
      <type>jar</type>
    </info>
  </resource>


That's when things start to go wrong.

The thing is, I need some of these resources for my build.


Any ideas?





> -----Original Message-----
> From: Stephen McConnell [mailto:[email protected]]
> Sent: 10 September 2004 22:02
> To: 'Avalon framework users'; [email protected]
> Subject: RE: Problem implementing automated tests
>
>
>
> Have just tried this out with an extended hello example and I'm not
> seeing any problems.
>
> http://www.apache.org/~mcconnell/test/hello.zip
>
> Steve.
>
>
> > -----Original Message-----
> > From: David Leangen [mailto:[email protected]]
> > Sent: 10 September 2004 02:40
> > To: [email protected]
> > Subject: Problem implementing automated tests
> >
> >
> > Hello!
> >
> > I'm now at the point where I'd like to implement automated testing. I
> am
> > following the example of the "hello" tutorial and basing my test
> classes
> > on
> > AbstractMerlinTestCase.
> >
> > In my project, I already have the following dependencies:
> >
> >   <include key="commons-logging"/>
> >   <include key="commons-logging-api"/>
> >   <include key="avalon-framework-api"/>
> >   <include key="avalon-framework-impl"/>
> >   <include key="junit"/>
> >   <include key="avalon-merlin-unit"/>
> >
> > I have included this line in my index file:
> >
> >   <import index="J:/avalon/runtime/index.xml"
> >
> >
> href="http://svn.apache.org/repos/asf/avalon/trunk/runtime/index.xml"/>
> >
> >
> > I am getting this error:
> >
> >   java.lang.NoClassDefFoundError:
> > org/apache/avalon/repository/provider/InitialContextFactory
> >
> >
> > This comes from the provider. However, since I've included
> > "avalon-merlin-unit" and "avlon-framework-*", I'm not sure what else
> needs
> > to be done.
> >
> >
> >
> > Any suggestions?
> >
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.