On 14/09/2009, Robert Nicholson <robert.nichol...@gmail.com> wrote:
> Well I managed to get it debugging now all I have to do is try to understand
> why
>  when I've added my jars in the lib directory whilst it still continues to
> not find classes that are in those
>  jars.
>
>  Also, is DynamicClassLoader actually used anywhere?

NewDriver uses it.

>  Even when I've added my ActiveMQ jars to the lib directory it still
> complains with ClassNotFoundExceptions
>  for the InitialContextFactory at runtime.

Did you add them to the IDE classpath?

>
>  On Sep 13, 2009, at 4:46 PM, sebb wrote:
>
>
> > On 13/09/2009, Robert Nicholson <robert.nichol...@gmail.com> wrote:
> >
> > > JMeter seems to be written with some assumptions in mind?
> > >
> > >  else {// e.g. started from IDE with full classpath
> > >           tmpDir =
> > > System.getProperty("jmeter.home","");// Allow override
> > > $NON-NLS-1$ $NON-NLS-2$
> > >           if (tmpDir.length() == 0) {
> > >               File userDir = new
> > > File(System.getProperty("user.dir"));// $NON-NLS-1$
> > >               tmpDir =
> > > userDir.getAbsoluteFile().getParent();
> > >           }
> > >       }
> > >
> > > Which IDEA sets these properties?
> > >
> >
> > None.
> >
> > You can set jmeter.home if you wish; user.dir is set by the JVM.
> >
> >
> > >
> > > Also,
> > >
> > > Why is it assumed that lib etc exist one level above where the Working
> > > Directory is?
> > >
> >
> > It's not - it's assuming that jmeter.home is one level above the bin
> > directory where the JMeter launch jar is kept.
> >
> >
> > > Looking for a way to debug JMeter in IntelliJ
> > >
> >
> > Have you read the eclipse.readme file?  It has some info on path settings.
> >
> >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > jmeter-dev-unsubscr...@jakarta.apache.org
> > > For additional commands, e-mail:
> > > jmeter-dev-h...@jakarta.apache.org
> > >
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> jmeter-dev-unsubscr...@jakarta.apache.org
> > For additional commands, e-mail:
> jmeter-dev-h...@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail:
> jmeter-dev-unsubscr...@jakarta.apache.org
>  For additional commands, e-mail:
> jmeter-dev-h...@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org

Reply via email to