-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mike,

Mike Bonar wrote:
> Okay, I managed to get a clean eclipse install with 2.2 checked out.  I got
> the package-only ant task to run clean, and the NewDriver class to run.
> (Feature 'exit' not yet implemented?  LOL!)
> 
> If I can repeat the process I'll write up a little doc on it for other
> 'nubs' like me to follow.

some weeks ago, I posted a little howto for setting up a JMeter and a
JMeter plugin project in Eclipse 3.2.1 (link and content below) based on
the related wiki entry.

Unfortunately, I did not update the wiki (in the meantime, I switched to
netbeans for developing my plugins). This might help when reproducing
your steps and writing the doc.

http://mail-archives.apache.org/mod_mbox/jakarta-jmeter-dev/200702.mbox/[EMAIL 
PROTECTED]

1.) Creation of project 'jakarta-jmeter-2.2':

- - decompressed jakarta-jmeter-2.2.tgz and jakarta-jmeter-2.2_src.tgz
  into same directory
- - copied lib/commons-logging-1.1.jar to lib/commons-logging.jar
- - executed 'ant clean' in order to have a clean setup
- - started eclipse and created new Java project 'jakarta-jmeter-2.2'
  using the source folder mentioned above
  - changed nothing in tabs 'Source', 'Projects'
  - added all jars from lib/ in tab 'Libraries'
  - selected all in tab "Order and Export"
- - Eclipse built workspace with 4 errors. Removed src/htmlparser16
  from workspace. Now build inside bin/ successful.

2.) Creation of example plugin project 'jmeter_plugin'

- - created new Java project 'jmeter plugin' with src/ and bin/ folders
- - Added jakarta-jmeter-2.2 in 'Projects' tab
- - created src/jmeter.properties and pasted content from wiki setting
   search_paths=[ABSOLUTE-PATH-TO-jakarta-jmeter-2.2]/bin;.
- - created src/log4j.conf and pasted content from wiki
- - copied lib/ from jakarta-jmeter-2.2 project to jmeter_plugin project

3.) Launching JMeter
- - Opened Java Browsing perspective and selected
  jakarta-jmeter-2.2->src/core->org.apache.jmeter->NewDriver
- - Right click on class NewDriver, Run As->Run..
- - Created new Java Appliation in 'Run' window, setting working directory
  to ${workspace_loc:jmeter_plugin/bin}
- - Run application



Best regards,

Andre




