Import a JMeter (ant) project into Eclipse Juno

I am trying to do something with JMeter code, and I have some kind of stupidity.
I installed Eclipse Juno, I installed Ant and extracted the JMeter code from SVN, it compiles perfectly from the command line. The problem is when I try to import a JMeter Ant project into Eclipse. In the package explorer, I choose: New/Project...
Then I select Java/Java Project from existing Ant Build File , next
I specify the JMeters file: build.xml , click Finish
It looks like the import was successful, but I only see two source folders: core and jorphan . There should be much more than at least 12 directories.

So what am I doing wrong? Or How to fix it?

+1
source share
1 answer

I usually do the following:

  • in eclipse, checkout jmeter from svn

  • add a java object for the project by changing the .project file (create another java project and copy the contents of the .project

      <projectDescription> <name>jmeter</name> <comment></comment> <projects> </projects> <buildSpec> <buildCommand> <name>org.eclipse.jdt.core.javabuilder</name> <arguments> </arguments> </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> </natures> </projectDescription> 
  • Copy eclipse.classpath to .classpath

  • call ant download_jars

What he

+2
source

All Articles