The issue is that there's a difference between the JMeter classpath and the search path that JMeter will search for classes that extend JMeter core classes. Searching the entire classpath could take a long time - JMeter is already a slow enough starter.
I can't speak to the netbeans setup, as I'm not familiar with netbeans nor with running JMeter within an IDE. -Mike On Thu, 2005-08-04 at 14:52 +0100, Steven Murphy wrote: > Sorry I should have mentioned that I am launching JMeter inside NetBeans, I > thought that because of this I didn't need to put the class files into a jar > file until I wanted to run it outside of the IDE. Is this wrong? Should I > include these 2 classes in the ApacheJMeter_components.jar file? > > I loading JMeter by executing the NewDriver classes and feeding it these > arguments > '-Dsun.rmi.dgc.client.gcInterval=600000 > -Dsun.rmi.dgc.server.gcInterval=600000'. > > In NetBeans I have mounted the following local directories containing the > source code > Jmeter\src\components (under here is where my new classes are) > Jmeter\src\core > Jmeter\src\functions > Jmeter\src\htmlparser > > And I have mounted the following jar files > ApacheJMeter_jms.jar > ApacheJMeter_ftp.jar > ApacheJMeter_http.jar > ApacheJMeter_java.jar > ApacheJMeter_idbc.jar > ApacheJMeter_ldap.jar > ApacheJMeter_mail.jar > ApacheJMeter_monitors.jar > ApacheJMeter_tcp.jar > (and a load more Jar files which I'm not going to mention otherwise the list > would be huge :) ) > > Cheers > Steve Murphy > > From: Michael Stover <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > To: [email protected] > Subject: Re: Adding To The Menu > Date: Thu, 04 Aug 2005 09:14:04 -0400 > > Where have you put your jar that contains the new classes? If you put > it in /lib, it will be in JMeter's classpath, but not in the path it > searches for new components. If int /lib/ext, then it should be found. > > -Mike > > On Thu, 2005-08-04 at 14:00 +0100, Steven Murphy wrote: > > I would need to extend the AbstractControllerGui right? > > > > I think the problem might be that my classes are not being executed when > > JMeter is loaded. > > > > As I'm not all that familiar with java I have copied the ModuleController > > and ModuleControllerGUI classes, to use as a templates. I have changed > the > > name of the 2 classes along with a number of the variables within each > > class. > > > > I have recompiled all the source under the components and core > directories. > > Do I need to add an entry somewhere to call the 2 new classes? > > > > Cheers > > Steve > > > > From: sebb <[EMAIL PROTECTED]> > > Reply-To: "JMeter Developers List" <[email protected]> > > To: JMeter Developers List <[email protected]> > > Subject: Re: Adding To The Menu > > Date: Thu, 4 Aug 2005 11:05:16 +0100 > > > > This should happen automatically if the GUI element extends the > > correct base class. > > > > S. > > On 04/08/05, Steven Murphy <[EMAIL PROTECTED]> wrote: > > > I'm sure this is very simple to do, but I'm having trouble finding how > to > > > add a new option to the Logic Controllers menu. > > > > > > I've had a search though the MenuFactory and JMeterMenuBar classes but > I > > > can't find where the indvidual menu items are beong added. > > > > > > Could someone point me in the right direction? > > > > > > Cheers > > > Steve Murphy > > > > > > > > > > > > --------------------------------------------------------------------- > > > 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] > > > > --------------------------------------------------------------------- > 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]
