goomph icon indicating copy to clipboard operation
goomph copied to clipboard

Support gradle buildship

Open moley opened this issue 6 years ago • 2 comments

Hi,

I tried the addProjectFolder() method to import projects. I work with buildship plugin, so I don't have eclipse plugin in my projects applied and I do not have a .project file created. This is somehow created by buildship plugin importing the project as gradle project. It would be nice if one could import a project without having a .project file before.

Cheers Markus

moley avatar Oct 28 '19 11:10 moley

I'm not a buildship expert, but I think it slurps the project structure entirely from the build.gradle, so none of Goomph's standard-project-import stuff will work. For this usecase, Goomph is helpful for setting up an IDE with the right installed components, but the IDE will start off empty, and you'll have to manually import the project on first usage.

To make this entirely automatic, you'd need to create subclass of SetupAction (which runs inside the generated IDE on startup to call the custom Buildship import API), and then add the action to the installation inside of ConventionBuildship. I'd be happy to merge a PR for this, but would be a tricky job. Probably not many LOC, but each line will be tricky.

nedtwigg avatar Oct 28 '19 19:10 nedtwigg

Related: #87 and #15.

nedtwigg avatar Oct 28 '19 19:10 nedtwigg

EquoIDE implemented this in

  • https://github.com/equodev/equo-ide/pull/76

nedtwigg avatar Feb 28 '23 23:02 nedtwigg