I've updated eclipse.readme and eclipse.classpath.

The classpath no longer excludes images or properties, so Eclipse
builds should now be able to run JMeter from the build directory.

It still needs the jars to be present in lib/ext, because of the way
that JMeter finds classes. This could probably be fixed, but it's not
exactly a priority.

S.
On 10/06/07, sebb <[EMAIL PROTECTED]> wrote:
I've found the problem.

When Eclipse does a build, by default it copies the properties files
to the output build tree (where the class files are).

However, the Ant build does not do this.

So if you do:

ant clean package

there will be no properties files in the build tree, whereas if you do:

Eclipse clean, build, ant package

the properties files will be present.

The default classpath used by Eclipse includes the build tree only.

It might make sense to have Ant work more like Eclipse; I'll look into that.
Likewise, Eclipse should probably not exclude the resources *.properties.
I'll see about fixing those.

In the mean-time, try:

Eclipse clean, build
Then run build package to compile the RMI and create the jars.

This should fix the missing resource problem.

S.
On 07/06/07, sebb <[EMAIL PROTECTED]> wrote:
> All of the jars in lib/ext that contain properties.
>
> I've been trying to debug why this is not working; so far no joy.
> Possibly a classloader problem, but I can't see where the difference is.
>
> On 07/06/07, rmiller <[EMAIL PROTECTED]> wrote:
> >
> > So, what's the missing jar file that causes this error?
> >
> > Ron
> >
> >
> > sebb-2 wrote:
> > >
> > > Unless the properties files are copied to the build directories, it
> > > seems the jars need to be added to the classpath.
> > >
> > > Not sure why this now seem necessary - it was previously possible to
> > > just add the core.jar to the class.
> > >
> > > S.
> > > On 07/06/07, sebb <[EMAIL PROTECTED]> wrote:
> > >> I'm seeing the same in Eclipse - perhaps I broke something in the
> > >> giant patch r544682.
> > >>
> > >> A work-round might be to put
> > >>
> > >> language=en
> > >>
> > >> in jmeter.properties.
> > >>
> > >> Although en_US should default to en anyway...
> > >>
> > >> Strangely the error does not seem to happen when I start JMeter outside
> > >> Eclipse.
> > >>
> > >> Not sure what is going on here yet.
> > >>
> > >> On 07/06/07, rmiller <[EMAIL PROTECTED]> wrote:
> > >> >
> > >> > Hi Mike,
> > >> >
> > >> > I got the source to build without errors (but with 1184 warnings) but
> > >> when I
> > >> > run it I get the error below. How did you solve this?
> > >> >
> > >> > Thanks,
> > >> > Ron
> > >> >
> > >> >
> > >> > When I try to run NewDriver I get the following:
> > >> >
> > >> > java.util.MissingResourceException: Can't find bundle for base name
> > >> > org.apache.jmeter.resources.messages, locale en_US
> > >> >
> > >> > I'm following the Running and Debugging section from here:
> > >> > http://wiki.apache.org/jakarta-jmeter/JMeterAndEclipseHowTo
> > >> >
> > >> > Mike
> > >> >
> > >> >
> > >> > --
> > >> > View this message in context:
> > >> 
http://www.nabble.com/Updated-Eclipse-build-doc-for-jmeter-tf3633011.html#a11014885
> > >> > Sent from the JMeter - Dev mailing list archive at Nabble.com.
> > >> >
> > >> >
> > >> > ---------------------------------------------------------------------
> > >> > 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]
> > >
> > >
> > >
> >
> > --
> > View this message in context: 
http://www.nabble.com/Updated-Eclipse-build-doc-for-jmeter-tf3633011.html#a11017661
> > Sent from the JMeter - Dev mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > 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