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]


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

Reply via email to