Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using Jython with M2Eclipse

I currntly use M2Eclipse for the majority of my Java development and Pydev for Python/Jython development within Eclipse. I would like to use Jython to prototype and test classes within my Java projects. The M2Eclipse plugin manages all the dependencies defined in the Maven pom.xml file automatically.

Is there anyway for Pydev to utilise these dependencies without having to import each jar separately?

like image 508
Martin Avatar asked Oct 21 '09 17:10

Martin


1 Answers

Actually, I didn't get how you are working with Jython under Eclipse and where you need to import jars separately. Is this related to Pydev? Something else? Anyway, even if I'm not sure it will solve all your issues, maybe the maven-jython-plugin can help. It offers the following features:

  • Easily fire up an interactive Jython shell
  • Compile main Jython source files to Java classes
  • Compile test Jython source files to Java classes
  • Inferred package structure to make life simpler
like image 100
Pascal Thivent Avatar answered Oct 03 '22 08:10

Pascal Thivent