Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » how to run python script to generate Eclipse project
how to run python script to generate Eclipse project [message #1849848] Fri, 04 February 2022 15:39 Go to next message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1269
Registered: July 2009
Senior Member
I am trying to implement an automated Eclipse IDE setup for the Gerrit project.
Gerrit uses bazel [1] to build [2] and a python script project.py [3] to generate the .project and .classpath files for Eclipse [4].

How can I run this python script from an Oomph task so that I can import the resulting Eclipse project into the IDE?

thanks
-Matthias

[1] https://bazel.build
[2] https://gerrit-review.googlesource.com/Documentation/dev-bazel.html
[3] https://gerrit.googlesource.com/gerrit/+/refs/heads/master/tools/eclipse/project.py
[4] https://gerrit-review.googlesource.com/Documentation/dev-eclipse.html
Re: how to run python script to generate Eclipse project [message #1849855 is a reply to message #1849848] Fri, 04 February 2022 18:36 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6683
Registered: July 2009
Senior Member
I have no experience with Python, but I think your best chance is Oomph's "Launch" task. You'd author a regular External Tool Launch Configuration and persist it in the clone. For paths to external executables such as a Python interpreter Isuggest to use the "String Substitution" task, perhaps in combination with a prompted "Variable" task. You should test the launch config manually first. Then declare the Launch task in your setup file.

Previous Topic:Not able to add Github Project at Catalog
Next Topic:Installing JavaFX SDK via oomph
Goto Forum:
  


Current Time: Tue May 07 11:02:24 GMT 2024

Powered by FUDForum. Page generated in 5.04074 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top