Read and respond to this message at:
I've been using PyDev for creating ginder scripts (grinder.sourceforge.net).
I'm running the latest version of PyDev Extensions on Eclipse 3.3
When I add a jar (grinder.jar) to the project's python path it enables code
completion for the grinder java packages.
A list of packages pops up nicely as I type...
However, I don't seem to be able to import objects from these packages?
from net.grinder.script.Grinder import <Ctrl+Space> brings up nothing?
If I manually fill in the line:
from net.grinder.script.Grinder import grinder
The object "grinder" will cause an error, this is a static public variable within
the "Grinder" class...
Similarly, when calling methods from a Grinder class I also get an error:
from net.grinder.plugin.http import HTTPPluginControl, HTTPRequest
connectionDefaults = HTTPPluginControl.getConnectionDefaults() #Static Method
httpUtilities = HTTPPluginControl.getHTTPUtilities() #Static Method Call
Any ideas why this happens?
It does not seem to happen with the standard java packages?
I've also tried adding "grinder.jar" to the System PYTHONPATH as opposed to
the Project PYHTONPATH but it acts the same way...
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: