Git Product home page Git Product logo

Comments (6)

BoykoAlex avatar BoykoAlex commented on April 27, 2024

Think it makes sense. Can you please submit a JIRA for this enhancement? (Would be nice if you could attach a sample project to the JIRA)

On May 28, 2014, at 5:17, romix [email protected] wrote:

I have the following setup:

N Gradle (root )projects A1..An, each imported in Eclipse as a separate project
Some of the Gradle projects are dependent on artifacts (JARs) produced by other projects (they depend on snapshot versions), e.g. A1 is dependent on the artifact A2-SNAPSHOT.jar produced by A2.
When I change sources in A2 and add e.g. a new method, I'd like to be able to directly use this new method in A1, i.e. with autocompletion, etc. But today it is not possible, because this change is invisible to Eclipse. One should first build and locally deploy the artifact produced by A2. And only then Eclipse detects the change in the JAR and is able to provide autocompletion and so on.

It would be nice, if Eclipse could detect this kind of changes automatically without requiring a dedicated build/local deploy step. It would be much more convenient and less error-prone.

Idea: I can imagine that this feature would work, if the Eclipse project for A1 would depend on the Eclipse project for A2 (and with current Gradle Plugin and Gradle tooling it always depends on the JAR produced by A2 and therefore changes are not detected automatically). So, a possible solution could be that Gradle plugin detects that a given JAR is produced by a given Eclipse Gradle project and adds the dependency on that project automatically in the Eclipse project configuration.

What do you think?


Reply to this email directly or view it on GitHub.

from eclipse-integration-gradle.

thomasj003 avatar thomasj003 commented on April 27, 2024

Just took the liberty to do that --> https://issuetracker.springsource.com/browse/STS-3837 as I would love to see that feature in place as well.

Note: romix and me don't know each other, just seem to have the same problems / ideas ;)

from eclipse-integration-gradle.

romix avatar romix commented on April 27, 2024

@thomasj003 Thanks a lot for submitting a JIRA issue for this enhancement! You saved my time.

from eclipse-integration-gradle.

thomasj003 avatar thomasj003 commented on April 27, 2024

You might want to vote on the issue to show that more people are interested :)

from eclipse-integration-gradle.

romix avatar romix commented on April 27, 2024

Done

from eclipse-integration-gradle.

kdvolder avatar kdvolder commented on April 27, 2024

Duplicate of: https://issuetracker.springsource.com/browse/STS-2834

from eclipse-integration-gradle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.