> 
> Next step, fix a bug and create a patch.  If I can manage that I should be
> able to create a nice intro to jmeter dev guide.
> 
> Mike
> 
> -----Original Message-----
> From: Mike Bonar [mailto:[EMAIL PROTECTED] 
> Sent: Monday, April 23, 2007 4:58 PM
> To: 'JMeter Developers List'
> Subject: RE: Updated Eclipse build doc for jmeter
> 
> 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
> 
> -----Original Message-----
> From: Mike Bonar [mailto:[EMAIL PROTECTED] 
> Sent: Monday, April 23, 2007 4:34 PM
> To: 'JMeter Developers List'
> Subject: RE: Updated Eclipse build doc for jmeter
> 
> I took out that duplicate entry, and added the missing common.lang jar from
> /lib.  That cleared the errors.  Now I just have 382 warnings to deal with
> ;-)
> 
> So, here's the process.  
> 
> - Check out branch 2.2
> - rename eclipse.classpath to .classpath
> - <classpathentry kind="output" path=""/> to <classpathentry kind="output"
> path="lib/ext"/> 
> - added external javamail jars
> - added commons-lang jars from /lib
> 
> That got me to where there are no more stop icons in eclipse.
> 
> -----Original Message-----
> From: Mike Bonar [mailto:[EMAIL PROTECTED] 
> Sent: Monday, April 23, 2007 4:15 PM
> To: 'JMeter Developers List'
> Subject: RE: Updated Eclipse build doc for jmeter
> 
> Adding that line gives this response:
> 
> Severity and Description      Path    Resource        Location
> Creation Time Id
> Build path contains duplicate entry: 'src/protocol/ldap' for project jmeter
> jmeter        Build path      1177362884296   22125
> 
> 
> 
> -----Original Message-----
> From: Casey O'Neill [mailto:[EMAIL PROTECTED] 
> Sent: Monday, April 23, 2007 3:21 PM
> To: JMeter Developers List
> Subject: Re: Updated Eclipse build doc for jmeter
> 
> Do you have this line?
> 
> <classpathentry kind="src" path="src/protocol/ldap"/>
> 
> On 4/23/07, Mike Bonar <[EMAIL PROTECTED]> wrote:
>> Okay, adding the javamail jar got me down to 11 errors.  What's this one?
>>
>> Severity and Description        Path    Resource        Location
>> Creation Time   Id
>> The import org.apache.commons.lang cannot be resolved
>> jmeter/src/protocol/ldap/org/apache/jmeter/protocol/ldap/sampler
>> LDAPExtSampler.java     line 40 1177357316093   21994
>>
>> Mike
>>
>> -----Original Message-----
>> From: Casey O'Neill [mailto:[EMAIL PROTECTED]
>> Sent: Monday, April 23, 2007 2:09 PM
>> To: JMeter Developers List
>> Subject: Re: Updated Eclipse build doc for jmeter
>>
>> This is my working classpath for re-2-2
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <classpath>
>>     <classpathentry kind="src" path="xdocs"/>
>>     <classpathentry kind="src" path="src/jorphan"/>
>>     <classpathentry kind="src" path="src/protocol/mail"/>
>>     <classpathentry kind="src" path="src/protocol/http"/>
>>     <classpathentry kind="src" path="src/protocol/jdbc"/>
>>     <classpathentry kind="src" path="src/core"/>
>>     <classpathentry kind="src" path="src/functions"/>
>>     <classpathentry kind="src" path="src/protocol/ftp"/>
>>     <classpathentry kind="src" path="src/protocol/java"/>
>>     <classpathentry kind="src" path="src/protocol/jms"/>
>>     <classpathentry kind="src" path="src/components"/>
>>     <classpathentry kind="src" path="src/monitor/model"/>
>>     <classpathentry kind="src" path="src/protocol/tcp"/>
>>     <classpathentry kind="src" path="src/reports"/>
>>     <classpathentry kind="src" path="test/src"/>
>>     <classpathentry kind="src" path="src/examples"/>
>>     <classpathentry kind="src" path="src/junit"/>
>>     <classpathentry kind="src" path="src/monitor/components"/>
>>     <classpathentry kind="src" path="src/protocol/ldap"/>
>>     <classpathentry kind="con" path="
>> org.eclipse.jdt.launching.JRE_CONTAINER
>> "/>
>>     <classpathentry kind="lib" path="lib/avalon-framework-4.1.4.jar"/>
>>     <classpathentry kind="lib" path="lib/batik-awt-util-1.6.jar"/>
>>     <classpathentry kind="lib" path="lib/bsf-2.4.0.jar"/>
>>     <classpathentry kind="lib" path="lib/commons-codec-1.3.jar"/>
>>     <classpathentry kind="lib" path="lib/commons-collections-3.2.jar"/>
>>     <classpathentry kind="lib" path="lib/commons-httpclient-3.1-rc1.jar"/>
>>     <classpathentry kind="lib" path="lib/commons-jexl-1.1.jar"/>
>>     <classpathentry kind="lib" path="lib/commons-lang-2.3.jar"/>
>>     <classpathentry kind="lib" path="lib/commons-logging-1.1.jar"/>
>>     <classpathentry kind="lib" path="lib/excalibur-datasource-1.1.1.jar"/>
>>     <classpathentry kind="lib" path="lib/excalibur-instrument-1.0.jar"/>
>>     <classpathentry kind="lib" path="lib/excalibur-logger-1.1.jar"/>
>>     <classpathentry kind="lib" path="lib/excalibur-pool-1.2.jar"/>
>>     <classpathentry kind="lib" path="lib/htmllexer-2.0-20060923.jar"/>
>>     <classpathentry kind="lib" path="lib/htmlparser-2.0-20060923.jar"/>
>>     <classpathentry kind="lib" path="lib/jakarta-oro-2.0.8.jar"/>
>>     <classpathentry kind="lib" path="lib/jCharts-0.7.5.jar"/>
>>     <classpathentry kind="lib" path="lib/jdom-1.0.jar"/>
>>     <classpathentry kind="lib" path="lib/js_rhino1_6R5.jar"/>
>>     <classpathentry kind="lib" path="lib/junit.jar"/>
>>     <classpathentry kind="lib" path="lib/logkit-1.2.jar"/>
>>     <classpathentry kind="lib" path="lib/soap.jar"/>
>>     <classpathentry kind="lib" path="lib/Tidy.jar"/>
>>     <classpathentry kind="lib" path="lib/xalan.jar"/>
>>     <classpathentry kind="lib" path="lib/xercesImpl.jar"/>
>>     <classpathentry kind="lib" path="lib/xml-apis.jar"/>
>>     <classpathentry kind="lib" path="lib/xpp3_min-1.1.3.4.O.jar"/>
>>     <classpathentry kind="lib" path="lib/xstream-1.2.1.jar"/>
>>     <classpathentry kind="lib" path="lib/bsf.jar"/>
>>     <classpathentry kind="lib" path="lib/javax.jms.jar"/>
>>     <classpathentry kind="lib" path="lib/mail.jar"/>
>>     <classpathentry kind="output" path="lib/ext"/>
>> </classpath>
>>
>>
>> On 4/23/07, Mike Bonar <[EMAIL PROTECTED]> wrote:
>>> I can't seem to get the classpath to work.  I've tried configuring the
>>> build
>>> path manually, and I've tried renaming eclipse.classpath to
>> .classpath.  I
>>> still get 19767 errors.
>>>
>>> I have checked out 2.2 from /branches/rel-2.2.  I assume that is the
>>> correct
>>> release since there are a few references on the wiki indicating that
>> trunk
>>> is dated.
>>>
>>> I'm not a big Eclipse user.  I have used it for java and python coding,
>>> but
>>> only for very small projects.
>>>
>>> Severity and Description        Path    Resource        Location
>>> Creation Time Id
>>> _saveConfig cannot be resolved
>>> jmeter/src/core/org/apache/jmeter/saveOldSaveService.java       line 128
>>> 1177348463656   6244
>>>
>>> That's the first error.
>>>
>>> Mike
>>>
>>> -----Original Message-----
>>> From: Casey O'Neill [mailto:[EMAIL PROTECTED]
>>> Sent: Monday, April 23, 2007 12:22 PM
>>> To: JMeter Developers List
>>> Subject: Re: Updated Eclipse build doc for jmeter
>>>
>>> It worked for me or at least got me close enough to where I figure out
>> the
>>> rest. What problems are you having?
>>>
>>>
>>> On 4/23/07, Mike Bonar <[EMAIL PROTECTED]> wrote:
>>>> Does anyone have an updated doc for setting up Eclipse 3.2 to work
>> with
>>>> jmeter 2.2?  I've tried the various wiki's, and they are a bit out of
>>>> date,
>>>> it seems to me.
>>>>
>>>> Mike
>>>>
>>>>
>>>>
>>>> Michael Bonar
>>>> Senior Consultant
>>>> VelocityTesting.com
>>>> [EMAIL PROTECTED]
>>>> 204-795-7175
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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]
> 
> 
> 

- --
 André van Hoorn
 Birkenweg 21
 D-26725 Emden

 Telefon:  +49 (4921) 954231
 E-Mail:   [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGLbF+LKwmE5jzZmkRAq79AJ9huUtU57rUZcdCJctbKxgHPtn12wCfXPmj
Hw7Kl+udCsAieqy+oj4LPUc=
=XPG4
-----END PGP SIGNATURE-----

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

Reply via email to