You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by ja...@apache.org on 2005/03/06 21:44:40 UTC

[Apache JMeter Wiki] Updated: JMeterAndEclipse

   Date: 2005-03-06T12:44:40
   Editor: PeterLin
   Wiki: Apache JMeter Wiki
   Page: JMeterAndEclipse
   URL: http://wiki.apache.org/jakarta-jmeter/JMeterAndEclipse

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -13,6 +13,7 @@
     * Dec 12 2002 - The first release
 
 Abstract
+
 This document describes briefly how to develop the JMeter project with Eclipse IDE. Eclipse is a very powerful development environment with following features:
 
     * It's fast! Although it's written in JAVA like many other development platforms, it doesn't use SWING, which is big and slow; it uses an especially created SWT widget toolkit instead. This tookit doesn't emulate widgets in java, but it uses native system widgets (GTK on linux), which improves performance substantially.
@@ -29,7 +30,7 @@
 
 Eclipse is available for download for different platforms at http://www.eclipse.org
 
-"Multiple Workspaces"
+Multiple Workspaces
 
 Most Eclipse formatting settings are managed at the workspace level. If you work on other projects in addition to JMeter, you probably don't want the JMeter formatting to apply to your other projects. One way to manage this is to set up multiple Eclipse workspaces -- one for JMeter, and one (or more) for other projects. To use multiple workspaces, simply start eclipse with the "-data" parameter:
 
@@ -37,7 +38,28 @@
 
 You could also create a batch file, shell script, or Windows shortcut to automatically specify the workspace so you don't have to type it each time.
 
-"Setting up JMeter + Eclipse"
+Setting up JMeter + Eclipse
+
 I assume you downloaded Eclipse IDE and have it working.
 
-"Accessing CVS"
+Accessing CVS
+
+   1.  Open the CVS perspective with  and  buttons
+   2. Invoke the popup menu and select "New"|"repository location"
+   3. Fill appropriate entries as pictured below, entering anoncvs as a password.:
+   4. You should see the apache cvs tree as pictured below. Unfold HEAD, select jakarta-JMeter and then select "Check Out as ..." from the pop-up menu
+   5. Select "JAVA project", and give a name for the project in next dialogs. I will assume I it is is named jmeter-pserver for the rest of this document.
+   6. Wait for the cvs checkout to complete
+
+Setting up paths
+
+After the checkout you'll see something like this:
+
+It means you have the source paths improperly installed. To set them up, do the following:
+
+   1. Close this project
+   2. Copy the jmeter-pserver/eclipse.classpath file to jmeter-pserver/.classpath (you will have to overwrite the jmeter-pserver/.classpath file eclipse created for you
+   3. Open the project again
+   4. Now the source folders and jar libraries are mounted properly
+
+NOTE: There are some optional libraries JMeter depends on. This setup defines exclusion filters for all the classes that need optional libraries (you would get compiler errors from Eclipse otherwise). Remove these exclusion filters if you have optional libraries installed. For further details refer to jmeter-pserver/eclipse.readme)

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