|
Re: Gradle integation? [message #1714350 is a reply to message #1714264] |
Thu, 12 November 2015 06:02 |
|
Hi Axel,
No, we don't ship a GradleImportTask, yet. Ned Twigg asked Gradle-related questions on our dev mailing list
(https://dev.eclipse.org/mhonarc/lists/oomph-dev/msg00064.html ). I think he was actually asking for advice to implement
the opposite direction, i.e., use Oomph's resolver and bundle pool in Gradle. But he's essentially building up
Oomph+Gradle knowledge. So I'm going to ask him to join this discussion and share his thoughts...
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Am 11.11.2015 um 20:53 schrieb Axel von Engel:
> Hello everyone :)
>
> I just recently discovered Oomph and tried to setup a project model for a project which consists of <10 gradle
> projects hosted on an enterprise github server.
> I figured out how to install the eclipse gradle integration plugin I want (buildship) using the P2 director task.
> Since we did not check the .project & .classpath files into our git repository, I would now have to run the Gradle
> import wizard via Oomph.
>
> Is this possible, yet? I did not see any such task in the project model editor and also could not find anything
> related on the net.
>
> Cheers
> Axel
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: Gradle integation? [message #1714355 is a reply to message #1714350] |
Thu, 12 November 2015 07:08 |
Ned Twigg Messages: 9 Registered: April 2013 |
Junior Member |
|
|
If I understand your end goal, I think there are two routes to accomplish it.
1) Oomph master - the user runs Oomph, it checks out their code, and creates their projects (in which case you need GradleImportTask)
2) Gradle master - the user runs Gradle, it uses Oomph to provision a workspace and create their projects (in which case you still need something like GradleImportTask, but now you've got Gradle's scripting language to build a quick shortcut in the meantime).
In the same way that documentation and code-quality warnings are a build artifact, I think a working IDE should be a build artifact, and Oomph gives us the power to do that. The other nice thing about Gradle master is that it's a viral mechanism for the Eclipse ecosystem. If your project happens to be open source, your contributors could use whatever IDE they wanted, but Eclipse would be very easy to get started with.
For the immediate future, there's no way to do Gradle master fully (but I'm working on it here, so you can watch and/or contribute if you'd like. I'm knowledgeable about Gradle plugins and the various OSGi/P2 workarounds people are using in Gradle right now, but I'm a total noob w.r.t. Oomph. I'm hoping to find a collaborator who is knowledgeable about Oomph and wants to have a hack day to get Goomph started. Drop me a line if you're interested
|
|
|
Re: Gradle integation? [message #1714569 is a reply to message #1714350] |
Fri, 13 November 2015 15:40 |
Eclipse User |
|
|
|
Hi Axel,
i had the same problem: you can try my import task at
https://github.com/herkne/buildship-import-4-oomph - its in a "works
for me" state and maybe still has some bugs.
Best regards,
Hermann
> Hi Axel,
>
> No, we don't ship a GradleImportTask, yet. Ned Twigg asked
> Gradle-related questions on our dev mailing list
> (https://dev.eclipse.org/mhonarc/lists/oomph-dev/msg00064.html ). I
> think he was actually asking for advice to implement the opposite
> direction, i.e., use Oomph's resolver and bundle pool in Gradle. But
> he's essentially building up Oomph+Gradle knowledge. So I'm going to
> ask him to join this discussion and share his thoughts...
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>
> Am 11.11.2015 um 20:53 schrieb Axel von Engel:
>> Hello everyone :)
>>
>> I just recently discovered Oomph and tried to setup a project model for
>> a project which consists of <10 gradle projects hosted on an enterprise
>> github server.
>> I figured out how to install the eclipse gradle integration plugin I
>> want (buildship) using the P2 director task. Since we did not check the
>> .project & .classpath files into our git repository, I would now have
>> to run the Gradle import wizard via Oomph.
>>
>> Is this possible, yet? I did not see any such task in the project model
>> editor and also could not find anything related on the net.
>>
>> Cheers
>> Axel
|
|
|
|
Powered by
FUDForum. Page generated in 0.04129 seconds